WebSocket issues on self-hosted site

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pudgyb
    Junior Member
    • Feb 2025
    • 2

    WebSocket issues on self-hosted site

    Hi all,

    I've tried using Docker to no success - both through the regular compose with Nginx, and with the Traefik file.
    The issue I keep getting, regardless of the method I use, is autobahn.js:341 WebSocket connection to 'wss://localhost:8443/?authToken=...' failed:

    Without wss, there are no console errors. I need to run it over a secure connection though

    ​The Traefik compose I used is almost verbatim what is provided on the website. I've only replaced the usernames, passwords and IP address with ${ENV} variables.

    Help would be appreciated, because I've spent 2 days on this now.
  • emillod
    Active Community Member
    • Apr 2017
    • 1442

    #2
    We're using EspoCRM with websocket through docker and traefik. In console i can see wss://crm.domain.com/ws?authToken=XXXXXXXXXX&userId=XXXXXXXXXXXX

    In your thread i see that you have localhost:8443?
    Are you able to post your configuration?

    Comment

    Working...