System proxy changes isn't detected
Categories
(Core :: Networking, defect)
Tracking
()
People
(Reporter: test8421, Unassigned)
Details
Attachments
(1 file)
|
4.30 MB,
application/octet-stream
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0
Steps to reproduce:
Set up system proxy.
Open firefox.
Turn off system proxy and turn on again.
Actual results:
Any webpage doesn't go through the system proxy.
Expected results:
Firefox detect I have turned on the system proxy again and load webpages through it.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•5 years ago
|
||
I guess the reason is that firefox uses the already existed connection to connect to websites after the system proxy is enabled again.
If you use shift reload the page, the newly connection should be able to go through the proxy.
Could you check if this is correct?
If not, could you try to capture the http log?
Thanks.
(In reply to Kershaw Chang [:kershaw] from comment #2)
I guess the reason is that firefox uses the already existed connection to connect to websites after the system proxy is enabled again.
If you use shift reload the page, the newly connection should be able to go through the proxy.
Could you check if this is correct?
If not, could you try to capture the http log?Thanks.
Sorry, I've tried again and there's one more step to reproduce the bug:
Set up system proxy.
Open firefox.
Turn off system proxy.
**Open another page without proxy.
Turn on system proxy again.
Whether I hold shift to reload the page or not, the problem persists.
I've also tried both global and PAC proxing, and the problem always occurs.
I can provide a log later, please wait a moment, thanks!
This is an exact log of the bug. Please review, thanks again!
Comment 5•5 years ago
|
||
Thanks for the log.
Unfortunately, the log shows that there was no http request use proxy to connect. It seems that the proxy was not working at the beginning.
However, I did find one interested thing in the log. There were multiple requests trying to connect to http://127.0.0.1:1080/pac?hash=NZzK8TbsQYsVVsfcsK-LYA2&secret=Q8zt9OYeWqyX15iRGdT8jV7Znlf6sf_0famnrLaUzq81, which I think are the requests used to download pac. But, all of these requests failed. It seems the server just closes the connection since that read() returned 0 byte.
So, could you check if the local pac server works well? In system proxy settings, if you use manual proxy settings, can you still reproduce this issue?
I've checked the local server works well.
If I change the setting manually, I still can't connect at the beginning, but everthing works normal after I refresh several times.
I'm using https://github.com/shadowsocks/shadowsocks-windows as my proxy, and I'm not sure whether it's the proxy's problem. I've also tried chromium and the problem doesn't occur.
Anything more I can help?
Update:
It seems I'm not the first to encounter the problem: https://github.com/shadowsocks/shadowsocks-windows/issues/2346
If I reset the proxy setting of firefox to none, and switch it back, everything works normal again.
So I'm kind of sure this is firefox's problem?
Sorry! I was wrong.
The problem only occurs when I use shadowsocks and firefox at the same time.
If I use another proxy software, there isn't a problem.
But I still wonder why the problem will occur...
Sorry...
I can't reproduce the bug any more after I make a clear install of the 2 software.
Thanks for your help!
Comment 10•5 years ago
|
||
(In reply to test8421 from comment #9)
Sorry...
I can't reproduce the bug any more after I make a clear install of the 2 software.
Thanks for your help!
Thanks!
Description
•