title: How to solve the network error on axios api call?
body: <p>I am not sure why the network error occurs for some of the users  I got this error on sentry and some users email me about this. </p>
  
  <p><a href="https://i.stack.imgur.com/guWZB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/guWZB.png" alt="enter image description here"></a></p>
  
  <p>Few other errors are too on the sentry for the same API call. </p>
  
  <p>Error: Request aborted</p>
  
  <p>Error: timeout of 0ms exceeded</p>
  
  <p>Here is the code that fetches IP Address</p>
  
  <pre><code>const getIp = async () =&gt; {
          const getIpAddr = await axios.get('https://api.ipify.org?format=json');
          setIp(getIpAddr.data.ip);
  };
  </code></pre>
  
  <p>Is this issue related to CORS or any way to solve this error? For some of the users, it works fine.</p>