Logic Machine Forum
Test websocket connection - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Test websocket connection (/showthread.php?tid=3361)



Test websocket connection - Alexander - 10.05.2021

Hi,

Yesterday I manage to test my websocket connection with this https://www.piesocket.com/websocket-tester#.
And it worked. 

But today I keep getting connection closed. 
I used this: 
Code:
wss://admin:admin@192.168.10.11/apps/localbus.lp

Does anyone know what the problem could be?


RE: Test websocket connection - admin - 11.05.2021

Browsers don't allow passing credentials as a part of the URL. It worked for you before because you've logged into LM during the browser session so it saved your credentials and reused them.


RE: Test websocket connection - Alexander - 11.05.2021

(11.05.2021, 06:50)admin Wrote: Browsers don't allow passing credentials as a part of the URL. It worked for you before because you've logged into LM during the browser session so it saved your credentials and reused them.

Ok, thank for your answer.