2.5.0 seems reluctant to connect to my Octoprint
 
Notifications
Clear all

2.5.0 seems reluctant to connect to my Octoprint  

  RSS
tre4b
(@tre4b)
Trusted Member
2.5.0 seems reluctant to connect to my Octoprint

This has always worked fine up to now, since I upgraded to 2.5.0 I constantly get this message. "Error uploading to print host: send failed since rewinding of the data stream failed:"

 

 If I shut down and restart prusa slicer a few times then eventually it sends the file fine.   Anyone got any idea what is causing this and how to fix it?

Posted : 11/10/2022 7:26 pm
tre4b
(@tre4b)
Trusted Member
Topic starter answered:
RE: 2.5.0 seems reluctant to connect to my Octoprint

Just to mention if I go into my printer settings tab and click on the cog it shows me the right configuration and hitting test on the Hostname bit returns "Connection to octoprint works correctly"

Also tonight I cannot get the restarting trick to work 🙁

Posted : 11/10/2022 7:29 pm
towlerg
(@towlerg)
Noble Member
RE: 2.5.0 seems reluctant to connect to my Octoprint

If you click on edit physical printer, does it look like the attached. Are you sure API Key/Password is correct?

Posted : 12/10/2022 4:39 pm
tre4b
(@tre4b)
Trusted Member
Topic starter answered:
RE: 2.5.0 seems reluctant to connect to my Octoprint

Yep, as I said above if I go into the edit physical printer and run the connection test it says "Connection to octoprint works correctly".   Only thing is it doesn't.   I've had to start exporting to my desktop and then copying it to octoprint in the web interface 🙁   Never had this issue before...

 

Posted : 12/10/2022 4:53 pm
towlerg
(@towlerg)
Noble Member
RE: 2.5.0 seems reluctant to connect to my Octoprint

I think the test function just checks connectivity not matching API's. There have been a few changes to Octoprint security lately.

Just to shut me up, can I suggest you try entering the API key again?

Posted : 13/10/2022 3:28 pm
RandyM9
(@randym9)
Honorable Member
RE: 2.5.0 seems reluctant to connect to my Octoprint

+1

I think I had to do this after upgrade to 2.5.0. Worth a try.

Posted by: @towlerg

I think the test function just checks connectivity not matching API's. There have been a few changes to Octoprint security lately.

Just to shut me up, can I suggest you try entering the API key again?

 

Posted : 14/10/2022 4:10 am
towlerg
(@towlerg)
Noble Member
RE: 2.5.0 seems reluctant to connect to my Octoprint

BTW I used the Global API Key not an  individual user one.

Posted : 14/10/2022 3:29 pm
tre4b
(@tre4b)
Trusted Member
Topic starter answered:
RE: 2.5.0 seems reluctant to connect to my Octoprint

I have tried the Global API key, and I have tried generating a new API key, neither works.   The test works every time on both though if I knock of the SSL check then it fails as PrusaSlicer says it is unable to check the certificate!

It feels like this is something going wrong on my PrusaSlicer that is not related to the actual connection at all.  I have no idea what it means about rewinding mime/post data.   Is there anywhere that I can get logs or something?

Posted : 18/10/2022 7:58 am
Neophyl
(@neophyl)
Illustrious Member
RE: 2.5.0 seems reluctant to connect to my Octoprint

Have a read of https://github.com/prusa3d/PrusaSlicer/issues/7716

 

Posted : 18/10/2022 10:51 am
tre4b liked
tre4b
(@tre4b)
Trusted Member
Topic starter answered:
RE: 2.5.0 seems reluctant to connect to my Octoprint

That was it thank you Neophyl.   I put in the https:// and now the printer is accepting the transmissions perfectly.  Thank you for your help

Posted : 18/10/2022 1:40 pm
Neophyl
(@neophyl)
Illustrious Member
RE: 2.5.0 seems reluctant to connect to my Octoprint

It always pays to check github for both open and closed issues, especially some of the more 'technical' ones.  Anyway glad you got it sorted.

Posted : 18/10/2022 1:42 pm
towlerg
(@towlerg)
Noble Member
RE: 2.5.0 seems reluctant to connect to my Octoprint

That interesting, if you look at the attachment in my post, I don't use HTTPS but it works. Maybe an issue with browser. It seem to work for both Waterfox and Firefox. Maybe it's cached or something? Maybe it's a browser default?

Posted : 18/10/2022 2:00 pm
tre4b
(@tre4b)
Trusted Member
Topic starter answered:
RE: 2.5.0 seems reluctant to connect to my Octoprint

I'm using edge (chromium) so it could be that.  Both Google and MS seem to be putting more and more security features in the browser which while a good thing in general do tend to cause these kinds of picky issues at time!

 

Posted : 19/10/2022 8:43 am
Share: