为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Random HTTPS image not displaying and being aborted

more options

This is a file that has some images displayed from my site:

https://polishwords.com.pl/dev/testAbort2.php

They are provided by HTTP and they work ok.

But in this file:

https://polishwords.com.pl/dev/testAbort.php

I show the same images but via HTTPS not HTTP and every time i refresh page (CTRL+F5) one, random, of images is not displayed and in network console it displays on red with information: aborted.

I've tried it in Chrome, Internet Explorer and Opera and everything is ok. Only in latest Firefox. I've tried with removed all privacy, restarted several times, updated FF, disabled addons, disabled extensions and its the same. Other person who has FF also reported to me the same situation.

In my server log it looks like this:

Bad load:

[22/Mar/2013:23:29:11 +0100] "GET /images/mukonczeniestudiow.jpg HTTP/1.1" 200 6705 "-" "Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0"

Good load:

[22/Mar/2013:23:30:41 +0100] "GET /images/mukonczeniestudiow.jpg HTTP/1.1" 200 6907 "https://polishwords.com.pl/dev/testAbort.php" "Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0"

What is the cause of this behaviour?

This is a file that has some images displayed from my site: https://polishwords.com.pl/dev/testAbort2.php They are provided by HTTP and they work ok. But in this file: https://polishwords.com.pl/dev/testAbort.php I show the same images but via HTTPS not HTTP and every time i refresh page (CTRL+F5) one, random, of images is not displayed and in network console it displays on red with information: aborted. I've tried it in Chrome, Internet Explorer and Opera and everything is ok. Only in latest Firefox. I've tried with removed all privacy, restarted several times, updated FF, disabled addons, disabled extensions and its the same. Other person who has FF also reported to me the same situation. In my server log it looks like this: Bad load: [22/Mar/2013:23:29:11 +0100] "GET /images/mukonczeniestudiow.jpg HTTP/1.1" 200 6705 "-" "Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0" Good load: [22/Mar/2013:23:30:41 +0100] "GET /images/mukonczeniestudiow.jpg HTTP/1.1" 200 6907 "https://polishwords.com.pl/dev/testAbort.php" "Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0" What is the cause of this behaviour?

被采纳的解决方案

Hi tomaszs, based on your log, your webserver is receiving and responding to the request, but the smaller response size suggests there is some kind of glitch. Can you spot any pattern there?

Unfortunately, I'm no expert on web servers, and I find encrypted traffic very challenging to view -- using a debugging proxy can bypass the problem you're trying to diagnose by managing the connection(s) differently.

There probably is some documentation on when Firefox aborts the request for a particular element...

定位到答案原位置 👍 1

所有回复 (8)

more options

I can replicate the problem, too.

The most obvious difference in your server logs is the referring URL, but I don't think that is required, or the server wouldn't send the other images.

Maybe the difference between HTTP and HTTPS indicates a problem with the encryption/decryption process? Is this problem new in Firefox 19?

more options

You can check the network.http.* prefs on the about:config page.
Reset network.http prefs to the default value via the right-click context menu -> Reset if they are user set (bold).

Start Firefox in Safe Mode to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).

  • Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
more options

@jscher2000 Thanks for replication. I'm really not sure. I have this for some months, but lately it is more often. Is there a way to debug encryption/ decryption?

@cor-el I have default values in network.http.*. I've tried Safe Mode, it also is the same. I'll try disable hardware now. I've tested it in default theme and disabled hardware acceleration and effect is still the same.

由tomaszs于修改

more options

I set up a page with 20 image links on my server and I do not get the same problem. Can you try this page?

https://www.jeffersonscher.com/photos/loadtest.php

more options

@jscher2000 Thank you for creating this page. I've tested it and i don't get aborts. So it's not Firefox... but what it can be than?

more options

选择的解决方案

Hi tomaszs, based on your log, your webserver is receiving and responding to the request, but the smaller response size suggests there is some kind of glitch. Can you spot any pattern there?

Unfortunately, I'm no expert on web servers, and I find encrypted traffic very challenging to view -- using a debugging proxy can bypass the problem you're trying to diagnose by managing the connection(s) differently.

There probably is some documentation on when Firefox aborts the request for a particular element...

more options

Thanks @jscher for help. I've contacted with admin of my website. He found that some odd configuration in slowloris did this thing. He disabled it so now it seems everything came back to normal. Thanks again.

more options

Thanks for reporting back. It's a bit distressing that the server configuration saw Firefox as creating undesirable connections, but the other browsers were fine. Hopefully not an issue for too many sites.