Network request failed with only: CANCELLED, ERR_FAILED
Reported by
is...@superhuman.com,
Apr 4 2017
|
|||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 Steps to reproduce the problem: For our user: 1. Go to mail.superhuman.com 2. Attempt to sign in This is reproducible for him 100% of the time on his windows machine (but not on his osx machine), we had him try restarting chrome, the machine, using a new chrome profile, and disabling all extensions. What is the expected behavior? The request succeeds with 200. What went wrong? Our user is seeing a problem where a sign in request to our backend is failing. - The request is a POST request to our backend - The request is never reaching our backend (according to our logs) - In the console they are seeing "net::ERR_FAILED" - We asked for a new internals logs, and for the request in question there is only: ``` 192162: URL_REQUEST Start Time: 2017-04-03 19:04:50.375 t=10383 [st= 0] +REQUEST_ALIVE [dt=2690] t=13073 [st=2690] CANCELLED --> net_error = -2 (ERR_FAILED) t=13073 [st=2690] -REQUEST_ALIVE ``` In the network internals logs attached, the requests are 192162 and 192174. I'd be happy to also send my own net internals log of the same reproduction steps for comparison (if needed). Did this work before? N/A Does this work in other browsers? Yes Chrome version: 57.0.2987.133 Channel: stable OS Version: 56.0.2924.87 Flash Version:
,
Apr 4 2017
@svaldez I'll ask them to try with http2 disabled, it's their home computer so it might be end of day before they get back to me.
,
Apr 6 2017
Both 192162 and 192174 don't have any information. How can you know that these are the problematic requests? > - The request is a POST request to our backend > - The request is never reaching our backend (according to our logs) Can you tell me the URL of "the request"?
,
Apr 6 2017
@yhriano I think those are the problematic requests based on: 1. Their adjacency to related requests (doing the same action on my machine, the sign_in request is in the same area). 2. The fact that his console shows the sign_in request failing and then not finding it within the network requests. IS it common for network requests to not have information? The url is "https://mail.superhuman.com/~backend/auth/sign_in?idToken=..." Also, more news! He tried to sign in with http2 disabled, and it looks like there's more information on the request: `--> delegate_blocked_by = "RedirectToFileResourceHandler"`. See 1155 in the attached net internals log.
,
Apr 6 2017
Forgot to attach it :)
,
Apr 7 2017
1155: URL_REQUEST https://mail.superhuman.com/~backend/auth/sign_in?idToken=... Start Time: 2017-04-06 22:52:09.028 t=1404 [st= 0] +REQUEST_ALIVE [dt=5084] --> priority = "MEDIUM" --> url = "https://mail.superhuman.com/~backend/auth/sign_in?idToken=..." t=1404 [st= 0] +DELEGATE_INFO [dt=5084] --> delegate_blocked_by = "RedirectToFileResourceHandler" t=6488 [st=5084] CANCELLED --> net_error = -2 (ERR_FAILED) t=6488 [st=5084] -REQUEST_ALIVE
,
Apr 7 2017
dmurph@, is it the same issue as issue 673478?
,
Apr 7 2017
yhirano@, it seems I don't have permission to view 673478, can you tell me what it pertains to (or give me permission)? If there's something we can change in the network request to resolve this, I'd be happy to deploy and see if it fixes it.
,
Apr 7 2017
Yes. And it looks like it doesn't have anything to do with blobs.
,
Apr 13 2017
> islam@
Do you know how the request to the url ("https://mail.superhuman.com/~backend/auth/sign_in?idToken=...") is sent?
I think it is a XMLHttpRequest with "blob" responseType?
Is this correct?
If so, this issue may be caused by a full disk error.
,
Apr 13 2017
yes - actually if cccleaner fixed it, I'm guessing the temp directory is full. The blobs urls are NOT released by this website, so I'm 90% sure that this is happening. One solution will be to move the blobs here to the user directory / partition and add them to the blob quota for files. This will still result in the same issue if the blobs urls are not released.
,
Apr 13 2017
We are using an xhr with responseType of blob. I'll push a change to responseType in the next few days and find out if it resolves the issue for our user.
,
Apr 13 2017
Thank you for providing more feedback. Adding requester "horo@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 13 2017
Also, sorry, I mixed up bugs here. Questions here are: Do you create URLs from these blobs? Do you release these urls? Do you keep these blobs around? Can you have the user experiencing save their about://blob-internals page? Looking for anything that has a status of ERR_* The blob responseType saves a file to the user's disk, so yes if it's a full disk then it won't work.
,
Apr 13 2017
,
Apr 13 2017
The blobs from XHR are created for a fetch polyfill. We create a Response object from the blobs and typically we call `response.json()` sometime later. In two cases the responses have `response.blob()` called and an object url is created. In those two cases we do call `revokeObjectURL`, but might be leaking some. Finally, in a chrome extension we also get blobs from CacheStorage and call `createObjectURL` without revoking it. The blobs from the XHR are not used beyond that. I'll ask the user about the about://blob-internals page. Thank you!
,
Apr 13 2017
Attaching the content of blob-internals -- doesn't look like there's anything with an error status...
,
Apr 17 2017
Do you know if those users have a full, or nearly full, harddisk?
,
Apr 18 2017
Hi, I'm the user. No, my disks are pretty free.
,
May 2 2017
,
May 2 2017
Hm... so based on the info here, it looks like since the request asks for a blob, we have a RedirectToFile handler. And you're saying that the request never hits the server, so for some reason that handler is failing the request early. This points to something being weird in the network stack maybe?
,
May 16 2017
dmurph: Can you please route this to the right folks?
,
May 18 2017
,
May 19 2017
This is a network stack issue. Removing myself as owner.
,
May 24 2017
Scoping down to one specific component to avoid falling into the trap of responsibility diffusion. #22 hints at Internals>network. Please bounce back if the component is incorrect.
,
May 25 2017
Given that ccleaner fixes it, a full temp directory seems likely to be the culprit. Is there anything we can do about this?
,
May 25 2017
Blocked on moving the blob xhr storage directory to the new user partition directory we use for paging.
,
May 26 2017
,
May 26 2017
Moving out of the triager queue until the parent is resolved.
,
May 26 2017
,
Apr 25 2018
With servicification, this path is being completely rewritten. |
|||||||||||||||
►
Sign in to add a comment |
|||||||||||||||
Comment 1 by svaldez@chromium.org
, Apr 4 2017