slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.34k stars 1.3k forks source link

Can't connect to octoprint over SSL #3203

Open taxilian opened 8 years ago

taxilian commented 8 years ago

I have my octoprint server exposed via an SSL port so I can access it remotely, but slic3r can't use it. Is this something that can be trivially fixed? Would be cool =]

Awesome tool, keep up the good work.

lordofhyphens commented 8 years ago

The connection code, IIRC, uses the Perl cURL library. Should be fixable in code w/o much trouble.

"Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.

On Wed, Jan 13, 2016 at 1:10 AM, Richard Bateman notifications@github.com wrote:

I have my octoprint server exposed via an SSL port so I can access it remotely, but slic3r can't use it Is this something that can be trivially fixed? Would be cool =]

Awesome tool, keep up the good work

— Reply to this email directly or view it on GitHub https://github.com/alexrj/Slic3r/issues/3203.

taxilian commented 8 years ago

If you can give me an idea of where to start looking I may be able to fix it myself?

lordofhyphens commented 8 years ago

It'll have to wait until I can get in front of the codebase.

"Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.

On Wed, Jan 13, 2016 at 12:32 PM, Richard Bateman notifications@github.com wrote:

If you can give me an idea of where to start looking I may be able to fix it myself?

— Reply to this email directly or view it on GitHub https://github.com/alexrj/Slic3r/issues/3203#issuecomment-171389892.

taxilian commented 8 years ago

Meh, I'm currently sitting in a datacenter re-installing servers; as much as I'd like to, I probably shouldn't be playing with my 3d printer right now anyway =] No rush, just wanted to let you know I'm willing to help as I can to solve the problem.

Richard

On Jan 13, 2016, at 11:42 AM, Joseph Lenox notifications@github.com wrote:

It'll have to wait until I can get in front of the codebase.

"Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.

On Wed, Jan 13, 2016 at 12:32 PM, Richard Bateman notifications@github.com wrote:

If you can give me an idea of where to start looking I may be able to fix it myself?

— Reply to this email directly or view it on GitHub https://github.com/alexrj/Slic3r/issues/3203#issuecomment-171389892.

— Reply to this email directly or view it on GitHub https://github.com/alexrj/Slic3r/issues/3203#issuecomment-171393546.

lordofhyphens commented 8 years ago

I remembered that I had committed a fix for something else but should be in the same area, check lib/Slic3r/GUI/Tab.pm (reference: https://github.com/alexrj/Slic3r/pull/2531/files)

"Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.

On Wed, Jan 13, 2016 at 12:45 PM, Richard Bateman notifications@github.com wrote:

Meh, I'm currently sitting in a datacenter re-installing servers; as much as I'd like to, I probably shouldn't be playing with my 3d printer right now anyway =] No rush, just wanted to let you know I'm willing to help as I can to solve the problem.

Richard

On Jan 13, 2016, at 11:42 AM, Joseph Lenox notifications@github.com wrote:

It'll have to wait until I can get in front of the codebase.

"Nothing unreal exists." - Kiri-kin-tha's First Law of Metaphysics.

On Wed, Jan 13, 2016 at 12:32 PM, Richard Bateman < notifications@github.com> wrote:

If you can give me an idea of where to start looking I may be able to fix it myself?

— Reply to this email directly or view it on GitHub https://github.com/alexrj/Slic3r/issues/3203#issuecomment-171389892.

— Reply to this email directly or view it on GitHub < https://github.com/alexrj/Slic3r/issues/3203#issuecomment-171393546>.

— Reply to this email directly or view it on GitHub https://github.com/alexrj/Slic3r/issues/3203#issuecomment-171394341.

lordofhyphens commented 7 years ago

Moving to 1.3.1, I'd like to do this in xsgui instead of Perl.

keithellis74 commented 6 years ago

Probably related to this. I use OctoPi as installed with the dietpi distro, By default this opens up the OctoPi instance on port 5000. Slic3r does not have an option to change the port. even if the IP address 192.168.xxx.xxx:5000 is used, it appears just to be checking port 80. The following error message is received.  slic3r error  Can a port option be added please.

ghost commented 5 years ago

Just to let everybody know, i started working on this yesterday and got proof-of-concept fix done. I'm currently in the proces of improving it and making it configurable. Since @lordofhyphens posted this

Moving to 1.3.1, I'd like to do this in xsgui instead of Perl.

Should I still make a pull request with the fix?

lordofhyphens commented 5 years ago

@Stiixxy did you have to add a new Perl module for a dependency?

ghost commented 5 years ago

@lordofhyphens yes i beleive it required the LWP::Protocol::https module. I'm gonna recheck it when i'm working on it again. I got a https fix and http credentials for basic authentication because that's how my octoprint is setup.