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 ?


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team 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

  • User Avatar
    0
    lstsair created

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

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi

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

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07