.Net 8 Core Blazor API calls work in development environment. Deployed to server and API call do not fire

Lopez, Carlos 0 Reputation points
2024-07-29T13:06:39.7+00:00

Looks like the API call is timing out. I tested the call using postman and got a 200 OK Status but took 42 seconds. Any suggestions on what or where I should be looking at?

User's image

User's image

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,596 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 66,706 Reputation points
    2024-08-02T17:09:59.7033333+00:00

    Most likely your api is returning the error page instead of a 500 error or the login page instead of a 401 error. In any case the request is not valid.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.