Error 6 when entering Printer's hostname
Hi all, I am trying to set up the function to upload Gcode to my klipper printer from the slicer, using version 2.9.2 Flatpak on Linux Mint 22.1. I tried the search function which found nothing. I tried inputting the printer's hostname, `http://[klipper].local`, and got
`Could not connect to Moonraker: Couldn't resolve host name:Could not resolve host: [klipper].local[Error 6]`
as a response to pressing the test button. Any ideas on how to fix this please? I have searched the internet and perhaps flatpak apps can't see the network, as I can access the hostname from my web browser on the same computer just fine.
Thanks, Swizz
Best Answer by Swizzel Stixx:
Hi all, future researchers, we fixed the problem! My issue seems to have been that Flatpak wasn't using the local network's DNS, instead trying to reach out of the network where my local printer obviously wasn't. To anyone else with the same problem try using the IP address of the printer instead.
RE:
`[klipper]` means that you should replace it with the real address of the machine in the network which runs the klipper.
For example if you use something like http://my-rasspery-pi.local then use that
What's the address you use to access the klipper?
See my GitHub and printables.com for some 3d stuff that you may like.
RE: Error 6 when entering Printer's hostname
Hi, thanks for replying.
So my printer is actually called klipper.local, so I tried, “ http://klipper.local”, “klipper.local”, “ http://klipper” worked for a while, but then prusaslicer updated and it broke again.
RE: Error 6 when entering Printer's hostname
Hi all, future researchers, we fixed the problem! My issue seems to have been that Flatpak wasn't using the local network's DNS, instead trying to reach out of the network where my local printer obviously wasn't. To anyone else with the same problem try using the IP address of the printer instead.