Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

App issue: MailDev #1140

Closed
RichardAnderson opened this issue Aug 11, 2024 · 2 comments
Closed

App issue: MailDev #1140

RichardAnderson opened this issue Aug 11, 2024 · 2 comments

Comments

@RichardAnderson
Copy link

Summary

MailDev single click app stuck in a loop and returning 502 via NGINX.

Replication Steps:

  1. Select "Apps"
  2. Select "One-Click Apps/Databases
  3. Select MailDev
  4. Enter the App Name "MailDev" (can be anything)
  5. Enter the MailDev version (either 2.0.5 or latest, same issue)
  6. Update the password to be more secure
  7. Click Deploy

Expected Results:

I can access MailDev UI from the browser

Actual Results

NGINX returns error 502.
Logs report an endless restart loop:

srv-captain--maildev.1.bbm1x21n1t0c@localhost    | MailDev using directory /data
srv-captain--maildev.1.bbm1x21n1t0c@localhost    | MailDev webapp running at http://0.0.0.0:1080
srv-captain--maildev.1.bbm1x21n1t0c@localhost    | MailDev SMTP Server running at 0.0.0.0:1025
srv-captain--maildev.1.bbm1x21n1t0c@localhost    | Received shutdown signal, shutting down now...
@githubsaturn
Copy link
Collaborator

Relevant thread: maildev/maildev#484
It looks like it's a problem with MailDev... They should by default bind to IPv4 and IPv6... Probably your system has IPv6 and the default healthcheck fails to detect the health.

Looks like someone suggested a default value of :: for MAILDEV_IP is fixing the problem. I'll make the change and deploy the fix.

@githubsaturn
Copy link
Collaborator

The one click app is fixed. I just deployed a test instance and confirmed it works. It takes ~10sec to boot up, but it works.

Please retry and let me know if you are still having problems.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants