搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Firefox isn't redirecting when it gets a HTTP 302

  • 7 回覆
  • 10 有這個問題
  • 205 次檢視
  • 最近回覆由 cor-el

more options

After filling out a simple form on this page: https://bitdango.com/register/email

The page should redirect to this page: https://bitdango.com/register/verify

Instead nothing happens. The browser simply doesn't redirect.

I have tried both relative and fully qualified URLs in the "Location" property of the redirect, neither are working.

Why is the browser not redirecting? Users are starting to use Chrome instead of Firefox because of this.

After filling out a simple form on this page: https://bitdango.com/register/email The page should redirect to this page: https://bitdango.com/register/verify Instead nothing happens. The browser simply doesn't redirect. I have tried both relative and fully qualified URLs in the "Location" property of the redirect, neither are working. Why is the browser not redirecting? Users are starting to use Chrome instead of Firefox because of this.

被選擇的解決方法

Glad you resolved the problem. More on SPDY at https://en.wikipedia.org/wiki/SPDY .

To avoid other people encountering this problem, I suggest you report this as a bug through https://bugzilla.mozilla.org/.

從原來的回覆中察看解決方案 👍 0

所有回覆 (7)

more options

For info, it just worked for me, redirecting me to the relevant page. I'm using Firefox 26.0.

more options

It seems to work half the time. It is not consistent, which is making it hard to troubleshoot.

Half the time the call to: https://bitdango.com/register/verify

works and the other 1/2 the time it doesn't work. When it doesn't work no response is shown in the "Network" section of the debug tool. When it does work I see a HTTP Header that I wonder about:

X-Firefox-Spdy: "2"

Not sure if that has anything to do with it?

more options

Have you tried using an external network debug tool such as the free Fiddler? That will allow you to see the HTTP traffic associated with your browsing and may shed some light.

more options

So I changed the network.http.spdy.enabled from true to false. Now redirects are working as expected.

Need to learn more about what SPDY is and expectations for working with websites, etc...

more options

選擇的解決方法

Glad you resolved the problem. More on SPDY at https://en.wikipedia.org/wiki/SPDY .

To avoid other people encountering this problem, I suggest you report this as a bug through https://bugzilla.mozilla.org/.

more options

Additional info: although the redirection worked for me, I have network.http.spdy.enabled set to true.

Full settings:

network.http.spdy.allow-push;true network.http.spdy.chunk-size;4096 network.http.spdy.coalesce-hostnames;true network.http.spdy.enabled;true network.http.spdy.enabled.v2;true network.http.spdy.enabled.v3;true network.http.spdy.persistent-settings;false network.http.spdy.ping-threshold;58 network.http.spdy.ping-timeout;8 network.http.spdy.push-allowance;65536 network.http.spdy.send-buffer-size;131072 network.http.spdy.timeout;180

more options

I get this response headers:

HTTP/1.1 302 OK
Server: nginx
Date: Mon, 30 Dec 2013 14:03:17 GMT
Content-Type: text/html; charset=utf-8
Content-Length: 133
Cache-Control: private
Location: /register/verify
X-Firefox-Spdy: 2

Note that the X-Firefox-Spdy header is an entry that is generated by Firefox to show whether SPDY and which version was used, so it isn't send by the server.

Is it possible that there was another problem (e.g. the CAPTCHA) that prevented the redirect.