Skip to content

It doesn't want to connect #72

Open

Description

@wiblingen1

I'm trying manual installation from user s-s-s and it installed normally, but it doesn't want to connect and after a long time it disconnects. It was already solved in one thread, but it didn't help to edit ws:// url into trackdirect.ini and I don't know if I'm rewriting the right lines and for the database instead of db I put 127.0.0.1 can someone advise, I have it like this:

;; Url to the websocket server, if you use https you need to set this
;; If nothing is set we will try the url: ws://current-url/ws
;websocket_url="wss://ws.my-domain.com"
websocket_url="http://address.ddns.net"

[database]

;; Basic database settings
;; If using docker, set host to "db", otherwise "127.0.0.1"
host="127.0.0.1"
database="trackdirect"
username="postgres"
password="foobar"
port="5432"

Activity

  1. changed the title [-]Manuall install Trackdirect[/-] [+]It doesn't want to connect[/+] on Dec 20, 2025
  2. DL2MF commented on Jan 6, 2026

    @DL2MF

    You must edit websocket URL to "ws://you-server-ip-or-name" without or "wss://you-server-ip-or-name" with SSL.

    The Database host IP is the IP address of your Postgres DB-Server, if its runnig on the same host 127.0.0.1 ist ok.
    Port must be open, credentials must fit to your DB.

  3. s-s-s commented on Jan 14, 2026

    @s-s-s
    Contributor

    А part of my working config about this :

    [website]
    
    ...
    
    ;; Url to the websocket server, if you use https you need to set this
    ;; If nothing is set we will try the url: ws://current-url/ws
    ;; websocket_url="wss://ws.my-domain.com"
    websocket_url="ws://192.168.1.98:8090/ws"
    
    [database]
    
    ;; Basic database settings
    ;; If using docker, set host to "db", otherwise "127.0.0.1"
    host="127.0.0.1"
    database="trackdirect"
    username="postgres"
    password="foobar"
    port="5432"
    
    ...
    
    [websocket_server]
    
    ;; Websocket server host
    host="192.168.1.98"
    
    ;; Websocket server port, external_port should in normal situations be same as "port".
    port="8090"
    external_port="8090"
    
    ...
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions