# SyncManager – Websocket Connection Failed

**URL:** <https://community.sendbird.com/t/syncmanager-websocket-connection-failed/171>\
**Category:** JavaScript\
**Tags:** react-js, syncmanager, chatsdk\
**Created:** [April 16, 2020, 8:33am UTC](https://community.sendbird.com/t/syncmanager-websocket-connection-failed/171 "2020-04-16T08:33:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![pjack3191](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@pjack3191](https://community.sendbird.com/u/pjack3191)\
**Post date:** [April 16, 2020, 8:33am UTC](https://community.sendbird.com/t/syncmanager-websocket-connection-failed/171/1 "2020-04-16T08:33:21Z")

</div>

I’m using Sendbird Sync Manager with the Sendbird JS SDK, and when I try to  
setup the sync manager and connect to sendbird, I get the error `[SendBirdException: Websocket connection failed.]`. This prevents me from receiving any channel events.

The call looks like:

```auto
  SendBirdSyncManager.setup(userId, () => {
    sb.connect(userId, token, (user, error) => {...

```

which is where I receive the error.

I am based in Europe, and my US-based colleague does not have the same  
issue. I’ve seen this github issue:  
[https://github.com/sendbird/SendBird-SDK-JavaScript/issues/112](https://github.com/sendbird/SendBird-SDK-JavaScript/issues/112) which may  
have something to do with this, but as I’m using react-native, I don’t have  
a window into the calls that the application is making.

I’d appreciate it if anyone could provide any information about this situation.

Thanks,

Patrick

---

_[View the full topic](https://community.sendbird.com/t/syncmanager-websocket-connection-failed/171)._
