dyte-io / socketio-kotlin

Kotlin port of socket.io client library
MIT License
2 stars 0 forks source link

java.lang.IllegalArgumentException: jitter should be between 0.0 and 1.0 #2

Closed halysongoncalves closed 4 weeks ago

halysongoncalves commented 2 months ago

When trying to create a connection, I receive the error:

java.lang.IllegalArgumentException: jitter should be between 0.0 and 1.0 at io.dyte.socketio.Backoff.(Manager.kt:353) at io.dyte.socketio.Backoff.(Manager.kt:343) at io.dyte.socketio.Manager.(Manager.kt:41) at io.dyte.socketio.IO.lookup(io.kt:26) at io.dyte.socketio.IO.socket(io.kt:10) at com.arena.network.socket.socketio.SocketIO.(SocketIO.kt:9)

val socket = IO.socket(url, IOOptions())

Captura de Tela 2024-03-12 às 10 48 14 Captura de Tela 2024-03-12 às 10 48 10 Captura de Tela 2024-03-12 às 10 47 57

halysongoncalves commented 2 months ago

@harshs-dyte @palashgo @swapnilmadavi

halysongoncalves commented 1 month ago

news?

palashgo commented 1 month ago

@halysongoncalves Missed this, checking

halysongoncalves commented 1 month ago

Were you able to investigate the problem? @palashgo

palashgo commented 1 month ago

@halysongoncalves It should work now with the 1.0.7, the tests were also failing earlier

I will setup some github action checks to run tests on PRs