New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 765672 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Network Preview/Response tab "Failed to load response data" after Page Refresh

Reported by doh...@gmail.com, Sep 15 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36

Steps to reproduce the problem:
1. Open Network tab of DevTools
2. Select Preserve Log
3. Load any web page to populate Network tab
4. Refresh the page
5. Select any request from the initial page load (before the refresh)
6. Open the Preview and/or Response tabs
6a. Replay the XHR
6b. Save the HAR file for the request

What is the expected behavior?
1. Have the response data from the request to inspect/view.
2. A new XHR request is made using the same request properties
3. The response in the HAR should be the exact response from the original request

What went wrong?
1. The Preview and Response tabs display "Failed to load response data"
2. Nothing seems to happen; no errors, no new request is made
3. After saving the HAR of a "stale" request, the response seems to be a "fresh copy" from the server, which may not be the same as the response at the time the request was made

Did this work before? N/A 

Chrome version: 61.0.3163.91  Channel: stable
OS Version: OS X 10.12.6
Flash Version: 

I am fairly certain that this used to work before; maybe a month or two ago. 

In my day-to-day workflow, I have to work with XHR requests that trigger a change in the webpage (either a refresh, or a redirect to another page). After the page change, I would need to inspect the response of the XHR request(s) for accuracy or reference.

The data under the Headers, Cookies, and Timing tabs are still there. Only the Preview and Response tabs are now empty.
 

Comment 1 by gov...@chromium.org, Sep 15 2017

Cc: pbomm...@chromium.org ranjitkan@chromium.org
Labels: Needs-Triage-M61 M-61
Cc: keerthan...@techmahindra.com
Labels: Triaged-ET Needs-Feedback
Checked the issue on reported version 61.0.3163.91 and on latest canary 63.0.3220.0 on Mac 10.12.6 with the mentioned steps:

1.Opened devtools on a webpage[Eg: https://blog.hubspot.com/blog/tabid/6307/bid/34006/15-examples-of-brilliant-homepage-design.aspx]
2. Navigated to Network tab and checked preserve log and clicked on XHR and reloaded the page and selected the request. 
3. Then refreshed the webpage and got new entries in XHR. But, ""Failed to Load Response data"" error message is not seen. 

@Reporter: Could you please check this issue by creating a new profile without any apps and extensions and please let us know if the issue still persist or not. Please check the same on latest canary and reply to this comment [https://www.google.com/chrome/browser/canary.html]. Attaching screen cast for reference, please check it and let us know if anything is missing from our end.

Thanks!

765672.mp4
2.0 MB View Download

Comment 3 by doh...@gmail.com, Sep 21 2017

@keerthan, yes if I have previously selected one or more responses before the page refreshes/changes, then the data from those specific responses are retained.

While I was not explicitly clear on it in my original report, the issue is that responses that were never selected/viewed are the ones that cannot be loaded after a page change event. 

It should also be noted that you *must* have looked at either the Response or Preview tab to have the data retained -- simply viewing the Headers is not enough.

My goal with this issue would be that Chrome retains all data about a request (i.e., response data) when "Preserve log" is checked, whether it's been viewed or not by the user, so that it is accessible at any time during the current DevTools session.
Project Member

Comment 4 by sheriffbot@chromium.org, Sep 21 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "keerthana.v@techmahindra.com" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: sc00335...@techmahindra.com
Components: -Platform>DevTools Platform>DevTools>Network
Labels: -M-61 M-63 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue with steps mentioned in comment#3 on reported version 61.0.3163.91 and on latest canary 63.0.3225.0 using Ubuntu 14.04 and Windows 10 and Mac 10.12.6
i.e; Failed to Load Response data message is seen in preview section if previous entries are not opened after reload/change. Attaching screencast for reference.

This issue is seen from M50.[50.0.2166.0].Hence considering this as Non-regression and marking this as Untriaged.

Thanks!!
Issue 765672.mp4
1.4 MB View Download

Comment 6 by alph@chromium.org, Oct 10 2017

Owner: allada@chromium.org
Status: Assigned (was: Untriaged)
I can easily reproduce it on webkit.org
Owner: eostroukhov@chromium.org

Comment 8 by doh...@gmail.com, Dec 14 2017

It should also be noted that this happens in the console tab as well with objects that have details -- output of console.dir() and console.trace() for example. 
Owner: jarhar@chromium.org

Sign in to add a comment