Cura OctoPrint Connection plugin


#22

Yes there will.

There was a bit of an oversight in Cura 4 beta 1 and the plugin marketplace where it was not possible to publish a plugin for both 3.6 and 4.0. So I have to wait until Cura 4 beta 2 is released until I can publish an update.


#23

Because the release of Cura 4.0 beta 2 still has not been released, I have worked around the issue mentioned above, and created a version of the plugin that is compatible with Cura 4.0 beta 1 (and should still work with beta 2 and beyond).

http://files.fieldofview.com/cura/OctoPrintPlugin-v6.0.0-2019-01-28T16_19_16Z.curapackage

Download the file, then drop it into a running Cura application and restart Cura.


#24

This seems to be an amazing feature, but I cannot get it to work on both Cura 3.6 and 4.0. Did someone face an issue with the API key?

I just copy the key from octoprint into cura, but it does not work. Error message: "The API key is not valid. You can get the API key through the Octoprint web page."

Cheers,

Gabriel


#25

Are you sure you are entering the whole API key, and nothing but the API key (no leading/trailing spaces). Have you tried the "Request" button in the Connect to OctoPrint dialog?


#26

Yes, I verified that I am copying the whole (and only) the API key. I assume the problem could be related to my reverse proxy since I am using haproxy. I will disable it and try again.

Which request button? I don't see it.

Thanks for your reply.


#27

It should run fine through haproxy, if haproxy is properly configured.

Could you post your cura.log (found via Help -> Show configuration folder) somewhere (dropbox, google drive, wetransfer, pastebin.com, ...) and give me a link? I'ld like to see if the plugin is doing something unexpected.


#28

The request button worked :wink: The API key cura got using the request button is not the same as the one I was copying from the octoprint settings. I don't know why, but I am glad it works now.

Very nice tool :wink: Thanks!


#29

With the "Request" button you get an Application Key. They are new in OctoPrint 1.3.10, and conceived to give you more finegrained control over which applications can access your OctoPrint instance (as well as making the copy/paste thing less prone to issues).

You can revoke access to Cura, without changing your API key (which would also revoke access to all other applications that use the API key)
See https://docs.octoprint.org/en/master/bundledplugins/appkeys.html