[Realm.Sync.Client.Network] Websocket error

Hi,

I’ve been getting quite a lot of Websocket errors in a react-native project. This is what I get:

[Realm.Sync.Client.Network - error] Websocket: Expected HTTP response 101 Switching Protocols, but received:
HTTP/1.1 503 Service Unavailable
connection: close
content-length: 98
content-type: text/plain
date: Wed, 21 Aug 2024 20:00:12 GMT
server: mdbws

upstream connect error or disconnect/reset before headers. reset reason: remote connection failure

Mostly I don’t see any problems after getting this error, sync seems to work fine, but I’ve been having some problems with listeners not triggering correctly, so this might be the cause.

Anyone experienced this issue before? And what can I do to solve it?

When we came across these errors back in the day it was an engineering ticket.

I would give them Realm APP ID, cluster it’s going to, etc. and so on and open a ticket with that info.

Because if it’s not a configuration issue there’s something wrong with the cluster.

1 Like

I’ll try to contact them, thanks