gdombiak / OctoPod

Free open source client for OctoPrint
Apache License 2.0
225 stars 42 forks source link

Synology reverse proxy #554

Closed 00ihsan closed 2 years ago

00ihsan commented 2 years ago

I get a ssl error when trying to connect over reverse proxy. I have literally tried (almost) everything. Please help and ask what info you need.

gdombiak commented 2 years ago

Hi @00ihsan,

I would need more info about your set up and error to be able to help with this. If the cert is self-signed then you can open OctoPod and go to Settings -> Security and disable certificate validation.

HTH, Gaston

00ihsan commented 2 years ago

Hi Gaston,

It is a cert from lets encrypt and the error is this:

image

gdombiak commented 2 years ago

Hmm, letsencrypt certs should be accepted by iOS. Have you tried disabling cert validation as I suggested as a workaround? Let me know if that workaround works. Your connection will still use SSL so it will be encrypted. The only downside of this workaround is that you could be vulnerable to what is known as man-in-the-middle attack where a hacker posses as your server and somehow was able to redirect traffic to go through their server before reaching to your printer. IMHO, low profit for such level of effort so extremely low chances of this happening.

Regards, Gaston

00ihsan commented 2 years ago

Hi,

I have already tried that.

Op 23 jan. 2022 om 03:28 heeft Gaston Dombiak @.***> het volgende geschreven:

 Hmm, letsencrypt certs should be accepted by iOS. Have you tried disabling cert validation as I suggested as a workaround? Let me know if that workaround works. Your connection will still use SSL so it will be encrypted. The only downside of this workaround is what is known as man-in-the-middle attack where a hacker posses as your server and somehow was able to redirect traffic to go through their server before reaching to your printer. IMHO, low profit for such level of effort so extremely low chances of this happening.

Regards, Gaston

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.

gdombiak commented 2 years ago

@00ihsan,

Would you mind if I try connecting to your server so I can debug this issue? I will be able to see exactly what is going on and be able to help. If you are ok with this, you can reach out to me via Facebook or my gmail account at gdombiak.

Gaston

gdombiak commented 2 years ago

It was a setup issue so closing ticket. Ping me if you need any help with this.

Gaston