New issue
Advanced search Search tips

Issue 657755 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

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



 
Components: Internals>Network
Labels: Needs-Feedback
Can you provide a net-internals log of when you get this error? Instructions are at https://dev.chromium.org/for-testers/providing-network-details.

Assuming you have access to the server where this is happening, is the server seeing the request Chrome is sending? Is the server sending a valid response to the request that Chrome has a ERR_CONNECTION_CLOSED error for?
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.

Comment 3 by mmenke@chromium.org, Oct 21 2016

Components: -Internals>Network Internals>Network>HTTP2
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.

Comment 4 by b...@chromium.org, 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.

Comment 5 by mmenke@chromium.org, Oct 21 2016

Reset would be ERR_CONNECITON_RESET, no?

Comment 6 by b...@chromium.org, Oct 21 2016

Re #5: Oops, you are right.
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

Comment 8 by mmenke@chromium.org, 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.

Comment 9 by mmenke@chromium.org, 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).

Project Member

Comment 10 by sheriffbot@chromium.org, Oct 31 2016

Labels: -Needs-Feedback Needs-Review
Owner: nhar...@chromium.org
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
Owner: ----
Labels: -Needs-Review
Cleaning up "Needs-Review" label as we are not using this label for triage anymore. Ref bug for this cleanup 684919
Project Member

Comment 13 by sheriffbot@chromium.org, Mar 15 2018

Status: Archived (was: Unconfirmed)
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