FetchEvent error results in a network error response: the promise was rejected - laravel

When I load my test site (Laravel/Vue) I'm getting the alert:
The FetchEvent for "http://127.0.0.1:8000/index.php" resulted in a
network error response: the promise was rejected.
Other posters here with a similar problem usually had a service worker involved, so I turned off that part of the code and cleared the caches - but the problem remained.
My first problem is that I just don't know where to look to try and find the source of the problem. How do I find the FetchEvent for ...index.php?
Thanks/Tom

Related

DatafileManager: Error fetching datafile: Request error

Problem
I'm using Optimizely to code-gate my new website. But the allowed accounts aren't getting through. The first Firefox console error is
[OPTIMIZELY] - ERROR <timestamp> DatafileManager: Error fetching datafile: Request error
How do I fix this error and fetch the data file?
DatafileManager: Error fetching datafile: Request error
One of the network failures helped me out. The GET request for cdn.optimizely.com had "Blocked by AdBlocker Ultimate" in the Transferred column.
Solution
I turned off AdBlocker Ultimate for this site.

IIS 10 Failed Request 500 - General_Request_Start Failed To Complete

I'm trying to understand why after deployment my server is returning 500 - Internal server error for a simple GET request that checks the server's status which is supposed to return 200 (when I run it locally with unit tests I wrote, it works fine). I retrieved the failed request log, but can't quite seem to understand what the problem is.
In several events the severity column shows: Failed To Complete
The Request summary shows:
These are the Errors and Warnings shown:
Does anyone know why I might be getting theses errors, or why I might be getting a 500 Internal Server error response?
I will add that I already have a GET request that is working:
https://myalertsserver.cloudapp.net/providers/management/alerts which returns 200.
and when I try:
https://myalertsserver.cloudapp.net/providers/status I get a 404 Error.
It seems to me like it has to do with something in the configuration, but I can't seem to understand what.
Thanks in advance.

express graphql always sends 500 Internal server error for any thrown error from resolver

I am using express graphql in my node app . and it graphql always sends 500 Internal server error for any thrown error from resolver. Please suggest any solution so i will get proper response and status code
The express-graphql sends the HTTP error 500 whenever detects there is no data returned. Definitely, in case of exception is thrown there won't be a returning data. Although it looks like an obvious bug the developers have their own opinion on that. They seemed to decide providing an option to disable the feature so that the server shouldn't set the 500 error. At least the open issue on that is still there.
Checking out the sources I've found these options to get around the problem:
To set any other response code than 200 (e.g. 299 (custom)) in your resolver.
To set the response code in your error formatting handler. This seems to be the most optimal solution.
Just to pick up some other library =)

IE 11 Issue: :SCRIPT7002: XMLHttpRequest: Network Error 0x2eff

I'm facing the below error in IE 11, I'm calling a webapi, though webapi response is coming fine but also getting the below error on console:
SCRIPT7002: XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff.
Please give any suggestion, what could be the root causes of this error, I'm not getting this error in other browsers (Chrome and Firefox)
You've said that the error occurs when you call a webapi.
As far as I'm concerned, maybe this due to a large amount of data to transfer.
When you handle large data with single ajax request, it may make the browser crashing.
For more about the error,you may refer to the similar thread.
IE11 HTTPS AJAX XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff

OpenURI::HTTPError Exception: 500 Internal Server Error

Unable to open URL "http://www.diretaimoveisbh.com.br//Resultado.asp?nTransacao=V&vid_tipoimovel=&vId_bairro=&pagina=11" with open-uri, It keeps throwing error "OpenURI::HTTPError Exception: 500 Internal Server Error", I searched everywhere but didnt got any solution.
Please help If anyone here know how to resolve that issue.
Thanks in advance.
If you get a 500 back from the server, something is really broken somewhere, probably on the server. Maybe the URL is broken too.
Expect issues retrieving the data you want unless you receive a 200 back from the server. 200 code means everything you expect should be there, 4xx or 5xx code is something completely different, see for more info.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
In the meantime, you may try/catch the exception, but keep in mind, its most likely not going to contain anything (except maybe error information) in the payload until its returning a 200.

Resources