React-native network request always fails

I had a working draft that worked for the last 3 weeks. Suddenly, out of nowhere, the selection requests stopped working.

I did not start updating or installing npm. So I lost what might be causing this.

My selection request is pretty standard. Simplified here with console.log instead of setState in the response.

fetch("https://54fd510.ngrok.io/api/v1") .then((response)=>response.json()) .then((responseData)=>{ console.log(responseData); }).done(); 

All that I get, whenever I make any request, "Network request error" with ... in the process. _sendload, setReadyState as stack trace elements.

Infact all query requests in the application do not work.

So, I tried to boil it and just created a new empty application.
Only with a button and a fetch request associated with a button. To make sure that this has nothing to do with my particular application. And this request also does not work.

So, it seems that his reaction alone does not work, it has nothing to do with my code.

No matter what I try, the network request always fails. Tried to lower and get the same.

Really lost as to where to look now.

Any ideas?

+1
networking react-native
Mar 21 '16 at 9:08
source share

No one has answered this question yet.

See similar questions:

29th
React-Native fetch, network request failed. do not use localhost

or similar:

1379
JavaScript submission request, how to submit a form
586
What is the difference between React Native and React?
568
What is the difference between using constructor and getInitialState in React / React Native?
415
React Native android build failed. SDK location not found
29th
React-Native fetch, network request failed. do not use localhost
0
React Native "fetch" returns a network error



All Articles