question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No longer able to preview network response bodies after update to 0.6.0

See original GitHub issue

After the recent update to v0.6.0 I can no longer see the preview or raw response body for network responses in the network tab. I can still see all of the request and response headers being logged, but as far as response bodies go, I just see the message, ‘This request has no preview available.’ in both the ‘Preview’ and ‘Response’ tabs.

I have confirmed that, by re-installing v0.5.6, I can once again see the response bodies. If it is of any help, I am using the snippet from the documentation to enable network logging, namely:

global.XMLHttpRequest = global.originalXMLHttpRequest ? global.originalXMLHttpRequest : global.XMLHttpRequest; global.FormData = global.originalFormData ? global.originalFormData : global.FormData;

That aside, this tool is great. Thanks for making it 👍

React Native version: 0.41.2 Platform: iOS Is real device of platform: No Operating System: macOSX

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
jhen0409commented, Mar 16, 2017

It seems like related to Blob, the network inspect works fine when I remove blob response type, this problem seems to start with some Chrome version (v0.6.0 have updated Chrome version).

I think we can just delete window.Blob in debugger worker because currently react-native is not supported it, I’ll do this.

2reactions
bclynchcommented, Apr 13, 2020

Noticing same issue myself outlined by darkbasic. Turning off network debugging allows the apollo tab to work.

After a bit more tinkering, looks like toggling on Disable cache in the network tab fixes it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Network preview no longer renders html - Google Groups
After updating from version 61 to 62 the network preview tab no longer renders html. I see that a JSON issue regarding preview...
Read more >
HTTP POST payload not visible in Chrome debugger?
In Chrome Debugger->Network I can see only General, Response headers, Request headers and no form data. In Firefox I can see the whole...
Read more >
selenium-wire - PyPI
Extends Selenium to give you the ability to inspect requests made by the browser. ... If the response has no body the value...
Read more >
Release notes & updates – Azure CLI - Microsoft Learn
Learn about the latest Azure Command-Line Interface (CLI) release notes and updates for both the current and beta versions of the CLI.
Read more >
Network.HTTP.Client - Hackage
The action gets a single chunk of data from the response body, or an empty bytestring if no more data is available. Since...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found