Skip to content

Error When Trying to Connect to Octoprint Via PrusaSlicer on Linux #3857

Open
@chemputer

Description

@chemputer

Version

2.2.0rc4, as well as 2.1.1, both have the issue. I've also tried both the .appimage versions, and the .tar.gz versions.

Operating system type + version

POP OS! 19.10 (based on Ubuntu 19.10) uname -a output: Linux (hostname) 5.3.0-7629-generic #31~1581628825~19.10~f90b7d5-Ubuntu SMP Fri Feb 14 19:56:45 UTC x86_64 x86_64 x86_64 GNU/Linux

Behavior

  • Describe the problem
    I am attempting to connect to my octoprint instance via the built-in mechanism. It fails, saying the following in a pop-up window whenever I click test. This works aboslutely fine on my Windows 10 machine, running the same PrusaSlicer version, with the same OctoPrint instance, same hostname, and API key. They're both on the same network.

I've tried adding CA files, varying from Let's Encrypt's own, to the root certificate that my own browser seems to be accepting just fine, but nothing works. I suspect that it is due to the haproxy?

Could not connect to OctoPrint: Peer certificate cannot be authenticated with given CA certificates:
SSL certificate problem: unable to get local issuer certificate
[Error 60]
Note: OctoPrint version at least 1.1.0 is required.
  • Steps needed to reproduce the problem
    Set up an octoprint version 1.4.0 instance, set it up behind haproxy, setup with a Let's Encrypt wildcard cert for one of my domains. I followed this guide to setup octoprint and haproxy, and then this guide to enable SSL, but instead of a self-signed cert, I used a Let's Encrypt Wildcard Cert. This is all running on an arm based Rock64. Try connecting PrusaSlicer on Linux to it.

  • Expected Results
    For it to connect.

  • Actual Results
    It fails to connect, giving the error mentioned above, and the cmd line output below when using --loglevel 4.

Is this a new feature request? No.

[2020-03-17 20:53:34.961254] [0x00007fba7440d540] [info]    OctoPrint: Get version at: http://octo.turnerb.com/api/version
[2020-03-17 20:53:34.981864] [0x00007fba7440d540] [error]   OctoPrint: Error getting version: Peer certificate cannot be authenticated with given CA certificates:
SSL certificate problem: unable to get local issuer certificate
[Error 60], HTTP 0, body: ``
[2020-03-17 20:54:14.104138] [0x00007fba7440d540] [info]    OctoPrint: Get version at: https://octo.turnerb.com/api/version
[2020-03-17 20:54:14.116921] [0x00007fba7440d540] [error]   OctoPrint: Error getting version: Peer certificate cannot be authenticated with given CA certificates:
SSL certificate problem: unable to get local issuer certificate
[Error 60], HTTP 0, body: ``

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions