e2b-dev/infra

Change proxy to wait for some time for the envd websocket to start

jakubno opened this issue · 1 comments

Sometimes the the SDK try to connect to WS in instance faster than the websocket is started, the proxy can't connect it, so it returns 50x, we should add some timeout to let the websocket start and connect it this way the fastest way possible

The new beta SDK is solving this by not using web sockets.