Open Closed

CORS request did not succeed #658


User avatar
0
lstsair created
  • ABP Framework version: v4.0
  • UI type: Blazor
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I build the project using ABP Suite, set DBMigrator as startup project, build and run complete with no error. When I set Blazor as startup project and run the application in firefox, the message CORS error is show as

"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://localhost:44380/api/abp/api-definition. (Reason: CORS request did not succeed)."

How to fix the error ?

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    I think your request was blocked by the browser, You can manually nav to https://localhost:44380/api/abp/api-definition and refresh Blazor page

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    lstsair created

    I still not able to fix the problem, how to unblock the browser

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi

    I can remotely check it by zoom today. (UTC +8) shiwei.liang@volosoft.com

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.