8000 [bitnami/redmine] I deployed redmine 5.0.5 on my kubernets, configured the smpt mailbox service but it's timing out sending emails · Issue #79985 · bitnami/containers · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[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

Open
sharkbb opened this issue Apr 9, 2025 · 18 comments
Assignees
Labels
redmine tech-issues The user has a technical issue about an application triage Triage is needed

Comments

@sharkbb
Copy link
sharkbb commented Apr 9, 2025

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:

Image
Execute “Send Test Email”

Image

then 504 Timeout,here's the error in my log

Image

Image

What is the expected behavior?

No response

What do you see instead?

504 Gateway Time-out

Additional information

No response

@sharkbb sharkbb added the tech-issues The user has a technical issue about an application label Apr 9, 2025
@github-actions github-actions bot added the triage Triage is needed label Apr 9, 2025
@javsalgar javsalgar changed the title [bitnami/redmine]I deployed redmine 5.0.5 on my kubernets, configured the smpt mailbox service but it's timing out sending emails [bitnami/redmine] I deployed redmine 5.0.5 on my kubernets, configured the smpt mailbox service but it's timing out sending emails Apr 10, 2025
@javsalgar
Copy link
Contributor

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.

@sharkbb
Copy link
Author
sharkbb commented Apr 10, 2025

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!

@sharkbb
Copy link
Author
sharkbb commented Apr 10, 2025

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

@javsalgar
Copy link
Contributor

I see, and do you see any meaningful information in the redmine logs. Any error or similar? Also in the sidekiq pods

@sharkbb
Copy link
Author
sharkbb commented Apr 11, 2025

Hi,
Unfortunately there is no error log anymore, the only error log is: ActiveJob(Net::ReadTimeout)

@javsalgar
Copy link
Contributor
javsalgar commented Apr 14, 2025

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

@sharkbb
Copy link
Author
sharkbb commented Apr 14, 2025

Hi,
I checked it again,it's right

Image

@javsalgar
Copy link
Contributor
javsalgar commented Apr 14, 2025

I mean the generated production.yml inside the redmine container

@sharkbb
Copy link
Author
sharkbb commented Apr 14, 2025

It doesn't seem to generate yml files
Image

@javsalgar
Copy link
Contributor

Hi,

The folder is /opt/bitnami/redmine

@sharkbb
Copy link
Author
sharkbb commented Apr 14, 2025

thanks,and I'm wondering if it's this appveyor.yml file?
Image

@javsalgar
Copy link
Contributor

It should be in the config folder

@sharkbb
Copy link
Author
sharkbb commented Apr 15, 2025

Hi,
thanks, I found this yml file,Please help me to check if the configuration is correct?Is it the “465” that's the problem?

Image

@javsalgar
Copy link
Contributor
javsalgar commented Apr 15, 2025

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.

@sharkbb
Copy link
Author
sharkbb commented Apr 15, 2025

Hi,
I executed the curl link and it is fine!
Image

@javsalgar
Copy link
Contributor
javsalgar commented Apr 16, 2025

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.

Copy link
github-actions bot commented May 2, 2025

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.

@github-actions github-actions bot added the stale 15 days without activity label May 2, 2025
@igbenic
Copy link
igbenic commented May 3, 2025

My problem was stale configuration.yml under /bitnami/redmine/config/

@github-actions github-actions bot removed the stale 15 days without activity label May 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
redmine tech-issues The user has a technical issue about an application triage Triage is needed
Projects
None yet
Development

No branches or pull requests

3 participants
0