Websocket Not Working Off Localhost

All the topics related to QLC+ on the Raspberry Pi
Post Reply
tjdavisbz
Posts: 1
Joined: Sat Jun 12, 2021 3:59 am
Real Name: TJ Davis

I’m using the Pi image. I can access the web server from any machine on my network. I try the Web API test and it won’t connect. I installed the GUI and desktop manager on the Pi to do the web API test and it works FROM the pi itself using localhost. I ran netstat and it shows 9999 bound on all IPs (looks same as SSH server listener) and I know it’s working because, as mentioned, I can access the http site just fine and it works which seems crazy because my understanding is the page itself uses websockets.

Any idea what I’m missing? Any help is appreciated. I searched for hours trying to find a solution before posting.
FVerhamme
Posts: 9
Joined: Mon Mar 01, 2021 7:24 am
Real Name: FVerhamme

Same issue here!

Greetz Frank
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

The only thing I could think of is a cross domain issue, which depends on the browser, not quite the image itself.
Do you have any chance to test the same with an older image?
Thanks
djkad
Posts: 11
Joined: Tue Dec 01, 2020 8:12 pm
Real Name: Marcello

Certificates problems. Nowadays browsers like chrome and firefox blocks unsecure connections. I'm going to adapt a nodejs proxy i made for another project so i can skip this problem.
Post Reply