question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

MAIL_URL=smtp >> 'ATCreateUserServer' Error: getaddrinfo ENOTFOUND

See original GitHub issue

Hi, some one know how fix it?

my docker-compose.yml environment is:

      - MAIL_URL=smtp://XXXXX%40gmail.com:YYYYY@smtp.gmail.com:465/
      - MAIL_FROM=XXXXX@gmail.com

output

wekan-app  | Exception while invoking method 'ATCreateUserServer' Error: getaddrinfo ENOTFOUND
wekan-app  |     at Object.Future.wait (/build/programs/server/node_modules/fibers/future.js:449:15)
wekan-app  |     at smtpSend (packages/email/email.js:89:1)
wekan-app  |     at Object.Email.send (packages/email/email.js:192:1)
wekan-app  |     at AccountsServer.Accounts.sendVerificationEmail (packages/accounts-password/password_server.js:797:9)
wekan-app  |     at [object Object].Meteor.methods.ATCreateUserServer (packages/useraccounts_core/lib/server_methods.js:119:1)
wekan-app  |     at packages/check/match.js:107:1
wekan-app  |     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
wekan-app  |     at Object.exports.Match._failIfArgumentsAreNotAllChecked (packages/check/match.js:106:1)
wekan-app  |     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1708:18)
wekan-app  |     at packages/ddp-server/livedata_server.js:711:19
wekan-app  |     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
wekan-app  |     at packages/ddp-server/livedata_server.js:709:40
wekan-app  |     at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.js:56:1)
wekan-app  |     at packages/ddp-server/livedata_server.js:707:46
wekan-app  |     at tryCallTwo (/build/programs/server/npm/node_modules/meteor/promise/node_modules/promise/lib/core.js:45:5)
wekan-app  |     at doResolve (/build/programs/server/npm/node_modules/meteor/promise/node_modules/promise/lib/core.js:200:13)
wekan-app  |     - - - - -
wekan-app  |     at errnoException (dns.js:37:11)
wekan-app  |     at Object.onanswer [as oncomplete] (dns.js:126:16)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
pascal20997commented, Mar 7, 2017

Got the same problem with SMTP as environment variables. I think the best solution is setting the mail settings via the new admin panel (https://github.com/wekan/wekan/blob/devel/CHANGELOG.md). This worked for me like a charm. Please notice: Remove the environment variable before/after you set the settings via admin panel otherwise it won´t work.

0reactions
xet7commented, Mar 12, 2017

@jujes

ENOTFOUND usually means that there is already node running when you are starting another node.

Anyway, this looks similar to bug that was fixed in v0.13, so I’m closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Node.js getaddrinfo ENOTFOUND - Stack Overflow
I did already look up this error on stackoverflow, and realized that this is because node.js cannot find the server from DNS (I...
Read more >
Error: getaddrinfo ENOTFOUND
while using adobeio-samples-customers-dashboard , I am getting following error - time: 82 Details: - 403091.
Read more >
MongoServerSelectionError: getaddrinfo ENOTFOUND
The getaddrinfo ENOTFOUND error indicates that the hostname you have provided for your MongoDB deployment cannot be resolved by the client ...
Read more >
Connecting the Collaboration Server to the remote MongoDB ...
Connecting the Collaboration Server to the remote MongoDB that uses IPv6 returns an error “getaddrinfo ENOTFOUND” in MicroStrategy 10.9.
Read more >
Encountering Error: getaddrinfo ENOTFOUND undefine...
Encountering Error: getaddrinfo ENOTFOUND undefined undefined:443 while configuring Excel Report Add-On for ArcGIS Monitor.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found