You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS 1.4.7 (iOS 27.0.1): RTCPeerConnection is undefined, every connection to self-hosted server fails; host deletion revokes server session
#5567
Client-side problem on iOS (not the self-hosted server), with the app's own log excerpt. Posted in Q&A because the bug form is not reachable from here; happy to move this to a form report if a maintainer asks.
App: OpenBot 1.4.7 (32), iOS 27.0.1, iPhone 14 Pro (iPhone15,2) Server: self-hosted OpenBot 0.64.0 (online, signal socket not reached from the phone)
Times below are UTC (the log uses Z).
1. Every connection attempt fails before signalling completes
Each attempt on the phone gets signal-ready, then fails with the same ReferenceError, so the connection never comes up:
connection <conn-id> attempt 10 started
connection <conn-id> connecting
POST https://api.openbot.run/v2/remote/sessions/<session-id>/ticket -> 200
connection <conn-id> peer signal-open: ticket
connection <conn-id> peer signal-ready: 2 ICE servers, 44 ms after open
connection <conn-id> peer failed: Can't find variable: RTCPeerConnection [error/ReferenceError]
connection <conn-id> offline: Can't find variable: RTCPeerConnection [error/ReferenceError]
connection <conn-id> attempt 10 failed at connection (758 ms): Error: Can't find variable: RTCPeerConnection [error/ReferenceError]
This repeats on every attempt in the log (about 40 attempts from 15:09Z to 15:44Z), including after a fresh app start. The app's JavaScript context apparently does not expose RTCPeerConnection on iOS 27.0.1.
2. The app deletes the host, which revokes the server's signal session
16:12:45 CET (15:12:45Z) WARN [team-webrtc-host] Host Signal error session_revoked; the socket does not connect again.
16:12:45 CET WARN [host-service] Host phase online -> error: Signal recovery failed after error session_revoked.
The phone then re-added the host (mobile-auth/redeem at 15:13:34Z) and got a new session, but the first revocation had already left the server's host in an error state.
Requests
Is RTCPeerConnection supposed to be available in the iOS app on iOS 27? If not, is there a known issue or a fix planned?
Does deleting a host from the phone revoke that host's server session by design? If so, a short note in the docs would help users who re-pair.
Notes
Session and host identifiers are redacted. No tokens or e-mail addresses are included.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Client-side problem on iOS (not the self-hosted server), with the app's own log excerpt. Posted in Q&A because the bug form is not reachable from here; happy to move this to a form report if a maintainer asks.
App: OpenBot 1.4.7 (32), iOS 27.0.1, iPhone 14 Pro (iPhone15,2)
Server: self-hosted OpenBot 0.64.0 (online, signal socket not reached from the phone)
Times below are UTC (the log uses
Z).1. Every connection attempt fails before signalling completes
Each attempt on the phone gets
signal-ready, then fails with the same ReferenceError, so the connection never comes up:This repeats on every attempt in the log (about 40 attempts from 15:09Z to 15:44Z), including after a fresh app start. The app's JavaScript context apparently does not expose
RTCPeerConnectionon iOS 27.0.1.2. The app deletes the host, which revokes the server's signal session
At the same second, the server logged:
The phone then re-added the host (
mobile-auth/redeemat 15:13:34Z) and got a new session, but the first revocation had already left the server's host in an error state.Requests
RTCPeerConnectionsupposed to be available in the iOS app on iOS 27? If not, is there a known issue or a fix planned?Notes
session_revokedright after sign-in, phone app shows "reconnecting" #5560 was closed by the bot because it was not from a form; I can post the server logs here too if useful.All reactions