Skip to content

Timeout over 10000 ms not being handled properly (Android 7.1.1) #413

Open
@thully

Description

@thully

I'm using socket-io-client-java with an Android app running in the latest version of the Android Studio emulator, and I've been having a problem with timeout. Whenever I set the client's timeout value to greater than 10000 ms (which it is by default, as the default is 20000), my Socket.EVENT_CONNECT_TIMEOUT listener is never called, and the Socket.EVENT_CONNECT_ERROR handler gets triggered with the following error:

"io.socket.engineio.client.EngineIOException: xhr poll error"

If I specify a timeout value under 10000 ms, the timeout handler gets called as expected.

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