You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found cross-origin request returns NetworkError, but this error could be more concrete. I was about to try turning on wifi...
Browser shows some helpful message in console (that end users never see).
XMLHttpRequest cannot load http://package.elm-lang.org/packages/elm-lang/http/1.0.0/Http.
No 'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://elm-lang.org' is therefore not allowed access.
How can we get this information?
The text was updated successfully, but these errors were encountered:
Apparently this isn't possible - the browser deliberately hides this information for security reasons. If you read the steps for performing a request and the network error steps which it carries out both for a failed connection and a CORS failure, you'll see that the net outcome is that the status is set to "network error".
I found cross-origin request returns
NetworkError
, but this error could be more concrete. I was about to try turning on wifi...Browser shows some helpful message in console (that end users never see).
How can we get this information?
The text was updated successfully, but these errors were encountered: