toastify icon indicating copy to clipboard operation
toastify copied to clipboard

Unable to connect to the websocket server ws://localhost:41348

Open Kushweez opened this issue 6 years ago • 1 comments

Hi, I confess that I am not experimenting in coding but I try to find solutions to reach my end. I hope you can help me if it's possible and I apologize in advance for my shitty english.

EXPECTED BEHAVIOUR

I would like to connect in Websocket on the local server toastify

ACTUAL BEHAVIOUR

I get an error code 1006 ws: // localhost: 41348 or ws: // toastify: 41348 port 41348 is well used by toastify with a control netstat -a -b -o

STEPS TO REPRODUCE THE BEHAVIOUR

1 Launch Toastify 2.Advanced Enable broadcaster 3.Save and Restart Toastify 4. Try to connect to the local server via software like Construct 3 (Scirra) 5.Get code 1006 on chrome or mozilla

LOG FILE

Toastify.log

Kushweez avatar Aug 31 '19 13:08 Kushweez

Hi @Kushweez. The correct URL for WebSocket communication is ws://localhost:41348/ws/toastify.

I haven't tried Construct 3, but the code snippet I published in the wiki (here) still works fine using Chrome DevTools.

aleab avatar Sep 11 '19 12:09 aleab