Arksine / moonraker

Web API Server for Klipper
https://moonraker.readthedocs.io
GNU General Public License v3.0
1.09k stars 419 forks source link

klipper wont connect to printer moon raker error #321

Closed metric1578 closed 2 years ago

metric1578 commented 2 years ago

What happened

can't seem to connect to printer with klipper/moonraker. attached is a klippy log:

{"error": {"code": 404, "message": "Not Found", "traceback": "Traceback (most recent call last):\n\n File \"/home/pi/moonraker-env/lib/python3.7/site-packages/tornado/web.py\", line 1704, in _execute\n result = await result\n\n File \"/home/pi/moonraker/moonraker/app.py\", line 639, in get\n self.root, absolute_path)\n\n File \"/home/pi/moonraker-env/lib/python3.7/site-packages/tornado/web.py\", line 2778, in validate_absolute_path\n raise HTTPError(404)\n\ntornado.web.HTTPError: HTTP 404: Not Found\n"}}

What did you expect to happen

I expected to connect to printer via fluidd. I tried updating rpi4 but didn't seem to help. I can log on fluidd site and see my config files but it just won't connect to printer.

How to reproduce

installed latest release fluidd,klipper,moonraker and updated.

Additional information

No response

Arksine commented 2 years ago

You will need to supply moonraker.log and klippy.log. My suspicion is that you don't have the unix socket enabled.

Arksine commented 2 years ago

As discussion seems to have concluded I'm going to close this. If you need any further assistance I suggest trying the discord.

gknops commented 1 year ago

I am seeing the same issue, was there any discussion with possible hints?

yw4z commented 5 months ago

same error appeared for me after updating klipper from fluidd UI. i guess this method changed an environment variable

moonraker.log

probably i will uninstall and reinstall klipper to fix it. but why :)