Failed registration to Prusa Connect
 
Notifications
Clear all

Failed registration to Prusa Connect  

  RSS
Vlastimil
(@vlastimil)
Member
Failed registration to Prusa Connect

I've bought the Raspi W but didn't read the guide properly and bought a standard header. Now I'm waiting for the 18mm header to be shipped and meanwhile thought I could test it using USB connection. There are two issues, might be related.

Printer is MK3S with 3.10.1 RC1 firmware. Flashed latest prusalink according to instructions. Raspi W is powered over one USB, the other USB has USB-OTG dongle with the USB-A cable to the printer. Over ssh, created /etc/Prusa-Link/prusa-link.ini with USB connection as suggested here: https://forum.prusa3d.com/forum/postid/491524/

The wizard finds the printer as Unknown for some reason, but I can proceed with registration.

The last step that should redirect me to Prusa Connect to finish the adding however failed with 500 Internal Server Error.

I found this in daemon.log:

Aug 28 21:07:21 PrusaLink prusa.link.web.errors[518]: ERROR: #012  File "/home/pi/.local/lib/python3.7/site-packages/poorwsgi/wsgi.py", line 1069, in __request__#012    args = self.handler_from_table(request)#012  File "/home/pi/.local/lib/python3.7/site-packages/poorwsgi/wsgi.py", line 989, in handler_from_table#012    return handler(req)       # call right handler now#012  File "/home/pi/.local/lib/python3.7/site-packages/prusa/link/web/wizard.py", line 40, in handler#012    return fun(req)#012  File "/home/pi/.local/lib/python3.7/site-packages/prusa/link/web/wizard.py", line 196, in wizard_finish_post#012    code = printer.register()#012  File "/home/pi/.local/lib/python3.7/site-packages/prusa/connect/printer/__init__.py", line 537, in register#012    "type": self.__type.value[0],#012AttributeError("'NoneType' object has no attribute 'value'") {internal_server_error():20}

Now the wizard is no longer available, and on the Settings page I see

PRUSA CONNECT connection status   Connection failed

Encountered 4XX problems while communicating to Connect( https://connect.prusa3d.com:8080)

 

Posted : 28/08/2021 7:17 pm
Vlastimil
(@vlastimil)
Member
Topic starter answered:
Resolved...

OK, deleted the ini per troubleshooting to force new wizard run and this time it recognized MK3S instead of Unknown and registration succeeded. Maybe you'll find the report useful anyway. At least it IMHO shouldn't be getting to the state where the wizard ultimately failed but can't be retried anymore.

Posted : 28/08/2021 7:27 pm
misan
(@misan)
Member Moderator
Same here

My registration went well (at least no error I could see along the process). But later no printer showed up on Prusa Connect. I am new here, but thanks to your comment I assume that by deleting prusa_printer_settings.ini from /home/pi folder and restarting the board I will get a new chance. Here I go again.

Posted : 01/10/2021 4:09 pm
Angelo
(@angelo)
Member
Can't see any printer on Prusa Connect

Where i can find this file to be deleted? I can't see any printer on Prusa Connect

Angelo Zappalà

Posted : 21/10/2021 12:46 pm
misan
(@misan)
Member Moderator
Use ssh

You need to connect to the printer's IP address using ssh (use putty program if you use windows). 

User: pi Password: raspberry (unless you have changed the password)

 

Posted : 21/10/2021 12:53 pm
Share: