Skip to content

Client always disconnect then reconnected  #98

Open
@aalfiann

Description

@aalfiann

Actualy I this library has successful to send message and receive message. but there is one problem which is client is always disconnected and then reconnected itself for around 3 seconds. I have follow the example in this repo correctly but not solved.

I have developed socket io client for web version, and there is no issue in web version. socket is stable connected. web version is using transport polling.

My question is, how to know why android socket io client is always disconnected for around 3 seconds? I can't fixed this because there is no error log in client also on server. I just know the log client is connected then disconnected from server.

Expected behavior
Once client connected, this connection should stable until client disconnect by user activity.

Device details:

  • Device Type: Device
  • Model: Samsung M20
  • OS: Android Pie
  • Package Version: 28

Relevant Logs

No error log from client also server. there is only log for client is connected then disconnected only.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions