ipify-api icon indicating copy to clipboard operation
ipify-api copied to clipboard

Network Errors with Axios in Instagram WebView on iPhone (Mobile Safari UI/WKWebView)

Open wrenzi opened this issue 5 months ago • 0 comments

Hi everyone,

I'm experiencing frequent Network Error when using Axios to fetch data from the ipify API within Instagram's WebView on iPhone (Mobile Safari UI/WKWebView).

Here’s the code snippet I’m using: const response = await axios.get('https://api.ipify.org?format=json');

I'm implementing a retry mechanism, but I suspect this won’t fully resolve the issue. Has anyone encountered similar behavior or know what might be causing this? Any suggestions on how to address it would be greatly appreciated!

Thanks in advance for your help.

wrenzi avatar Sep 06 '24 14:09 wrenzi