Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1506

React Native Axios get response Skipped and Status Code 0

$
0
0

I got a problem with my react native app. while accessing API, I get a response Skipped and status code 0. it's shown by using reactotron to log the api response, but when I console.log the error, it just only says:

"Error: Network Error".

It happens with HTTP and HTTPS. But it depends on my network too. When I use cellular data and my home WiFi, it's able to access the API, but when I use my office WiFi, sometimes it gives the error and sometimes it's success to be accessed. I don't know where's the problem, is it from react native configuration or the Back End (REST API).

This is the screenshot of reactotron log:

enter image description here

and this is the screenshot of console.log(error):

enter image description here


Viewing all articles
Browse latest Browse all 1506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>