What does "pending" mean for request in Chrome Developer Window?

139,234

Solution 1

In my case, I found that the "pending" status was caused by the AdBlock extension. The image that I couldn't get to load had the word "ad" in the URL, so AdBlock kept it from loading.

Disabling AdBlock fixes this issue.

Renaming the file so that it doesn't contain "ad" in the URL also fixes it, and is obviously a better solution. Unless it's an advertisement, in which case you should leave it like that.

Solution 2

I also get this when using the HTTPS everywhere plugin. This plugin has a list of sites that also have https instead of http. So I assume before the actual request is made it is already being cancelled somehow.

So for example when I go to http://stackexchange.com, in Developer I first see a request with status (terminated). This request has some headers, but only the GET, User-Agent, and Accept. No response as well.

Then there is request to https://stackexchange.com with full headers etc.

So I assume it is used for requests that aren't sent.

Solution 3

I had some problems with pending request for mp3 files. I had a list of mp3 files and one player to play them. If I picked a file that had already been downloaded, Chrome would block the request and show "pending request" in the network tab of the developer tools.

All versions of Chrome seem to be affected.

Here is a solution I found:

player[0].setAttribute('src','video.webm?dummy=' + Date.now());

You just add a dummy query string to the end of each url. This forces Chrome to download the file again.

Another example with popcorn player (using jquery) :

url = $(this).find('.url_song').attr('url');
pop = Popcorn.smart( "#player_",  url + '?i=' + Date.now());

This works for me. In fact, the resource is not stored in the cache system. This should also work in the same way for .csv files.

Solution 4

I had the same issue on OSX Mavericks, it turned out that Sophos anti-virus was blocking certain requests, once I uninstalled it the issue went away.

If you think that it might be caused by an extension one easy way to try and test this is to open chrome with the '--disable-extensions flag to see if it fixes the problem. If that doesn't fix it consider looking beyond the browser to see if any other application might be causing the problem, specifically security apps which can affect requests.

Solution 5

The Network pending state on time, means your request is in progressing state. As soon as it responds the time will be updated with total elapsed time.

This picture shows the network call is in processing state(Pending) This picture shows the network call is in processing state(Pending)

This picture shows the time taken in processing by network call. This picture shows the time taken in processing by network call

Share:
139,234

Related videos on Youtube

Lawrence I. Siden
Author by

Lawrence I. Siden

I am a full-stack developer. I've done a lot of both front-end and back-end work in a variety of platforms and environments. Now I do most of my work in Python.

Updated on July 08, 2022

Comments

  • Lawrence I. Siden
    Lawrence I. Siden almost 2 years

    What does "Pending" mean under the status column in the "Network" tab of Google Chrome Developer window?

    This happens when my page script issues a GET request whose response contains content-headers for downloading a CSV file:

    Content-type: text/csv;
    Content-Disposition: attachment; filename=myfile.csv
    

    This works fine in FF and IE7, downloading a CSV file as expected and opening a file picker to save the file, but Chrome does nothing. I confirmed that the server responds to the request, so it appears that Chrome will not process the response.

    Curiously, all works as expected if I type the URL into Chromes address bar and hit .

    FYI: Chrome 10.0.648.204 on Win-XP

    • Jack M.
      Jack M. about 13 years
      I have a similar issue with javascript files. jQuery libraries are not loading properly and causing problems.
    • Andy Smith
      Andy Smith almost 12 years
      Don't forget that extensions could be causing this issue - I had such a problem with including some 3rd party affiliate tracking pixel, the request was forever stuck as 'pending. Turned out I had forgotten to turn ad block off!
    • AlexMA
      AlexMA over 10 years
      Note that this question (the first sentence) still hasn't been answered. All answers below (as of today) are just "this is what caused it for me." The message is very generic and can be caused by a large number of issues. If I knew exactly what they were I would answer, but in general seems to mean that for some reason the communication is being prevented somewhere between the page and the server. By "page" I don't mean browser, browser extensions can cause this as mentioned elsewhere.
    • aruno
      aruno about 9 years
      seeing this with the current Google Chrome Canary release (v43) but not the stable Chrome release (v40) with URLS from cloudfront
  • Lior
    Lior almost 11 years
    i have the same issue, but the images always come up right on IE or FF, so it's not the network. Also, it is intermittent. Wondered if you have any new insights
  • Aras
    Aras over 10 years
    can you give a small example of how and where you change the HttpStatusCode?
  • svassr
    svassr over 9 years
    Same issue here. On FF those images load well.
  • sstn
    sstn over 8 years
    I've seen the same thing in Chrome with the TamperMonkey extension installed.
  • Juan Ruiz de Castilla
    Juan Ruiz de Castilla over 8 years
    @Robin Daugherty , the adblock extension is in server side or client side?, in client side in my case there is nothing. And pending status finish at between 1.8 min and 2.2 min... what could be wrong? poor network?.
  • Robin Daugherty
    Robin Daugherty over 8 years
    It could be any other extension that blocks the file from loading. Try using an Incognito window, where all of your extensions are disabled. (Some extension might be enabled in Incognito mode, so you should check.)
  • XVargas
    XVargas over 8 years
    I was pulling my hair out trying to figure out why my development environment (Angular & Visual Studio) was so slow. Disabling uBlock did the trick. THANKS!
  • Jayson
    Jayson almost 8 years
    Mine occurs in IE which does not support AdBlocker... :( This is an intermittent issue for me.
  • Robin Daugherty
    Robin Daugherty almost 8 years
    Perhaps you should submit a question for your specific issue, since this question is specifically about Chrome.
  • Gem
    Gem almost 6 years
    @RobinDaugherty I am using Magento 2 CMS, i am getting Status "Pending " issue, may i know what is my error. Screenshot : snag.gy/KdapDb.jpg
  • Nikolay Tsenkov
    Nikolay Tsenkov over 5 years
    I currently look at falsely-reported elapsed times. It would actually stay at pending for 4s, but would report 150ms. And that's relatively how long the server handling those requests reports (150ms that is). It's like something artificially is holding the request from resolving...
  • Kreidol
    Kreidol almost 3 years
    Is there a situation where it would be normal to see a pending status forever? I see this for a ping type request (g/collect) and am uncertain whether this is normal behavior or not. No ad blockers and I already eliminated debugging tools and VPN. Thanks!
  • Vincent
    Vincent over 2 years
    This one line "answer" makes no sense and is therefore not helpful. Please use more words.