This message was deleted.
# helpdesk
s
This message was deleted.
f
And one more, I am getting
connection timeout
error sometimes
After get this exception, reconnection is not working automatically
p
Hi! for the first issue, could you open an issue on the client-sdk github with steps how to reproduce it?
LocalTrackPublished
is supposed to fire, as long as the connection is already established. For the
connection timeout
can you post the exact error message you are getting?
1
f
When I reproduce connection timeout, I will create video
@polite-kilobyte-67570 Please check this screenshot
I was facing this issue with slow network
@polite-kilobyte-67570 @dry-elephant-14928
Can you help how to reconnect at this time?
p
On a slow network it can happen! One option would be to increase the
peerConnectionTimeOut
in the
RoomConnectOptions
, the default is 15 seconds. If there’s something not working when trying to call
room.connect
again after the peer connection failed, it would be great if you could open an issue with detailed logs and description of what’s happening!
f
Is there reconnection api for this case?
I think it need to reconnect automatically, if get exception
p
it’s a different reconnect logic, because the connection has never been fully established before. The best way for now would be to
try…catch
the
connect
call yourself
f
Understand. Thanks. Let me try this way
👍 1
How about this error? @polite-kilobyte-67570
When I try to switch or reload the browser, I am getting this error. Do I need to republish at this time t oo? @polite-kilobyte-67570
p
Yeah, publication wasn’t successful in that case and there’s currently no logic to automatically try to re-publish failed attempts
1
f
Thanks for your support @polite-kilobyte-67570