This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

firefox connection was reset error for a long request

more options

I have a web service api which takes 5 minutes to respond a JSON response message. In firefox (version 32.0.3), I get a "The connection was reset" error after 2 to 3 minutes. When I call my call my API in Chrome, there is no error and I get the intended response after 5 minutes. I have tried the following without any luck: 1. tweaking timeout values in about:config 2. clearing browser caches 3. setting "No proxy" in network settings 4. disabling ad-ons and starting in safe mode.

I have a web service api which takes 5 minutes to respond a JSON response message. In firefox (version 32.0.3), I get a "The connection was reset" error after 2 to 3 minutes. When I call my call my API in Chrome, there is no error and I get the intended response after 5 minutes. I have tried the following without any luck: 1. tweaking timeout values in about:config 2. clearing browser caches 3. setting "No proxy" in network settings 4. disabling ad-ons and starting in safe mode.

All Replies (5)

more options

Is this a new problem in Firefox 32?

Firefox 29 introduced this preference:

network.http.response.timeout = 300

300 seconds = 5 minutes

So that one should allow enough time.

What did you try tweaking?

more options

I tweaked network.http.response.timeout to 500 and then to 1000 too, still I get "The connection was reset" after anywhere between 2 to 3 minutes in firefox. However, chrome completes the request.

more options

Could you test with some earlier versions of Firefox to see whether this is a recently introduced change? To do that without disturbing your main installation, you can download unofficial stand-alone ("portable") packages of older versions of Firefox from here: http://sourceforge.net/projects/portableapps/files/Mozilla%20Firefox%2C%20Portable%20Ed./

more options

I tried it with Firefox 29 and even 22, still after 3 minutes it just gives a connect reset. Also, to provide more context, I am making a REST API call whih takes 5 minutes to respond. When I deploy the application on localhost, it (firefox) does not give a connect reset error and completes. But, when I deploy it on a remote server, it gives this error.

more options

This secret knowledge might be too obscure for this particular forum. Could you post the problem on StackOverflow and tag it Firefox?

http://stackoverflow.com/questions/tagged/firefox