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

Unable to connect with TLS encryption #17

Open
sergio-ns opened this issue Dec 27, 2020 · 3 comments
Open

Unable to connect with TLS encryption #17

sergio-ns opened this issue Dec 27, 2020 · 3 comments

Comments

@sergio-ns
Copy link

Hello,
first of all nice job with this container.
I'm running the container on a QNAP NAS, I'd like to use it to send emails via Protonmail from my ownCloud instance also running on docker.
After the initial setup, I configured the smtp connection details in ownCloud but when I try to send a test email I get this error:
A problem occurred while sending the email. Please revise your settings. (Error: Unable to connect with TLS encryption)

I know you are not supposed to support ownCloud issues but I was wondering if you could give me some hint to troubleshoot this problem.

Things I tried:

  • checked that the service is running on port 1025 (it accepts telnet connections)
  • changing the encryption method to something else than STARTTLS: the error changes.
    It really seems that ownCloud routing reaches out to the Bridge but something fails in the authentication.

See here a screenshot of the email setup page in ownCloud.

Thanks in advance
Regards
S.

@shenxn
Copy link
Owner

shenxn commented Dec 28, 2020

One possible reason is that the bridge uses a self-signed certificate for STARTTLS and your ownCloud instance does not trust that. Try something like no encryption if ownCloud supports that. Otherwise you may need to figure out how to add certificate exceptions to your ownCloud.

@OrpheeGT
Copy link

OrpheeGT commented Jan 11, 2021

Hi,

I can confirm Nextcloud works with Protonmail Bridge if you set encryption to none :
image

I guess Owncloud and Nextcloud are quite same as Nextcloud is a fork from original Owncloud creator

@Tek4
Copy link

Tek4 commented Jan 27, 2023

@OrpheeGT

I can confirm Nextcloud works with Protonmail Bridge if you set encryption to none

If you set encryption to none, then you are broadcasting your Protonmail password plain-text over the Internet/local network.

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

No branches or pull requests

4 participants