• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Issue Appwrite Websocket not working

itexpertnow

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.59 Update #2
I am running selfhosted appwrite behind nginx:
Bash:
$:/home/appwrite# docker port appwrite-traefik
80/tcp -> 0.0.0.0:32080
80/tcp -> [::]:32080
443/tcp -> 0.0.0.0:32443
443/tcp -> [::]:32443

Websocket working:
`wss://cms.itexpertnow.com:32443/v1/realtime?project=console&channels%5B%5D=project&channels%5B%5D=console`
Websocket not working:
`wss://cms.itexpertnow.com/v1/realtime?project=console&channels%5B%5D=project&channels%5B%5D=console`

Nginx config:
Bash:
location ~ ^/.* {
    proxy_pass http://0.0.0.0:32790;
    proxy_set_header Host              $host;
    proxy_set_header X-Real-IP         $remote_addr;
    proxy_set_header X-Forwarded-For   $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header Connection 'upgrade';
    proxy_set_header Upgrade $http_upgrade;
    proxy_http_version 1.1;
}

location /v1/realtime {
    proxy_pass http://0.0.0.0:32443;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_read_timeout 600s;
    proxy_send_timeout 600s;
}


docker config:
Code:
  traefik:
    image: traefik:2.11
    container_name: appwrite-traefik
    <<: *x-logging
    command:
      - --providers.file.directory=/storage/config
      - --providers.file.watch=true
      - --providers.docker=true
      - --providers.docker.exposedByDefault=false
      - --providers.docker.constraints=Label(`traefik.constraint-label-stack`,`appwrite`)
      - --entrypoints.appwrite_web.address=:80
      - --entrypoints.appwrite_websecure.address=:443
    restart: unless-stopped
    ports:
      - 32080:80
      - 32443:443
 
Back
Top