Skip to content
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

Reboot loop on sending outbound mails #2883

Closed
tyranron opened this issue Dec 22, 2020 · 6 comments
Closed

Reboot loop on sending outbound mails #2883

tyranron opened this issue Dec 22, 2020 · 6 comments

Comments

@tyranron
Copy link
Contributor

Describe the bug
Using the Haraka server for outbound mails, it crashes with a critical error during DNS lookup, starts again, and crashes again, and so in a loop.

Expected behavior
The server should not crash.

Observed behavior
Crashes with the following log:

[CRIT] [-] [core] TypeError: addresses is not iterable
[CRIT] [-] [core]     at QueryReqWrap.callback (/usr/local/lib/node_modules/Haraka/node_modules/haraka-net-utils/index.js:425:24)
[CRIT] [-] [core]     at QueryReqWrap.onresolve [as oncomplete] (node:dns:203:10)
[NOTICE] [-] [core] Shutting down
[NOTICE] [-] [core] worker 1040 exited with error code: 1
@tyranron
Copy link
Contributor Author

I've inspected that file and it doesn't contain this line from master.

Strange... I've installed latest Haraka version via npm install -g Haraka@2.8.26.

@tyranron
Copy link
Contributor Author

So, that's duplicate of haraka/haraka-net-utils#58.

@tyranron
Copy link
Contributor Author

Reverting to 2.8.25 fixes the issue.

Is any new release is planned soon?

@msimerson
Copy link
Member

I reinstalled Haraka yesterday after releasing a newer haraka-net-utils and 2.8.26 got the newer version without the DNS failures. When exactly did you install 2.8.26?

Is any new release is planned soon?

You mean like #2879 ?

@tyranron
Copy link
Contributor Author

tyranron commented Dec 22, 2020

@msimerson

You mean like #2879 ?

Yup.

When exactly did you install 2.8.26?

I use https://github.com/instrumentisto/haraka-docker-image. I guess, I need just rebuild the image.

I reinstalled Haraka yesterday after releasing a newer haraka-net-utils and 2.8.26 got the newer version without the DNS failures.

A bit unexpected, though. Usually dependecies of a concrete version are locked, so the installation is reproducible.

tyranron added a commit to instrumentisto/haraka-docker-image that referenced this issue Dec 22, 2020
tyranron added a commit to instrumentisto/haraka-docker-image that referenced this issue Dec 22, 2020
@tyranron
Copy link
Contributor Author

@msimerson yup, after rebuild the issue has gone. Thank you for the tip. Will keep in mind that dependecies are not locked and can be upgraded by rebuilding.

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

No branches or pull requests

2 participants