Cannot connect to Moonraker Error

Hi Farzad,

what kind of bird was it?

I would connect your printer and the device where you mainly use the Mainsail GUI (probably your laptop) by wire.

That way possible WLAN issues are out of the equation.

But I don’t think this is the root cause for your problem.

In your attached files I find

certificate verify failed: Hostname mismatch, certificate is not valid for ‘arksine.github.io

in moonraker.log. At the same times Klipper restarts according to your klippy.log without showing an error.

I don’t know what this error in your moonraker.log means. Obviously, it has something to do with a SSL certificate, but what…

Could you provide a fresh and bigger moonraker.log and klippy.log?

Oh, by the way your Klipper config is dirty. Though, I don’t think that has any impact on your Moonraker problem.

hi hect 14, and thanks for your answer

a cockatiel

Short answer, I can’t

I can connect CB1 with LAN to the router

But I can’t do this with my laptop, mainly because it doesn’t have lan port

I had a long print and downloaded the files (also, I had lots of errors when I was trying to upload and start a print )

crowsnest.log moonraker.log klippy.log

I am going to upload them all in a zip file because they are 50mg

1.zip (4.3 MB)

I always assumed that it’s well organized :sweat_smile:

I am not smart enough to understand this one`:sweat_smile:

Hi Farzad,

Sad. Wow old was it?

Is the laptop the device where you start prints in Mainsail?
If yes, some questions:

  • Does it have a free USB port?
  • What kind of connector (USB-A, USB-C)

:+1:

Neither am I. Maybe @arksine is kind enough to make a statement here. Or, you could open an issue here GitHub · Where software is built and ask for help respectively information.

That is Moonraker attempting to fetch announcements from Moonlight. It looks like DNS was redirecting the request to the wrong location which resulted in the cert verification error. From glancing at the thread this is likely a regional issue, and it seems the OP corrected this with a VPN.

As for Klippy restarting, I dont see any relationship in the timing with the SSL errors and Klippy restarts. There are two restarts in the log, one at 1:17:34 and one at 3:17:14. The SSL errors don’t start until 1:47. Moonlight checks every 30 minutes, so the errors continue on that interval until 3:17:22, which is after that second Klippy restart.

FWIW, I have a device with a BTT-CB1 and the wifi on it is unusable. Either due to flaky hardware or flaky software, I have to connect via ethernet for a stable experience.

1 Like

Thanks a bunch.

What is Moonlight? I can’t follow you! Not my level!

Mhhh, interesting…

1 Like

Moonlight is a github repo that generates RSS feeds from specifically tagged “issues” for registered projects. Projects like Klipper, Moonraker, Mainsail, Spoolman, etc can create these issues when they want to make an announcement. Moonraker will fetch updated RSS feeds, the feeds are then parsed and a frontend like Mainsail can present the results as notifications.

1 Like

You may promote it here to get

At this time projects must meet the following requirements:

  • Have a user base of at least 200 users

I’m a steady reader here, but I missed Moonlight.

1 Like

Armbian has invested a remarkable amount of effort into the H616 chips and the sunxi kernels. Since 6.6 and now especially with 6.12, they have resolved many issues, particularly around WiFi. Since then, these CPUs and their WiFi have been running stable in my experience.

They have a continuous build for the CB1: BIGTREETECH CB1 - Armbian

4 Likes

That is good info, I didn’t know Armbian had a CB1 build. I have only ever used the images distributed by BTT. Perhaps the op will have luck trying the latest Armbian build.

2 Likes

Hello everyone
First of all, sorry for not answering for 9 days
I had a few works …
First of all, I am going to thank @hcet14 for answering all my questions and guiding me
secend
I am going to thank the community and developers, you guys are awesome

Now let’s go back to the topic

Yes, it has, but I hate using cables and connectors; the whole point of me installing Klipper was input shaping, pressure advance, and wireless control over wifi

hi @Arksine, thanks for the effort you put in finding a solution

I usually don’t use a VPN when I am using my 3d printer
(My VPN is open VPN app, and I bought some servers from the internet for it ( pretty common in my country ))
The thing is, it’s impossible to use Klipper with this VPN on
In my phone, if VPN is turned on, I can’t open Klipper IP and use 3d printer (in pc it doesn’t affect, but I usually don’t use it)

Hi @Sineos, thanks for you’re reply,
Is Armbian something like the main system os for CB1?

About Armbian:
I have to be honest – I’m a bit scared of switching.
The main reason is that my 3D printer is my only source of income (around 150– 200 per month), and I really, I mean really, need this money. If something goes wrong, I could lose my customers.

My concerns are:

  1. I don’t know exactly which Armbian image I should choose for the CB1 (there are multiple versions on the website).
  2. I don’t have much experience with Armbian installation, so I’m afraid of making mistakes.
  3. Setting up the EBB36 and Klipper again is not easy for me.
  4. Most importantly, I can’t afford downtime, since my business depends on this printer.

Another question:
Can I remove my current SD card from the CB1, insert a new one, and try Armbian safely?
If something goes wrong, can I simply put back the old SD card and continue as before?
Or is it more like a Windows PC, where BIOS/drivers might get faulty settings after swapping the HDD that has the os on it?

Your CB1 is running a Linux version that is specifically adapted for this type of hardware. What you are running now is provided by BTT, and honestly speaking, BTT should focus on nice hardware and leave OS and kernel development to people who know what they are doing.

Armbian also provides such Linux versions, and these folks really do know their stuff.

BIGTREETECH CB1 - Armbian → Server images with Armbian Linux v6.12

It will not feel any different to what you are using today.

  1. Download image
  2. Use https://etcher.balena.io/ to flash the image to an SD card
  3. Get the IP address of the box from your router
  4. For SSH, you need to login as root and use the password 1234
  5. Finish the setup process by creating a local user and setting their password
  6. Run sudo apt update followed by sudo apt full-upgrade
  7. Install Klipper and the rest with KIAUH

Get a backup of your current config and use a new SD card. You can simply return to your previous installation by switching SD cards.

No. Just make sure you always power down your devices properly. Cutting power or unclean shutdowns can severely damage SD cards. This has nothing to do with Armbian or not.

2 Likes

Hi @Sineos, thanks for your reply.

I’ll give Armbian a try and share the results here. It may take a while since I currently have a few customer projects to finish.

It’s been around four months since I started building my own CNC (I’ve already bought two Delta B3 servos and a Mesa card).

When the Mesa cards arrived, I started comparing them with Biqu boards, and honestly, the difference in quality is huge. The Mesa cards feel solid, new, and shiny, while the Biqu boards seem recycled — they even smell a bit like burnt nylon.

I have quite a few big boards (Octopus Pro, ERCEF, MMBCube, U2C, CB1, EBB36, and more), but most of them are somewhat weak in terms of build quality. I can’t comment much on the quality of the electronic components themselves, but at least the PCBs didn’t feel as solid.

Yes, they’re noob-friendly and reasonably well documented, but honestly, far from perfect.

hi @Sineos

i tried armbian as you suggested

i tried using btt own software for 7 day and for another 7 day i used armbian (for comparing two software)

the difference in number of errors was pretty much same

so, i finally gave up and started to use cb1 with a lan cable

this is working much better and iam getting much less error with it

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.