failed to execute 'send' on 'xmlhttprequest'
See original GitHub issuehi, while trying to work with remote debugging (#562 and #571) i upgraded to rn 0.32 and now i’m seeing this when enabling the remote debugging:
Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://192.168.1.178:8082/create_session'.
i understand there’s some issues with remote debugging. the ip address is the ip of the android device
Issue Analytics
- State:
- Created 7 years ago
- Reactions:18
- Comments:28 (4 by maintainers)
Top Results From Across the Web
NetworkError: Failed to execute 'send' on 'XMLHttpRequest'
I had this problem literally a few minutes ago. The problem is that you need to set async:false to async:true .
Read more >Error: Failed to execute 'send' on 'XMLHttpRequest' #126
I do know that when the browser gives you such a vague message ("Failed to execute 'send'") instead of a more specific HTTP...
Read more >Failed to execute 'send' on 'XMLHttpRequest' - IT Handyman
Once again I came across a strange issue on one of our client's websites. Their website is being placed in the iFrame on...
Read more >Failed to load '/api/portal/setlogouttimer': Synchronous XHR in ...
DRZNZ-14007 Error : Failed to execute 'send' on 'XMLHttpRequest': Failed to load '/api/portal/setlogouttimer': Synchronous XHR in page dismissal. Summary.
Read more >NetworkError : Failed to execute 'send' on XMLHttpRequest'
NetworkError : Failed to execute ' send' on XMLHttpRequest ':Follow Instagram ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My guess is as follows. Running on a device and debugging fails because normally
adb forward tcp:8082 tcp:8082
takes care of the correct redirection from device to host. Because you are debugging from chromehttp://<ip-address>:8082/create_session
is an invalid url.I changed the following lines in
node_modules/realm/lib/browser/rpc.js
to
And now everything works fine (even when not debugging remotely) I hope this helps
react-native link realm doesn’t fix this issue