-
Notifications
You must be signed in to change notification settings - Fork 5.5k
[bitnami/redmine] I deployed redmine 5.0.5 on my kubernets, configured the smpt mailbox service but it's timing out sending emails #79985
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
Comments
Hi, Do the logs show anything meaningful? However, if you were able to configure the email settings, it seems to me that the issue is not with the Bitnami packaging of Redmine but with the Kubernetes cluster itself (or the cloud provider), which may have some restrictions on the allowed ports (I recall that some clouds limit the SMTP ports by default). I would check with the Kubernetes or Cloud provider for more help. |
I know what you mean (I recall that some clouds limit the SMTP ports by default), so I did a code test, and when I wrote the smpt port, username, and password into my code and packaged it into my kubernets cluster it sends the emails properly And I set up a timed I have set a timer to send emails every day of the week at 9:00, so there is no restriction on the smpt port.And I asked my email provider and they told me that I was not receiving email-login requests at that point in time, which is strange! |
I hope you don't misunderstand (And I asked my email provider and they told me that I was not receiving email-login requests at that point in time), this point in time refers to the log time of the redmine I provided not the time when my code sends the email, it's normal for the code to send emails in my kubernets cluster |
I see, and do you see any meaningful information in the redmine logs. Any error or similar? Also in the sidekiq pods |
Hi, |
And just to triple-check, could you enter the container and check in the configuration files that the SMTP settings are correctly set? I mean in the generated production.yml file |
I mean the generated production.yml inside the redmine container |
Hi, The folder is /opt/bitnami/redmine |
It should be in the config folder |
Could you try accessing that mail url inside the container. Just to verify there is no networkPolicy being applied to that specific container that is preventing the access. You can try using curl (even it's not http it should be enough to confirm accessibility, I do not recall if the command is present) or you can inject a sidecar container for testing. |
Ok, so there are no connection issues and we can see that the configuration is correctly set in the files. Then there may be an issue in Redmine itself, not in the Bitnami packaging. My advice would be to check with the upstream Redmine devs to see if there's anything incorrect in the application itself. |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
My problem was stale configuration.yml under /bitnami/redmine/config/ |
Name and Version
bitnami/redmine:5.0.5
What architecture are you using?
arm64
What steps will reproduce the bug?
this is my smpt configuration on my kubernets:
Execute “Send Test Email”
then 504 Timeout,here's the error in my log
What is the expected behavior?
No response
What do you see instead?
504 Gateway Time-out
Additional information
No response
The text was updated successfully, but these errors were encountered: