New issue
Advanced search Search tips

Issue 604290 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Jun 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Chrome cancels XHR/fetch requests intermittently and no event is called

Reported by kra...@gmail.com, Apr 18 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36

Example URL:
Variaous URLs. Mostly tested with AWS endpoints

Steps to reproduce the problem:
Not sure there is exact steps to reproduce, as it happens intermittently
1. Create XHR/Fetch
2. Repeatedly call several the sequence of endpoints
3. At some point request is cancelled 

What is the expected behavior?
Receive onerror and/or onabort event

What went wrong?
Nothing is triggered in JavaScript. Neither of attached handlers (onerror/onabort/ontimeout) is called when request is cancelled. 'onloadend' also is not triggered.

Did this work before? N/A 

Chrome version: 50.0.2661.75  Channel: stable
OS Version: Ubuntu 15.10
Flash Version: Shockwave Flash 21.0 r0

I have digged into net-internals and always see that:
https://gyazo.com/9644aca295b5b8aaf5884fabd33e212b

There is HTTP_STREAM_PARSER_READ_HEADERS followed by CANCELLED statement. Timings [dt] are always different.
 
Components: Blink>Loader
Unfortunately cancelled requests are usually out of the network stack's control. I suspect this is a loader issue.

Is this reproducible in any way with a local webserver or an external resource you can provide us?
Components: -Internals>Network Blink>Network>XHR

Comment 3 by kra...@gmail.com, Apr 18 2016

My further investigation showed that cancellation was triggered by WebWorker termination. However, I am not calling terminate() anywhere in my code. So, seems llike a webworker failure
Components: -Blink>Network>XHR -Blink>Loader Blink>Workers
Thanks for investigating. I'll add the webworker label. Can you share the details of your investigation?

Comment 5 by falken@chromium.org, May 27 2016

Labels: Needs-Feedback
krassx@ can you address comment 4?
Project Member

Comment 6 by sheriffbot@chromium.org, Jun 26 2016

Status: Archived (was: Unconfirmed)
No feedback was received in the last 30 days from reporter "krassx@gmail.com", so archiving this. Please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment