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

Geting Network Error #3

Open
metizror opened this issue May 12, 2021 · 1 comment
Open

Geting Network Error #3

metizror opened this issue May 12, 2021 · 1 comment

Comments

@metizror
Copy link

When I enter the user name its redirects to my channel list but showing the msg network error and also channel is not created due to this issue.

Screenshot_2021-05-12-18-28-59-457_com react_native_twilio_chat

@muhamadjawad
Copy link

The problem may occur when your device and PC/Laptop are on different network i.e Different IPs.
try changing
axios.get(http://localhost/token/${username}`).then((twilioUser) => { toaxios.get(http://{your computer IPV4}:3001/token/${username}).then((twilioUser) => {`
in api-service.js
This solved my issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants