Open Nicotinii opened 3 months ago
I have the same config like you but without spaces on the password. Remember that this password is an application password and It is not your password email.
I tested it without the spaces, but there was no change. 🥲
And yes is an application password
Hi @Nicotinii, thanks for opening the issue!
I also have the google application password with spaces so I think that should not be the problem.
Since you have the LOG_LEVEL
set to debug
there should be a line in the log saying SMTP successfully connected.
or SMTP connection failed.
but I don't see that so I think the process stops before for some reason.
Just to be sure, how long did you wait while the backend service seemed frozen?
I've been running the container for over 3 days, but it's been stuck in the same place ever since. It restarts every 2-3 hours or so and does the same thing again. So, yes, it has to block before the SMTP, which is weird.
I can be wrong but I think SMTP_PORT
is not being used. At least on my setup, it seams that it's trying to connect to smtp using port 25 when I have set SMTP_PORT=465
: Caused by: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: mail.mydomain.com, 25; timeout -1
.
I change the smtp port but the problem don't change
A new version of the project has just been released (0.5.0
), could you please upgrade the deployment and check if the bug still persists?
Please note that this upgrade introduces lot of changes, starting from the deployment file.
Hi @MDeLuise ,
Unfortunately I still get the same error with the new version, and I'm not able to use the application until comment out all the smtp related vars. Also tried to force the port on the host, but no luck what so ever.
Also noticed that PAGE_SIZE
from older frontend.env
file is perhaps needed. I got error 500 "Page size must not be less than one" when calling api/plant?pageSize=0
, but I know that is another scope.
ps: my girl enjoyed a lot this new UI 😄
Avoid duplicated bug reports
Description
Hi and thanks for your work! I really love this project. I just have a little issue that I couldn't solve. 🥲 Yesterday, I tried to add the SMTP function, but when I add the SMTP lines in my .env file, my backend gets blocked. I don't understand why.
Sorry for the inconvenience and thanks in advance for your response. 🙏
Expected behaviour
No response
Steps to reproduce
Local environment
I'm using this project with Portainer.
Here's my Docker Compose file:
Here's my stack.env file:
Additional info
Here are my logs in back container with the SMTP lines : complet logs here
After that, nothing happens.
And when I remove these lines :
the project starts working normally again.