Failed to load resource: net :: ERR_EMPTY_RESPONSE http://test.com

Im working on a chrome extension that sends XMLHttpRequest to a URL, receives a JSON response, parses the response and shows a list of entries. His work is wonderful. The problem is when the user performs some action and returns to the listing section, the system follows the same process that sends the XMLHttpRequest request, but every time I get this answer:

Failed to load resource: net::ERR_EMPTY_RESPONSE http://test.com

The first time I download the extension, everything works fine, after which the above error is always displayed.

This is an extension of two HTML pages. One for entry and another for listing. Im using ajax to switch divs based on the results.

Now the weird part. So far, only 3 of my users have. Two of them have mac and one 8.1 window. For all other users, it works great.

+5
source share
1 answer

I ran into the same problem. I developed a very intensive AJAX application that works fine on the local host. Using an identical machine to test the site in real time (hosted by GoDaddy), the button click to activate the AJAX function is interrupted.

If I press the button several times and see what happens in the developer’s tools, I see Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.  the symbol marked as "(unsuccessful)":

enter image description here

, , , . , , , - 1 ​​ . , , , . -, , - "ON", - . , , , , . , reset .

, , . , - .

, - , DDOS- ( AJAX), / . ( ) .

0

Source: https://habr.com/ru/post/1531525/


All Articles