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

[Bug]: Connection could not be established with host "ssl://smtp-relay.brevo.com:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:0A00010B:SSL routines::wrong version number. #4634

Open
nathanialhenniges opened this issue Dec 20, 2024 · 2 comments · May be fixed by #4649
Labels
🐞 Confirmed Bug Verified issues that have been reproduced by the team. ✅ Done Issues that are fixed and a PR is ready to be merged.

Comments

@nathanialhenniges
Copy link
Contributor

Error Message and Logs

When resend is disabled it still would have the key in the field which it should be cleared if it's disabled.

Steps to Reproduce

  1. Add resend API key , save , and enable.
  2. Try to remove or disable resend it will still have the API key there when it should be gone
  3. For when your switching back to SMTP

Example Repository URL

No response

Coolify Version

v4.0.0-beta.379

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 24.04 LTS

Additional Information

UI/Database Bug

@nathanialhenniges nathanialhenniges added 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Dec 20, 2024
@nathanialhenniges nathanialhenniges changed the title [Bug]: [Bug]: Email Resend not clearing when disabled/removing Dec 20, 2024
@nathanialhenniges
Copy link
Contributor Author

Switched off resend as it was failing for some reason and I think I may know why.

EmailChannel error: Connection could not be established with host "ssl://smtp-relay.brevo.com:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:0A00010B:SSL routines::wrong version number. Failed to send email

even when it's set to TLS which brevo should be good when I set it to SSL it works maybe something happen recently that broke emails.

@peaklabs-dev peaklabs-dev linked a pull request Dec 23, 2024 that will close this issue
@peaklabs-dev
Copy link
Member

For now, if you disable something by unchecking the checkbox, the data is kept since you could also quickly disable it for debugging, so I think it should not be cleared - it is stored in the DB.

The second bug you got is because 587 should be using StartTLS and not TLS/SSL, I have fixed that issue in the next release.

@peaklabs-dev peaklabs-dev added this to the v4.0.0 Stable Release milestone Dec 23, 2024
@peaklabs-dev peaklabs-dev added 🐞 Confirmed Bug Verified issues that have been reproduced by the team. and removed 🐛 Bug Reported issues that need to be reproduced by the team. 🔍 Triage Issues that need assessment and prioritization. labels Dec 23, 2024
@peaklabs-dev peaklabs-dev changed the title [Bug]: Email Resend not clearing when disabled/removing [Bug]: Connection could not be established with host "ssl://smtp-relay.brevo.com:587": stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages: error:0A00010B:SSL routines::wrong version number. Dec 23, 2024
@peaklabs-dev peaklabs-dev added the ✅ Done Issues that are fixed and a PR is ready to be merged. label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Confirmed Bug Verified issues that have been reproduced by the team. ✅ Done Issues that are fixed and a PR is ready to be merged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants