Cna’t add Klipper log. When I try to download that it says log is missing and gives me this message:
{“error”: {“code”: 404, “message”: “Not Found”, “traceback”: “Traceback (most recent call last):\n\n File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/web.py", line 1786, in _execute\n result = await result\n\n File "/home/pi/moonraker/moonraker/app.py", line 736, in get\n self.absolute_path = self.validate_absolute_path(\n\n File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/web.py", line 2895, in validate_absolute_path\n raise HTTPError(404)\n\ntornado.web.HTTPError: HTTP 404: Not Found\n”}}
I cannot connect to my printer I get a message “Service ‘klipper’ not allowed”.
This is on an android phone running Debian Buster. It took me a long time to get moonraker going, now I’m on to getting klipper to connect to the printer.
Describe your issue:
I cannot connect to Klipper because it says Klipper service not allowed. I tried enabling loging in Moonraker conf. but when I rebooted moonraker with logging enabled I get a message that logging is depreciated.
2023-12-25 22:17:18,494 [eventloop.py:_wrapper()] - Error Running Callback
Traceback (most recent call last):
File "/home/pi/moonraker/moonraker/eventloop.py", line 84, in _wrapper
await ret
File "/home/pi/moonraker/moonraker/server.py", line 187, in server_init
await self.start_server()
File "/home/pi/moonraker/moonraker/server.py", line 198, in start_server
self.moonraker_app.listen(self.host, self.port, self.ssl_port)
File "/home/pi/moonraker/moonraker/app.py", line 260, in listen
self.http_server = self.app.listen(
File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/web.py", line 2207, in listen
server.listen(
File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/tcpserver.py", line 183, in listen
sockets = bind_sockets(
File "/home/pi/moonraker-env/lib/python3.9/site-packages/tornado/netutil.py", line 162, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 98] Address already in use
it seems that the required port is already used by another service on your system. You will need to fix this.
Just typing the commands and posting its outputs will not get you anywhere.
Remote diagnosing what could have gone wrong without you having the proper Linux knowledge will be quite an ordeal.
I’d recommend making your life easier and get some SBC to run Klipper on.
Ok. I hear you. I should have used proper posting of the snippets, and that it might not work to remote diagnose a problem like this. I hear you about getting a proper device to run klipper on. I do have a printer running on a Raspberry Pi. I have 4 old phones around, I see people running klipper on them. That’s the rout I want to go with my other two printers. I’m willing to take time to sort this out and maybe learn something in the process. I’ll just keep digging till I find the answer. I may not be bright but I’m stubborn.