Notifications
Clear all

0.7.0 RC1 Beep when printing  

Page 1 / 2
  RSS
Olafejs
(@olafejs)
Member
0.7.0 RC1 Beep when printing

I update to 0.7.0 RC1 and when printing sometime printer BEEP's and on LCD is Error Resolved. It is annoying because I don't know what error was 😛 Print is printing with 0 problem.

Posted : 04/10/2022 4:55 pm
Tojik
(@tojik)
Member Moderator
RE: 0.7.0 RC1 Beep when printing

Yea, the error reporting is reacting to the first http request failing, we should make it complain when there are more of those in a row. For now, please disable the sound, or try to improve the wi-fi situation. I am in the process of designing a new rpi einsy adapter, that would do RF shielding, but other things have taken priority from this endeavor. Sorry for the annoyance.

Posted : 04/10/2022 5:14 pm
Olafejs liked
Olafejs
(@olafejs)
Member
Topic starter answered:
RE: 0.7.0 RC1 Beep when printing

 

Posted by: @tojik

Yea, the error reporting is reacting to the first http request failing, we should make it complain when there are more of those in a row. For now, please disable the sound, or try to improve the wi-fi situation. I am in the process of designing a new rpi einsy adapter, that would do RF shielding, but other things have taken priority from this endeavor. Sorry for the annoyance.

HI, this is no case that wifi is weak 🙂

Pi Zero has no lost of signal but Prusa Link beeps randomly 10-15 beeps per hour ;/ and on connect page get status offline very often.

Posted : 05/10/2022 4:29 pm
Tojik
(@tojik)
Member Moderator
RE: 0.7.0 RC1 Beep when printing

Oh yeah, the fix to this issue might be coming in the coming weeks. It looks like a command breaks the next telemetry handling and that times out, making the printer go offline for a bit and sounding the alarm on the printer. Also, nice Ubiquiti you got there. I recently found out I love them. 😁

Posted : 05/10/2022 4:50 pm
Olafejs liked
Zbigniew Trzepizur
(@zbigniew-trzepizur)
Trusted Member
RE:

I'll just add the moment before mine's LCD brightness goes up and it says "Error resolved" (I have disabled the beeps), it briefly says something along the lines of having received HTTP Status 5xx from the server.

Posted : 05/10/2022 6:39 pm
Tojik
(@tojik)
Member Moderator
RE: 0.7.0 RC1 Beep when printing

It could be a bit of a catch all, but yea, this might get solved real soon without the need to update or do anything on your part. here's hoping

Posted : 05/10/2022 6:57 pm
Zbigniew Trzepizur
(@zbigniew-trzepizur)
Trusted Member
RE: 0.7.0 RC1 Beep when printing

Some more details from my side: when my printer beeps and displays an error, one of the following kinds of errors gets logged to /var/logs/daemon:

Oct 6 13:30:07 wawrzyniec connect-printer[517]: ERROR: HTTPSConnectionPool(host='connect.prusa3d.com', port=443): Read timed out. (read timeout=30) {loop_step():724}

Oct 6 13:36:47 wawrzyniec connect-printer[517]: ERROR: HTTPSConnectionPool(host='connect.prusa3d.com', port=443): Max retries exceeded with url: /p/telemetry (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x72dfa610>, 'Connection to connect.prusa3d.com timed out. (connect timeout=30)')) {loop_step():720}

It's not caused by my Raspi's connection quality, as I'm getting similar results while querying the server from my desktop that's connected via wired ethernet:

zbig@zbig-macmini ~ % curl  https://connect.prusa3d.com 
curl: (28) Failed to connect to connect.prusa3d.com port 443 after 75011 ms: Operation timed out

Sometimes it responds immediately and sometimes times out, seemingly randomly. Is it possible that's some kind of a throttling or rate-limiting mechanism kicking in at the Linode side? I've noticed that the Prusa Link software running on the Pi seems to recreate/recycle the connections on a regular basis. Maybe some twiddling of the python-requests connection pool parameters could help with keeping a long-running connection and sticking to it?

Posted : 06/10/2022 11:49 am
Tojik
(@tojik)
Member Moderator
RE:

Mcbig already told me our connections don't hold as long as they should, dying every 20s or so. But I really have to do cameras. Go watch last prusalive. He said it, he's waiting for those to release Conmect. And guess who still does not have them done 😬😬 I don't wanna sound like a broken record, but it looks like out of the three printers dev, staging, prod, only the prod keeps beeping. so the other ones are either muted, or fixed. I also don't see these timeouts in logs anymore. So I'm hopeful

Posted : 06/10/2022 11:56 am
Zbigniew Trzepizur
(@zbigniew-trzepizur)
Trusted Member
RE: 0.7.0 RC1 Beep when printing

Sure thing, no worries 🙂

Posted : 06/10/2022 11:59 am
Tojik
(@tojik)
Member Moderator
RE: 0.7.0 RC1 Beep when printing

If you wish to provide free work, the code is open 😅. This thing will be in prusa3d/Prusa-Connect-SDK-Printer probably in models.py or __init__.py (heh model that sends itself oops)

Posted : 06/10/2022 11:59 am
Tojik
(@tojik)
Member Moderator
RE: 0.7.0 RC1 Beep when printing

Hello, the new version of Connect should be up. Interested to see if the beeping stops

Posted : 13/10/2022 7:59 am
Olafejs
(@olafejs)
Member
Topic starter answered:
RE: 0.7.0 RC1 Beep when printing

There has been silence for 2 hours 😀 

Posted : 13/10/2022 10:04 am
Tojik liked
Zbigniew Trzepizur
(@zbigniew-trzepizur)
Trusted Member
RE: 0.7.0 RC1 Beep when printing

Same here, no beeps, no LCD messages, no timeouts in /var/log/daemon.log so far! Also, no more spurious "Offline-Online" status changes on the Connect page for me. Good job, thank you Tojik!

Posted : 13/10/2022 10:49 am
Tojik liked
Tojik
(@tojik)
Member Moderator
RE: 0.7.0 RC1 Beep when printing

Hope it stays that way 🙏

Posted : 13/10/2022 10:53 am
Zbigniew Trzepizur
(@zbigniew-trzepizur)
Trusted Member
RE: 0.7.0 RC1 Beep when printing

Sadly, the beeping and connection timeouts are back for me. Don't feel pressured or anything, just informing. I've just disabled the sound again.

Posted : 14/10/2022 10:37 am
Olafejs
(@olafejs)
Member
Topic starter answered:
RE: 0.7.0 RC1 Beep when printing

I confirm 🙁

Posted : 14/10/2022 10:37 am
Tojik
(@tojik)
Member Moderator
RE: 0.7.0 RC1 Beep when printing

I thought i posted a response... weird...
Could I please have the logs? I'd hope it behaves different from the last time. Thank you

Posted : 14/10/2022 12:53 pm
Olafejs
(@olafejs)
Member
Topic starter answered:
RE: 0.7.0 RC1 Beep when printing

 

Posted by: @tojik

I thought i posted a response... weird...
Could I please have the logs? I'd hope it behaves different from the last time. Thank you

How can I get you logs ? 🙂

Posted : 14/10/2022 1:00 pm
Tojik
(@tojik)
Member Moderator
RE:

In the web UI under settings there should be a dropdown at the bottom, send the daemon log please. If the forum complains about file size, zip it, that will shrink it considerably

Posted : 14/10/2022 1:09 pm
Tojik
(@tojik)
Member Moderator
RE: 0.7.0 RC1 Beep when printing

Logs received. Okay, so the same read timeouts all over again 🙁

Posted : 14/10/2022 1:44 pm
Page 1 / 2
Share: