ogmios
ogmios copied to clipboard
Introduce reconnect / retry logic on the TypeScript client
What Git revision / release tag are you using?
be859d6cc4adae512da31358e4870098ff741e83
Do you use any client SDK? If yes, which one?
Typescript client SDK
Describe what the problem is?
The websocket connection can be lost at any time, and if that's the case, there is no reconnect logic.
What should be the expected behavior?
There should be an option in the InteractionContext
to specify a reconnect strategy.
If applicable, what are the logs from the server around the occurence of the problem?
WebSocketClosed: WebSocket is closed