Skip to content
This repository was archived by the owner on Jun 7, 2020. It is now read-only.
This repository was archived by the owner on Jun 7, 2020. It is now read-only.

Unable to connect to self hosted Rocket.Chat instance #2798

Description

@jackbritchford
  • Your Rocket.Chat app version: latest from iOS app store
  • Your Rocket.Chat server version: 2.1.1
  • Device (or Simulator) you're running with: iOS

Hi,
Whenever I try to connect I get "Oops! - Could not connect to this server!".
I have a valid cert (https://msgz.xyz/) and I have nginx setup as a reverse proxy.
I'm entering 'msgz.xyz' but i've also tried with http and https prefix.

:~$ curl -i -N -H "Connection: Upgrade" -H "Upgrade: websocket" -H "Host: msgz.xyz" -H "Origin: msgz.xyz" -H "Sec-WebSocket-Key: blahblah" -H "Sec-WebSocket-Version: 13" https://msgz.xyz/websocket
HTTP/2 400
server: nginx/1.14.0 (Ubuntu)
date: Fri, 06 Dec 2019 12:38:43 GMT

Not a valid websocket request

Websockets seem to work, any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions