Undefined Code: 1006

This happened to me also,
I installed Nginx-Proxy-Manager, and I tried to log in remotely. I had the same issue; The issue was corrected in my case by enabling Websockets Support, and that solved my problem; now I can connect remotely, no more code 1006.
This nailed it! Many Thanks!!!!!! :cool::):D:D
 
Follow up: The only thing I have noticed now is that I am unable to upload new images from my computer to the proxmox server when I go via NPM https..... I have to go to proxmox via IP to do that. Any Ideas how to solve this?

There is no error message. It just doesnt start with the upload.Screenshot 2023-08-06 at 11.59.52.png
 
Last edited:
If you're having WebSockets issues while using Nginx Proxy Manager, try adding these to your location / in your custom configuration (or in the regular configuration if using regular nginx):

NGINX:
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
    proxy_set_header Upgrade $http_upgrade;
    proxy_http_version 1.1;
    proxy_set_header Connection "upgrade";
 
This happened to me also,
I installed Nginx-Proxy-Manager, and I tried to log in remotely. I had the same issue; The issue was corrected in my case by enabling Websockets Support, and that solved my problem; now I can connect remotely, no more code 1006.
Thanks!!! after enabling Websockets it's working now! Greetings from Argentina
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!