-
Notifications
You must be signed in to change notification settings - Fork 22
Description
Hi,
Thanks for your work that helps a lot. Actually I am trying to develop a client to communicate with the Octoprint server. I want to receive the message from the server when I send a Gcode command by using websocket.
Currently, I an using Class WebSocketEventHandler. As shown in Octoprint server's terminal, there is a new connection from client. However, it closes immediately so that I can't send any message further.
2022-09-29 10:09:17,844 - octoprint.server.util.sockjs - INFO - New connection from client: ::1 2022-09-29 10:09:17,848 - octoprint.server.util.sockjs - INFO - Client connection closed: ::1
Have you tested it successfully before? I guess that maybe I need to authorize firstly by using the API key. But how can I realize it?
I don't find a suitable tutor.
Best,
David