You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After calling Lavakord.addNode() and encountering a refused connection, this exception is raised:
Exception in thread "DefaultDispatcher-worker-9" java.net.ConnectException: Connection refused
at java.base/sun.nio.ch.Net.pollConnect(Native Method)
at java.base/sun.nio.ch.Net.pollConnectNow(Net.java:673)
at java.base/sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:973)
at io.ktor.network.sockets.SocketImpl.connect$ktor_network(SocketImpl.kt:50)
at io.ktor.network.sockets.SocketImpl$connect$1.invokeSuspend(SocketImpl.kt)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
The coroutine then ends without retrying, as retries are only done when ReconnectException is caught.
java.net.ConnectException is JVM specific, so I am unsure how to catch it in multiplatform code
The text was updated successfully, but these errors were encountered:
After calling
Lavakord.addNode()
and encountering a refused connection, this exception is raised:The coroutine then ends without retrying, as retries are only done when
ReconnectException
is caught.java.net.ConnectException
is JVM specific, so I am unsure how to catch it in multiplatform codeThe text was updated successfully, but these errors were encountered: