Skip to content

Client timeout also triggers Socket.EVENT_CONNECT_ERROR event (Android 7.1.1) #414

Open
@thully

Description

@thully

While using the socket.io-client-java package in an Android app running on the emulator, I've encountered an issue with the timeout event. When using timeout values under 10000 ms (higher values aren't working at all in the timeout handler, per #413), on timeout I get both a Socket.EVENT_CONNECT_TIMEOUT event as well as a Socket.EVENT_CONNECT_ERROR event, the latter of which has the following text:

io.socket.client.SocketIOException: timeout

This event seems redundant with the EVENT_CONNECT_TIMEOUT event, and seems like it should be suppressed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions