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
SMTP Issue with gmail being unable to connect to host #104
Comments
My portainer instance is able to connect to the SMTP host |
From within my container i see
I can ping the destination too
|
Someone else had problems in #82. It's probably something with the settings as I find them to be a bit odd in the UI. I would suggest trying using StartTLS by unchecking the box for SSL and using 587 to see if that helps (gmail outgoing settings doc). If it still doesn't work, I would suggest taking it up on the forums as this is not likely to be an issue with the container image. |
Hi @mbentley, I followed through and asked if on the forums. It looks to be an issue with the new Java8 instance - see here https://community.tp-link.com/en/business/forum/topic/267794?replyId=606514 Basically Java8 disabled TLS1.0 and TLS1.1 which is what the controller uses to connect out on for the SMTP access. They’ve given a workaround and are looking to resolve it in later a later version. Cheers |
Ah excellent. Thanks for the follow up on the workaround. Would it be helpful if I were to create an environment variable to provide the workaround so that hackery didn't need to be done on the image? |
Oh wow. That would be excellent if you could do. I was about to edit the image manually, but if you can do a variable that’d be excellent! Would make it easier down the line. Thank you |
Update entrypoints; added TLS 1/1.1 option; fixes #104
Once the builds complete, there should now be an As you can see, here is the updated file when it is running:
I do not have a quick way to test to verify it is definitely working so if you could, test it when you get a chance and let me know. Thanks! |
The image should be on Docker Hub now. |
I noticed today that I had the same issue, adding the env var helped :-) |
Describe the bug
Hi,
I'm trying to configure the SMTP settings for the controller - however i get failure to connect to SMTP Host.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect when pressing test - to receive an email on the configured email
How you're launching your container
Docker-compose.yml attached (had to use .txt format)
docker-compose.txt
Container Logs
Additional context
I'm running this container using portainer - but i havent had any issues with connectivity from other containers.
I have an app password setup and this is currently reachable on my old omada instance using the exact same settings as the new SDN config.
The text was updated successfully, but these errors were encountered: