Realtime error
Cant connect to realtime using c#
Do i need any configuration?
`
this is my code but it throws exception if AutoConnectRealtime is true
4 Replies
The error
Failed to enter game: Supabase.Realtime.Exceptions.RealtimeException: Failed to start Websocket client , error: 'Unable to connect to the remote server' ---> Websocket.Client.Exceptions.WebsocketException: Failed to start Websocket client , error: 'Unable to connect to the remote server' ---> System.Net.WebSockets.WebSocketException: Unable to connect to the remote server
at System.Net.WebSockets.WebSocketHandle.ParseAndValidateConnectResponseAsync (System.IO.Stream stream, System.Net.WebSockets.ClientWebSocketOptions options, System.String expectedSecWebSocketAccept, System.Threading.CancellationToken cancellationToken) [0x0010a] in <aeff17eeef8b44e48cc7a7fdb59f3ab4>:0
at System.Net.WebSockets.WebSocketHandle.ConnectAsyncCore (System.Uri uri, System.Threading.CancellationToken cancellationToken, System.Net.
i am also facing the same issue
2025-10-22T04:01:56Z app[d8991d5c2321e8] sea [info]2025-10-22 04:01:56,933 INFO [] o.s.b.w.s.c.ServletWebServerApplicationContext - Root WebApplicationContext: initialization completed in 6395 ms
2025-10-22T04:01:57Z app[d8991d5c2321e8] sea [info]2025-10-22 04:01:57,859 INFO [] com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
2025-10-22T04:01:57Z app[d8991d5c2321e8] sea [info]2025-10-22 04:01:57,878 INFO [] com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
2025-10-22T04:02:58Z app[d8991d5c2321e8] sea [info]2025-10-22 04:02:58,358 WARN [] com.zaxxer.hikari.pool.PoolBase - HikariPool-1 - Pool is empty, failed to create/setup connection (1fab43de-d39c-4a3c-a9d7-b3b392ed85c8)
2025-10-22T04:02:58Z app[d8991d5c2321e8] sea [info]org.postgresql.util.PSQLException: The connection attempt failed.
is your DB hosted on us-east-2?
us-east-1
my beta is working fine but my prod is having the issue. both are hosted in us-east-2