Support FAQ

Prev Next

Slow connections & iOS connection error

Problem:

If you're experiencing slow connections or the iOS app can't connect at all, it's likely due to misconfigured reverse proxies. In over 95% of reported cases, the issue is that WebSocket connections are not properly established.

When a WebSocket fails, the client falls back to XHR, which is significantly slower and less reliable. The iOS app requires a working WebSocket and will not connect otherwise.

How to Check WebSocket Status in Chrome

  1. Open Chrome and go to your Rocket.Chat instance.

  2. Right-click anywhere on the page and click Inspect.

  3. Go to the Network tab and press F5 to refresh the page.

  4. In the filter bar, click on “WS” (WebSocket).

  5. Look for a WebSocket entry that looks like this: wss://open.rocket.chat/sockjs/123/pbiz45rm/websocket

  6. Click the WebSocket connection to inspect its headers. The below status code indicates a successful WebSocket handshake:

     Status Code: 101 Switching Protocols

  7. Then check the Response Headers. You should see something like:

    Response headers
     Connection: Upgrade
     Sec-WebSocket-Accept: nXd/PfaHuA1Kx/ggJWAAy+96Ee4=
     Upgrade: websocket