fieldOfView / Cura-OctoPrintPlugin

Cura plugin which enables printing directly to OctoPrint and monitoring the process
GNU Affero General Public License v3.0
484 stars 74 forks source link

Increase API key timeout value #213

Closed kylenahas closed 3 years ago

kylenahas commented 3 years ago

Newer versions of Octoprint may take longer to connect with an API key, especially on discovery. See issue #211 for more information.

fieldOfView commented 3 years ago

I still want to know what is happening before just increasing a timeout to what I think is an unrealistically long period. Please continue the conversation in the issue instead of here.

kylenahas commented 3 years ago

Totally fair, thanks.

fieldOfView commented 3 years ago

I'm sorry, I'm going for 20 seconds and merging this first only to change the one number that you changed makes little sense.

Rawgeek commented 3 years ago

Had the same issue today having message that it wasn't able to connect. Then checked out request manually, turns out it was 7.5 seconds minimum per request with raspberry pi b+ v1.2 with Raspberry pi cam. I was seeing it going up to 15 seconds. Printer: Ender 3 v2. After disconnecting from printer it went down to ~5 seconds and I was finally able to connect (but with printer disconnected). Would be great to have that setting as variable somewhere in connection settings

fieldOfView commented 3 years ago

Please don't use this closed PR for discussion, but use the issue instead: https://github.com/fieldOfView/Cura-OctoPrintPlugin/issues/211

There you'll find that I have already changed the timeout, and a fixed version is awaiting approval for the Marketplace. There's even a development snapshot to try.