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] the official demo runs in Docker, but the app cannot connect to the WebSocket service to retrieve messages #54

Open
icesls opened this issue Dec 5, 2024 · 3 comments

Comments

@icesls
Copy link

icesls commented Dec 5, 2024

OpenIM Server Version

v3.8.0

Operating System and CPU Architecture

Linux (ARM)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

  1. follow the official documentation at https://docs.openim.io/guides/gettingStarted/dockerCompose to deploy using Docker.
  2. use the official android source code to build the app.
  3. register an account and log in successfully.
  4. It keeps showing "connecting" on the homepage, and after a while, it shows "connection failed," repeating this cycle.

Screenshots Link

this is the connection log of the app
logcat.log

@JauneQ
Copy link
Collaborator

JauneQ commented Dec 5, 2024

Please run this demo directly without modification.
image
As image, we noticed you modified demo's code. It will prevent us from locating the problem.

@icesls
Copy link
Author

icesls commented Dec 6, 2024

I'll switch directly to this demo program
https://github.com/openimsdk/open-im-android-demo
It will also prompt that the link cannot be connected to the server
logcat_6.log

@withchao
Copy link

withchao commented Dec 9, 2024

Due to network reasons, the connection to port 10001 timed out.

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

3 participants