Skip to content

Initial connection failed with ConnectionError: could not establish signal connection: room connection has timed out (signal). Retrying with another region #281

@ibrahimpc

Description

@ibrahimpc

Describe the bug
When ever i try to initialize livekit im getting Couldn't connect to server after several try of 4-5 times approx 10 mins then the connection is established

A clear and concise description of what the bug is.

To Reproduce
"livekit-client": "^2.11.2" -> install this livekit version

other livekit npm versions
"@livekit/components-react": "^2.8.1",
"@livekit/react-native": "^2.9.0",
"@livekit/react-native-expo-plugin": "^1.0.1",
"@livekit/react-native-webrtc": "^137.0.1",

webrtc version
"@config-plugins/react-native-webrtc": "12.0.0",
"@livekit/react-native-webrtc": "^137.0.1",

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
it should connect in first try itself, or atleast within 2-3 sec it should establish the connection

A clear and concise description of what you expected to happen.

Couldn't connect to server, attempt 1 of 1 {"pID": undefined, "participant": undefined, "room": undefined, "roomID": undefined}
INFO Initial connection failed with ConnectionError: could not establish signal connection: room connection has timed out (signal). Retrying with another region: https://fake-3ijsuyjw.ohyderabad1a.production.livekit.cloud {"pID": "", "participant": "", "room": "", "roomID": undefined}

Screenshots

If applicable, add screenshots to help explain your problem.

Device Info:
Android

  • Device:
  • OS:

Dependencies Info (please reference your package-lock.json or yarn.lock file, not just your package.json):
below is my package-lock.json
"dependencies": {
"@config-plugins/react-native-webrtc": "12.0.0",
"@expo/vector-icons": "^14.1.0",
"@livekit/components-react": "^2.8.1",
"@livekit/react-native": "^2.9.0",
"@livekit/react-native-expo-plugin": "^1.0.1",
"@livekit/react-native-webrtc": "^137.0.1",
"@react-navigation/bottom-tabs": "^7.2.0",
"@react-navigation/native": "^7.0.14",
"axios": "^1.11.0",
"expo": "53.0.20",
"expo-blur": "~14.1.5",
"expo-constants": "~17.1.7",
"expo-dev-client": "~5.2.4",
"expo-font": "~13.3.2",
"expo-haptics": "~14.1.4",
"expo-linking": "~7.1.7",
"expo-router": "~5.1.4",
"expo-splash-screen": "~0.30.10",
"expo-status-bar": "~2.2.3",
"expo-symbols": "~0.4.5",
"expo-system-ui": "~5.0.10",
"expo-web-browser": "~14.2.0",
"livekit-client": "^2.11.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"react-native": "0.79.5",
"react-native-gesture-handler": "~2.24.0",
"react-native-permissions": "^5.4.2",
"react-native-reanimated": "~3.17.4",
"react-native-safe-area-context": "5.4.0",
"react-native-screens": "~4.11.1",
"react-native-web": "^0.20.0",
"react-native-webview": "13.13.5",
"typescript": "5.0.4"
},

  • @livekit/react-native:
  • livekit-client:
  • react-native-webrtc:

Additional context
Add any other context about the problem here, such as crash logs and stack traces if applicable.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions