• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

websocket

  1. Lrnt

    Question Proxy/Secured HTTP & WS requests to avoid CORS

    Hello! I have a "webapp" (basically a mini site) running with PHP/mySQL and JavaScript on my Plesk Obsidian 18.0.64 server with Debian 12.7. This webapp runs on an Android tablet in different "rooms" and allows users to place drink orders and, more importantly, control a sound console and a...
  2. O

    Question NodeJS Websocket Nginx with process.env.PORT?

    Hello, since Nodejs gets a port from passenger, I wanted to ask how I can use it with a websocket, because a websocket requires additional settings for nginx with a fixed port. Currently I have this in nginx. (Just wanted to say that the server does not belong to me directly, so I host with a...
  3. D

    Resolved PHP Websockets

    We are operating 8 servers with Plesk, hosting several Single Page Applications (SPAs) built with PHP and JavaScript, using a custom JS router. These applications handle daily tasks for our customers. Several customers have requested a security feature to ensure a user is not logged in on...
  4. I

    Issue Websocket connection failing on Plesk server

    I'm setting up a server on Plesk with a React.js and Node.js application, containing a client and server side. Below the socket in my client config file: export const socket = io('wss://domain.name:3000', {reconnect: true, transports: [ 'websocket' ] }); And this is the setup on the server...
  5. J

    Question websocket ratchet on plesk

    hi, i would like to install a websocket (ratchet) on my plesk server. There are some threads, but none helped. It seems for me (i am absolute beginner) there are problems with nginx. My php program for socketstart is running from terminal without error, also without success... Browser shows...
  6. Z

    Question Websocket connection failed in Docker

    I run a NOCODB using docker, and I got error What should I do? I am quite newbie.
  7. W

    Issue Websocket failed with SSL

    Hello i have a problem to connect the websocket with Nginx so with http it's working , but with https i still get faild in wss so what's the configuration i do inside plesk or nginx to fix it
  8. AhmedEx

    Issue Nginx configuration to accept websocket requests (SSL/WSS)

    i have plesk server with apache2 and nginx and i have a websocket app it works on port 2589 and i used ratchet and autobahn to work with websocket, nginx version nginx version: nginx/1.20.2 and ufw status Status: inactive and my nginx directive config for websocket location ^~ /WsConn {...
  9. S

    Resolved Nginx WebSocket Connection as Secure Problem

    hi everyone; I setup a websocket connection on my host, i can connect it and use as well, no problem on http:// schema. See: Screenshot (it's okay). var conn = new WebSocket('ws://my.domain.com:2001'); But I want to use this connection websocket connection on SSL - https:// schema. At at...
  10. L

    Issue Nginx websocket

    Hi all, installed Laravel Websocket on subdomain and it works fine over ws:// Now i'm looking for use NGINX to manage WSS:// requests to WS:// For example wss://subdomain.domain.ext:6001/app/key1 This NGINX addictional directives not work: location /app { proxy_pass...
  11. M

    Question ws websocket , Connection has not stublished , https (mixed content)

    I am newbie to Websocket i found this project on github, and i want to integrate this project to my old PHP project in plesk vps client.js : connection.onopen = function () { console.log("Connected to the server"); }
  12. J

    Question How can I get my WebSocket running in NodeJS?

    I've programmed myself a WebSocket in NodeJS. Inside my file server.js I've setup an express server including my WebSocket server: const wss = new WebSocket({ server: app.listen(8888) }); Locally it runs perfect but I can't get it running in Plesk. To get it running I've created a...
  13. F

    Question ws to wss with Plesk & Apache

    Hello, I'm trying to make a secure websocket. When i try with ws:// it's working fine but not with wss:// I've enabled mod_proxy and mod_proxy_reverse. Added those line to Apache https.conf ProxyPass /wss ws://127.0.0.1:8090 retry=0 keepalive=On ProxyPassReverse /wss ws://127.0.0.1:8090...
  14. Javad

    Question Websocket Problem on wss

    I'm having troubles connecting to a WebSocket server via WebSocket Secure connection (wss://) from the browser. Standard connections (ws://) work fine. To solve this problem in the ispmanager, I used the following code in the site config file and the problem was resolved: ProxyPass /echobot...
  15. T

    Resolved Websocket Error 400, Docker & nginx

    I have a docker app on latest Plesk Onyx running (mattermost) and it works perfectly when opened directly through server IP and Docker mapped port (192.168.0.5:33000) Everything works great. The problem is when I try to make it work through NGINX proxy. If select a domain and set Docker Proxy...
  16. K

    Secure websockets (WSS)

    Dear all, Can anyone tell me how I should to set up a secure websocket server with Plesk? At this point I have set up the Plesk firewall so that traffic from/to port 8080 is allowed and I have a websocket server (Ratchet - a PHP implementation) running perfectly (but only for non-secure (ws)...
Back
Top