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

[BUG]error [AxiosError: Network Error] #22

Open
15975019972 opened this issue Sep 24, 2024 · 9 comments
Open

[BUG]error [AxiosError: Network Error] #22

15975019972 opened this issue Sep 24, 2024 · 9 comments

Comments

@15975019972
Copy link

OpenIM Server Version

3.7.1

Operating System and CPU Architecture

macOS (ARM)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

error [AxiosError: Network Error]
LOG [AxiosError: Network Error]
image

Screenshots Link

No response

@lgz5689
Copy link
Member

lgz5689 commented Sep 24, 2024

Please check whether your service has been successfully deployed

@15975019972
Copy link
Author

Please check whether your service has been successfully deployed

服务器配置没有问题,使用http://xxxxxx:11001/#/chat,能注册成功,但是使用rn app就提示我网络错误

@15975019972
Copy link
Author

image

@15975019972
Copy link
Author

image
用postman 测试还是可以请求到了

@lgz5689
Copy link
Member

lgz5689 commented Sep 24, 2024

You can try writing a request and sending it to baidu.com and other websites to see if there is a problem with the simulator network

@15975019972
Copy link
Author

你使用ip地址试试看,我怀疑是使用ip地址是会提示网络错误。是否是因为ip地址的问题,要替换域名形式
image

@lgz5689
Copy link
Member

lgz5689 commented Sep 24, 2024

Not sure about your server deployment and network Settings, it seems to be a problem on your side

@lgz5689
Copy link
Member

lgz5689 commented Sep 24, 2024

You try to access the normal api with a data response, so I suspect a server side issue

@15975019972
Copy link
Author

我将我线上域名给你,因为是按照官网的形式部署的,我使用postman可以请求到数据,但是使用模拟器axios提示网络错误,我找不到原因。最直接我能找到是因为域名和ip地址的区别

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