net::ERR_CONNECTION_CLOSED
Reported by
raghu.me...@gmail.com,
Oct 20 2016
|
||||||
Issue description
Chrome Version : 54.0.2840.59
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari 5:
Firefox 4.x:
IE 7/8/9:
What steps will reproduce the problem?
1.From my application, when ajax calls are made, sporadically receiving the net::ERR_CONNECTION_CLOSED error.
What is the expected result?
Should invoke the URL and get results
What happens instead of that?
Browser blocks the URL with net::ERR_CONNECTION_CLOSED error.
Please provide any additional information below. Attach a screenshot if
possible.
UserAgentString: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
,
Oct 21 2016
Hi Attached the net-internals log file for further analysis. When this error occurs, Browser is not sending the request out so obviously server cant send any response.
,
Oct 21 2016
Looks like we're establishing an encrypted HTTP2 connection, sending a request for /assets/img/icon-default.png, and then the server is closing the connection on us. I assume the "description = ABANDONED (stream_id=1): ..." just means we're mad that the server hung up on us, though I defer to those who know more about HTTP2 on that.
,
Oct 21 2016
There are four abandoned streams in the netlog from comment #2. On HTTP2_SESSION 29192, streams 65, 67, and 69 are opened by the client, but the server never sends any frames on them. The server sends a GOAWAY on this connection with last accepted stream id = 63. There is no information about why the server sends the GOAWAY frame. On HTTP2_SESSION 229878, Chrome only opens one stream, with id 1. It receives a SETTINGS frame and a WINDOW_UPDATE frame from the server. Then the connection is closed with ERR_CONNEcTION_CLOSED, which could be a network error, like TCP reset. I think the next step would be to get some server side debugging, as mentioned in comment #1.
,
Oct 21 2016
Reset would be ERR_CONNECITON_RESET, no?
,
Oct 21 2016
Re #5: Oops, you are right.
,
Oct 23 2016
Hi, Thanks for your response. The same flow is working fine from mozilla firefox browser, I am wondering how this is possible if server is closing the connection. Firefox would be using http1.1? Best Regards, Raghu
,
Oct 23 2016
Could be any number of things - they could be talking HTTP/1.1 instead of HTTP/2, the server could be doing different things when it talks to FireFox (Maybe it likes their SSL handshake more, so random connections don't die). Maybe FireFox has retry logic that is tickled in this case, for whatever reason.
,
Oct 23 2016
It could also be that the server doesn't like the H2 settings we send, some somesuch, though they do seem to work for other requests...And they also work for the exact same request that failed, a littler later, when the same URL is re-requested, and the second request looks exactly like the first one. Could also be the FireFox makes the requests close enough together to reuse the same socket (We make a couple requests, the server closes the socket, and we make a new one 10 milliseconds later to request another file. It could either be how short that duration is that's triggering some DoS protection, or just that since FireFox always requests things before the initial socket is closed, it never runs into issues trying to reconnect).
,
Oct 31 2016
Thank you for providing more feedback. Adding requester "nharper@chromium.org" for another review and adding "Needs-Review" label for tracking. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 31 2016
,
Mar 13 2017
Cleaning up "Needs-Review" label as we are not using this label for triage anymore. Ref bug for this cleanup 684919
,
Mar 15 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by nhar...@chromium.org
, Oct 20 2016Labels: Needs-Feedback