Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome:POST/OPTIONS requests Fails with net::ERR_TIMED_OUT

The OPTION/POST Request is failing inconsistently with a console Error as err_timed_out. We get the issue inconsistently, it's only observed sometimes. Otherwise the request gets proper response from the back end. When it's timing out, the request doesn't even reach the server.

I have done some research on the stuff and found that due to maximum 6 connections to a resource restrictions it may wait for getting a connection released. But, I don't see any other requests pending ,all the other requests were completed.

In the timeline I can always see that it stalled for 20.00 seconds. Most of the time the time is same. But, it only shows that its been stalled for some time nothing else in the timeline.

The status of the request shows failed ERR_Connection_Timed_Out. Please help.

The Network Timing

enter image description here

Console Error

enter image description here

like image 251
Divya MV Avatar asked May 12 '15 11:05

Divya MV


2 Answers

I've seen this issue when I use an authenticated proxy server and usually a refresh of the page fixes it.

Are you using an authenticated proxy server where you are seeing this behavior? Have you tried on a pc with direct access (i.e. without proxy) to the Internet?

like image 59
S.Krishna Avatar answered Oct 09 '22 05:10

S.Krishna


I've got the same problem when I choose another ISP. I thought I would have only to put my new ID and password, but it wasn't the case. I have an ADSL modem with a dry loop.

All others services were fine (DNS resolution, IP telephony, FTP, etc).
I did a lot of tests (disable firewall, try some others navigator, try under Linux, modem default factory, etc) none of those tests were successful.

To resolve the problem ERR_TIMED_OUT, I had to adjust the MTU and MRU values. I put 1458 rather than 1492, which is the default value. It works for me. Maybe some ISPs use different values. Good luck.

like image 42
pmarois Avatar answered Oct 09 '22 07:10

pmarois