supabase works local but not between different internet connections
Uncaught Error: Connection failed. at Ki._onConnectionStateChange (trystero-supabase.min.js:1) at RTCPeerConnection._pc.onconnectionstatechange (trystero-supabase.min.js:1)
This is the error it gets. Worked fine with two tabs connecting with appId and api key in config. But the second I try to connect with a different device such as a phone, it fails and both instances give this error.
I was able to connect the two devices using one of the "less reliable" methods although as its said they cut out for a while sometimes.
actually I'm seeing this with other libraries as well just got it with nostr too, this just happens no matter what connection I try remotely. Its not even a reconnect like your prior filed issues, it just fails out the gate.
Under further analysis, supplying config file didn't actually get used, instead had to edit the min javascript libraries and add it through a global variable. Seems it needed TURN but I still see that error anyways. Seems like most issues are related to webRTC and the almost deliberately difficultly ISPs put everyone through. Note: happened on an older version of open source chromium for windows 7 to replicate it.
Try the latest version (0.21.0) which uses a new RTC abstraction layer. Also consider trying the new turnConfig option in the joinRoom() config object.