Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React Native Network Request Failed when services are deployed through intranet #33617

Closed
kafeelkhatri opened this issue Apr 12, 2022 · 3 comments
Labels
Needs: Triage 🔍 Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@kafeelkhatri
Copy link

Description

I am facing issues while consuming apis that are deployed on a server internally in department. I tried in ReactJS web application, got same issue but i resolved that by using a proxy domain. But the same thing is not resolving the issue in React Native.

Services endpoints are map through DNS by creating vhost on server machine. My endpoint is like: https://abc.domain.com/api/...

Can anyone help me out resolving this issue. I have been trying all a long way out but nothing positive is coming out.

Thanks.

Version

1.0

Output of npx react-native info

[email protected] C:\Program Files\nodejs\node_modules\npm

Steps to reproduce

When i call API through fetch or axios i get result network request failed.
My services are deployed to different machine and endpoints are provided DNS Vhost

Snack, code example, screenshot, or link to a repository

No response

@github-actions
Copy link

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 17, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Triage 🔍 Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants