Jump to content
ColinM

Cura 4.4.0 Octoprint "Octoprint error forbidden"

Recommended Posts

Posted · Cura 4.4.0 Octoprint "Octoprint error forbidden"

I have recently got this problem where cura keeps putting up pop up with the words  "Octoprint error forbidden"

And although after slicing it says "print with octoprint" and it says it will queue the print it doesnst send or store the print to octoprint.

 

I can see the camera attached to the pi 3b+ in the monitor tab bu on that tab it says "Printer does not accept commands"

 

If i go to octoprint in web browser I can control upload and print as usual  - its just the Cura link that is not working. 

 

This was all working fine at the weekend 

Share this post


Link to post
Share on other sites
Posted · Cura 4.4.0 Octoprint "Octoprint error forbidden"

Hi, I'm the creator of the Cura OctoPrint Connection plugin.

 

What version of OctoPrint do you use? And what version of the OctoPrint Connection plugin? Does this happen all the time, or intermittently?

 

Can you upload your octoprint.log somewhere and post a link to it? You can get it through the OctoPrint web interface via OctoPrint Settings -> OctoPrint -> Logging.

Share this post


Link to post
Share on other sites
Posted · Cura 4.4.0 Octoprint "Octoprint error forbidden"

octoprint 1.3.12. plugin 3.5.11

Not sure how to send log file but looking in it there are loads of "tornado.access - WARNING - 409 "

 

 

Share this post


Link to post
Share on other sites
Posted (edited) · Cura 4.4.0 Octoprint "Octoprint error forbidden"
3 hours ago, ColinM said:

Not sure how to send log file

 

Copy/paste it into pastebin.com, post the link here. Or put it in dropbox and share a link. Send it to yourself with wetransfer.com, and copy the link here. Drag and drop it into a message here. The options are many.

 

  

3 hours ago, ColinM said:

there are loads of "tornado.access - WARNING - 409 "


You are leaving out the interesting bit, that comes after the 409. That's why I ask for the full log; to see what is causing the warning, how often it happens, etc.

Edited by ahoeben

Share this post


Link to post
Share on other sites
Posted (edited) · Cura 4.4.0 Octoprint "Octoprint error forbidden"

It looks like your API key is no longer correct. The plugin should handle that more gracefully in a future version.

 

Could you check the "Connect to OctoPrint" dialog, and see if it says your API key is accepted? If not, could you try the "Request" button to get a new key?

Edited by ahoeben

Share this post


Link to post
Share on other sites
Posted · Cura 4.4.0 Octoprint "Octoprint error forbidden"

I pressed connect and then Request whent went to web I pressed allow as below but back in cura it did not have API code and Error still occurred

 

 

image.thumb.png.a40df3787543235ef1157f26b2f7ce16.png

image.thumb.png.04ad6cdff250ad17eb0a5090c132d01c.png

 

Share this post


Link to post
Share on other sites
Posted · Cura 4.4.0 Octoprint "Octoprint error forbidden"

I even added API that I copied within octoprint to cura same result!!

Share this post


Link to post
Share on other sites
Posted · Cura 4.4.0 Octoprint "Octoprint error forbidden"

Ok solved refreshed API number in Octoprint Saved it then copied it back into CURA then disconnected and reconnected it then it appears to be working!!!

I looked in the log files when it was failing and although I had the correct IP address in the Box above ending 0.15 the log showed 0.15 I assume this must be from not updating the API correctly.  Although I dont understand how CURA could see the webcam but not connect to printer

Ill see how it goes - thanks for help

image.thumb.png.917636a97cba50605b477c68f32968cd.png

 

Share this post


Link to post
Share on other sites
Posted · Cura 4.4.0 Octoprint "Octoprint error forbidden"

The 192.168.0.15 address is the address of the computer Cura is running on. 192.168.0.16 is the computer OctoPrint is running on.

 

The webcam is not part of OctoPrint; it is provided by a different software named mjpegstreamer with OctoPi. It has no access control.

 

Good to know you got it working again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Welcome to the Ultimaker Community of 3D printing experts. Visit the following links to read more about our Terms of Use or our Privacy Policy. Thank you!