Skip to content

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

@wrenzi

Description

@wrenzi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions