Upload to <domain> Bad Gateway Websocket #769

Closed
opened 2026-04-24 23:20:53 +02:00 by adam · 3 comments
Owner

Originally created by @alfureu on GitHub (Nov 20, 2022).

Thanks for the amazing software, using it daily.

I am self-hosting it, with my own domain, through NGINX Proxy Manager, where I have websocket enables, as suggested in the manual.

Whenever I try to upload a cover (jpg file), or use the search function for it, I get the following error:

<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>openresty</center>
</body>
</html>

Am I missing some special setting, port to the websocket?

Originally created by @alfureu on GitHub (Nov 20, 2022). Thanks for the amazing software, using it daily. I am self-hosting it, with my own domain, through NGINX Proxy Manager, where I have websocket enables, as suggested in the manual. Whenever I try to upload a cover (jpg file), or use the search function for it, I get the following error: ``` <html> <head><title>502 Bad Gateway</title></head> <body> <center><h1>502 Bad Gateway</h1></center> <hr><center>openresty</center> </body> </html> ``` Am I missing some special setting, port to the websocket?
adam closed this issue 2026-04-24 23:20:54 +02:00
Author
Owner

@nmatton commented on GitHub (Nov 20, 2022):

I have the same when I'm using SSL.

It works when using unsecured HTTP

Actually it is worst for me, nothing is accessible when I enable a (let's encrypt) certificate

@nmatton commented on GitHub (Nov 20, 2022): I have the same when I'm using SSL. It works when using unsecured HTTP Actually it is worst for me, nothing is accessible when I enable a (let's encrypt) certificate
Author
Owner

@alfureu commented on GitHub (Nov 20, 2022):

well, this then means that the nginx settings need adjustment, or some other websocket port needs special setting. I would like to have this working as I prefer https connections

@alfureu commented on GitHub (Nov 20, 2022): well, this then means that the nginx settings need adjustment, or some other websocket port needs special setting. I would like to have this working as I prefer https connections
Author
Owner

@advplyr commented on GitHub (Nov 20, 2022):

This doesn't have to do with Abs.

This is something with your server config. Someone in the Discord or Matrix server may be able to help you. Many users have this setup properly with NGINX Proxy Manager and would know more then I would about that.

@advplyr commented on GitHub (Nov 20, 2022): This doesn't have to do with Abs. This is something with your server config. Someone in the Discord or Matrix server may be able to help you. Many users have this setup properly with NGINX Proxy Manager and would know more then I would about that.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#769