Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print Server Upload - HTTPS not supported #4794

Open
PrestonL opened this issue Apr 26, 2019 · 12 comments · May be fixed by #4795
Open

Print Server Upload - HTTPS not supported #4794

PrestonL opened this issue Apr 26, 2019 · 12 comments · May be fixed by #4795

Comments

@PrestonL
Copy link

Describe the bug
Slic3r is not able to connect to Octoprint using HTTPS

To Reproduce
Steps to reproduce the behavior:

  1. Go to Printer Settings and enter the Hostname and API key of an octoprint server
  2. Click on "test"
  3. See error:

I wasn't able to connect to OctoPrint (501 Protocol scheme 'https' is not supported (LWP::Protocol::https not installed)). Check hostname and OctoPrint version (at least 1.1.0 is required).

Expected behavior
Slic3r should be able to use HTTPS to communicate with Octoprint

Desktop (please complete the following information):

  • OS: macOS 10.14.4
  • Version 1.3.1-dev-85dd663
@lordofhyphens
Copy link
Member

#3718

I've been avoiding adding SSL/HTTPS support because it adds yet another Perl dependency to the build environment for publishing.

@lordofhyphens
Copy link
Member

Dupe of #3203

@lordofhyphens
Copy link
Member

should pop up over at https://dl.slic3r.org/dev/mac/branches/ PR4795 when it's done

@PrestonL
Copy link
Author

Just downloaded and ran PR4795, and am still receiving the same error:

Screen Shot 2019-04-26 at 7 13 45 PM

Anything else I need to do?

@lordofhyphens
Copy link
Member

@PrestonL LWP::Protocol::https should be installed; I've tried to install something different.

@lordofhyphens
Copy link
Member

@PrestonL #tryitnow

@PrestonL
Copy link
Author

Which build will that be on? I'm only seeing "slic3r-1.3.1-dev-f488cc9-osx-PR4795.dmg" on the automatic development builds, and it's unchanged from the one above.

@lordofhyphens
Copy link
Member

remmina_Macslave2 (Mojave)_192 168 1 132_2019427-203515 366572

Looks like it should be there, looking at f488cc9 build

@PrestonL
Copy link
Author

I see https.pm in the same folder on the same build, but I still receive the same error trying to connect to an OctoPrint server with SSL enabled.

@lordofhyphens
Copy link
Member

Ok, I don't currently have a solution then for you.

@lordofhyphens
Copy link
Member

@PrestonL I've got one more thing to try; merged in some work by @Salandora.

@PrestonL
Copy link
Author

That did result in a different error message when using the "Test" button.

Screen Shot 2019-04-27 at 10 12 11 PM

"Sent to Printer" results in a different error message:

Screen Shot 2019-04-27 at 10 13 09 PM

If I add an https:// prefix to the address and press "Test" or "Send to Printer" I get this error (it reads the port as :80 even if I add :443):

Screen Shot 2019-04-27 at 10 14 01 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants