Closed nderambure closed 1 year ago
Any thoughts about having more debug infos to see what is the real error ? I've triple checked password, and as I sayed, it works on other services... Thx !
Either use starttls OR tls. Both will not work.
SMTP_STARTTLS_AUTO=true
SMTP_STARTTLS=true
# SMTP_TLS=false
# SMTP_SSL_VERIFY=true (and also uncomment)
And yes, this is poorly documented.
Hello, Thanks @lonesomewalker for your reply, I work with @nderambure to make the bbb work
but with those parameters, same results :
SMTP_AUTH=PLAIN
SMTP_STARTTLS_AUTO=false
SMTP_STARTTLS=true
SMTP_TLS=false
SMTP_SSL_VERIFY=true
Checking connection to BigBlueButton:
Passed
Checking connection to SMTP Server
I, [2023-09-22T10:33:17.227331 #152] INFO -- : Delivered mail 650d6d682c055_981338-3fd@0e5986d62653.mail (5048.0ms)
Failed - Unable to connect to SMTP Server - Net::ReadTimeout
Linked to https://github.com/bigbluebutton/greenlight/issues/4760#issuecomment-1730508219 ?
I'm puzzled
Hello,
Some tests with tcpdump and it appears our Greenlight does not take into account any change in the /root/greenlight-v3/.env file.
Greenlight is rebooted any time we change something in the .env file using :
docker restart greenlight-v3
.
We have also tried to remove the .env file, and still, Greenlight is using a somewhat cached configuration (always the same).
So to sum up, after firstly changing .env file from our gandi.net config to infomaniak.com config, it has keeped a "cached" config for infomaniak that did not work, and then, any change is not taken into account.
Is there somewhere the .env file is stored as a cache ? And if yes, how to reset this ?
Thanks.
Hi @nderambure ,
AFAIK there's no "cached" .env file. I think you're restarting your container without rebuilding it, which will NOT take changes into account. See this post.
Also, I think it's different if you restart with docker restart
and docker compose restart
.
Regards, J.
Hello @JeanPluzo and thx for your reply.
Ok, I've figured it out.... docker-compose restart
or docker restart greenlight-v3
does not recheck .env
(no rebuild so)...
Just did a docker-compose down
and docker-compose up -d
, and it finally works.
This is a thing I won't forget regarding docker.
Thx all for your help !
Hello !
Using Greenlight 3.0.6.1 on BBB 2.6.12, installed from the famous one command line.
I'm trying to change the SMTP config, since I've migrated my domain name management from gandi.net to infomaniak.com. Note that it was working fine with gandi.net, using port 465. But the config for infomaniak.com gives me error of authentication (see below).
Infomaniak recommendations are there.
I've tried those configurations, without success (anonymized) :
For all tested configurations I check :
In the docker logs I've this part :
I'm trying to have more infos about this authentication failure. I've checked that inside greenlight docker, in the file
config/environments/production.rb
, I've the line :config.action_mailer.raise_delivery_errors
.Note that I'm using the very same email (here me@mydomain.fr) in WP-SMTP in Wordpress, configured with port 587 and TLS (works also with 465 SSL with TLS auto) and it works fine. I also use it in many nextclouds instances (and it works too) configured like this (anonymized) :
So it works in other context than in Greenlight.
I must say I'm stuck here :) Thanks for your help !