New issue
Advanced search Search tips

Issue 917781 link

Starred by 2 users

Issue metadata

Status: Unconfirmed
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

webrequest. false onErrorOccurred call in redirect chain (302 -> 200)

Reported by golish...@gmail.com, Dec 25

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Steps to reproduce the problem:
1. Install attached extension
2. go to https://unite4buy.ru/goto/9771/
3. check background page console output. you can see onErrorOccurred event fired up.

What is the expected behavior?
webrequest hooks chain ends up with onCompleted event with status code 200

What went wrong?
webrequest hooks chain ends up with onErrorOccurred. when page actually loads correctly.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 71.0.3578.98  Channel: stable
OS Version: 10.0
Flash Version: 

Not all redirect end up with false onErrorOccurred.
 
chrome_test_ext.zip
973 bytes Download
correct_output_linux_v69.log
13.8 KB View Download
wrong output_windows_v71.log
8.0 KB View Download
Labels: Needs-Triage-M71
Cc: viswa.karala@chromium.org
Labels: Triaged-ET Needs-Feedback
Unable to reproduce the issue on chrome reported version# 71.0.3578.98 using Windows-10 with steps mentioned below:
1) Launched chrome reported version and installed the extension provided in comment# 0
2) Navigated to URL: https://unite4buy.ru/goto/9771/
3) Opened background page console output, seen onCompleted event with status code 200

@Reporter: Please find attached screencast for your reference and let us know if we missed anything in reproducing the issue, provide your feedback on it which help in further triaging it. Try to test this issue by creating new person with no apps and extensions in it and let us know if the issue still persists.

Thanks!
917781.mp4
1.9 MB View Download
You are doing things right.
Some tests.
Test case 1:
Working windows profile. Working chrome 71. I've disabled all other extensions.
Result - getting OnErrorOccured event.
Test case 2:
The same windows profile. The same browser, but in incognito mode with enabled test_extension.
Result - no errors events, got onCompleted with code 200.
Test case 3:
The same windows profile. New clean chrome beta v72 with installed test_extension.
Result - no errors events, got onCompleted with code 200.
Test case 4:
New windows profile. New clean stable chrome browser v71.
Result - no errors events, got onCompleted with code 200.

I not exactly undestand what could be cause of error event. 
I'm not the only user who faced with the problem. Some other user experinces the same problem.

what can cause event like this? as i mentioned, all extensions except test_extesion are disabled.

error: "net::ERR_ABORTED"
frameId: 0
fromCache: false
method: "GET"
parentFrameId: -1
requestId: "521"
tabId: 22
timeStamp: 1545839219030.478
type: "main_frame"


Project Member

Comment 4 by sheriffbot@chromium.org, Dec 26

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
pls try to test link
https://unite4buy.ru/goto/10481/

yesterdays morning our extension was broken only on link goes to gearbest.com, couple of hours later i'm facing with the same problem on aliexpress.com, I did not attach importance that facts.

But now, i've updated chrome from 69 to 71 on my linux machine and start experiencing this problem on again.

Link from start comment works ok, on linux machine, link from this comment generate onErrorOccured in extension console.
The way you describe the matter is really very very impressive, but after following the https://antiviruschatsupport.co/norton-support/ blog still did not get the solution, so if you have any answer then please reply fast.

Hello guys, do u need any assistance? can u reproduce an issue? last link https://unite4buy.ru/goto/10481/ (witch follows us to gearbest) gives me the same result on all my test cases.
1)Working windows profile. Working chrome 71. I've disabled all other extensions.
2)The same windows profile. The same browser, but in incognito mode with enabled test_extension.
3)The same windows profile. New clean chrome beta v72 with installed test_extension.
4)New windows profile. New clean stable chrome browser v71.

result the same - getting OnErrorOccured event while page actually loads perfectly.
Cc: cduvall@chromium.org
Components: Platform>Extensions>API
Were you running with the Network Service enabled?

Try disabling it using chrome://flags/#network-service and see if the problem still reproduces.
1) default value - problem reproduces
2) disabled - problem reproduces
3) enabled - stuck on 
onBeforeRedirect
https://pafutos.com/g/2316b8f856ba0145a47f22af2ed61b/?ulp=https%3A%2F%2Fru.gearbest.com%2Fcell-phones%2Fpp_009644663565.html%3Fwid%3D1349303&subid=ru&subid1=1bbed886-26da-4214-9125-f8384eda1f18&subid4=other
302

instead of onCompleted

in every case page loads correctly.

record_000002.mkv
8.2 MB Download

Sign in to add a comment