Exception while invoking method 'forgotPassword' Error: getaddrinfo ENOTFOU - email

Exception while invoking method 'forgotPassword' Error: getaddrinfo ENOTFOU
ND
I20161024-13:37:32.563(5.75)? at Object.Future.wait
(/home/john/.meteor/packages/meteor-tool/.1.3.3.k
c10re++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibe
rs/future.js:449:15)
I20161024-13:37:32.564(5.75)? at smtpSend (packages/email/email.js:89:1)
I20161024-13:37:32.564(5.75)? at Object.Email.send (packages/email/email.js:192:1)
I20161024-13:37:32.564(5.75)? at AccountsServer.Accounts.sendResetPasswordEmail (packages/accounts-pa
ssword/password_server.js:577:9)
I20161024-13:37:32.564(5.75)? at [object Object].forgotPassword (packages/accounts-password/password_
server.js:516:12)
I20161024-13:37:32.565(5.75)? at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:170
4:12)
I20161024-13:37:32.565(5.75)? at packages/ddp-server/livedata_server.js:711:19
I20161024-13:37:32.565(5.75)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.
js:56:1)
I20161024-13:37:32.565(5.75)? at packages/ddp-server/livedata_server.js:709:40
I20161024-13:37:32.566(5.75)? at [object Object]._.extend.withValue (packages/meteor/dynamics_nodejs.
js:56:1)
I20161024-13:37:32.566(5.75)? at packages/ddp-server/livedata_server.js:707:46
I20161024-13:37:32.567(5.75)? at tryCallTwo (/home/john/.meteor/packages/promise/.0.7.2.1cuapq8++os+w
eb.browser+web.cordova/npm/node_modules/promise/lib/core.js:45:5)
I20161024-13:37:32.567(5.75)? at doResolve (/home/john/.meteor/packages/promise/.0.7.2.1cuapq8++os+we
b.browser+web.cordova/npm/node_modules/promise/lib/core.js:200:13)
I20161024-13:37:32.567(5.75)? at new Promise (/home/john/.meteor/packages/promise/.0.7.2.1cuapq8++os+
web.browser+web.cordova/npm/node_modules/promise/lib/core.js:66:3)
I20161024-13:37:32.567(5.75)? at Session.method (packages/ddp-server/livedata_server.js:681:23)
I20161024-13:37:32.568(5.75)? at packages/ddp-server/livedata_server.js:551:43
I20161024-13:37:32.568(5.75)? - - - - -
I20161024-13:37:32.568(5.75)? at errnoException (dns.js:37:11)
I20161024-13:37:32.568(5.75)? at Object.onanswer [as oncomplete] (dns.js:126:16)

Related

flutter web throw Error Assertion failed: "call initWeb() before initSession"

I got this error on Google Console after I released my flutter web app, and some of my methods don't work as well as they do in the Android version.
errors.dart:251 Uncaught (in promise) Error: Assertion failed: "call initWeb() before initSession"
at Object.throw_ [as throw] (errors.dart:251:49)
at flutter_branch_sdk_web.FlutterBranchSdk.__.initSession (flutter_branch_sdk_web.dart:169:7)
at FlutterBranchSdk.initSession (flutter_branch_sdk_plugin.dart:49:22)
at order_screen._OrderScreenState.new.listenDynamicLinks (order_screen.dart:63:57)
at listenDynamicLinks.next (<anonymous>)
at runBody (async_patch.dart:84:54)
at Object._async [as async] (async_patch.dart:123:5)
at order_screen._OrderScreenState.new.listenDynamicLinks (order_screen.dart:62:34)
at order_screen._OrderScreenState.new.initState (order_screen.dart:40:7)
at [_firstBuild] (framework.dart:4728:57)
at framework.StatefulElement.new.mount (framework.dart:4561:5)
at framework.SingleChildRenderObjectElement.new.inflateWidget (framework.dart:3631:13)
at framework.SingleChildRenderObjectElement.new.updateChild (framework.dart:3383:18)
at framework.SingleChildRenderObjectElement.new.mount (framework.dart:6123:14)
at framework.StatelessElement.new.inflateWidget (framework.dart:3631:13)
at framework.StatelessElement.new.updateChild (framework.dart:3383:18)
at framework.StatelessElement.new.performRebuild (framework.dart:4613:16)
at framework.StatelessElement.new.rebuild (framework.dart:4311:5)
at [_firstBuild] (framework.dart:4566:5)
at framework.StatelessElement.new.mount (framework.dart:4561:5)

Meteor error - Storing tasks in a collection

I am following the meteor site tutorial (https://www.meteor.com/tutorials/blaze/collections).
But when you add the line:
export const Tasks = new Mongo.Collection('tasks');
I get the following error:
/Users/user/.meteor/packages/meteor-tool/.1.4.1_2.fpzmec++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:313
throw(ex);
^
MongoError: failed to connect to server [localhost:27017] on first connect
at Object.Future.wait (/Users/user/.meteor/packages/meteor-tool/.1.4.1_2.fpzmec++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:449:15)
at new MongoConnection (packages/mongo/mongo_driver.js:216:27)
at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:10)
at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
at new Mongo.Collection (packages/mongo/collection.js:103:40)
at meteorInstall.imports.api.tasks.js (imports/api/tasks.js:4:14)
at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
at Module.require (packages/modules-runtime/.npm/package/node_modules/install/install.js:82:1)
at Module.Mp.import (/Users/user/.meteor/packages/modules/.0.7.6_1.j54juu++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
- - - - -
at [object Object].<anonymous> (/Users/user/.meteor/packages/npm-mongo/.1.5.50.1g0yl8n++os+web.browser+web.cordova/npm/node_modules/mongodb-core/lib/topologies/server.js:313:35)
at emitOne (events.js:77:13)
at [object Object].emit (events.js:169:7)
at [object Object].<anonymous> (/Users/user/.meteor/packages/npm-mongo/.1.5.50.1g0yl8n++os+web.browser+web.cordova/npm/node_modules/mongodb-core/lib/connection/pool.js:260:12)
at [object Object].g (events.js:260:16)
at emitTwo (events.js:87:13)
at [object Object].emit (events.js:172:7)
at Socket.<anonymous> (/Users/user/.meteor/packages/npm-mongo/.1.5.50.1g0yl8n++os+web.browser+web.cordova/npm/node_modules/mongodb-core/lib/connection/connection.js:162:49)
at Socket.g (events.js:260:16)
at emitOne (events.js:77:13)
Exited with code: 1
Your application is crashing. Waiting for file change.
The line in the tutorial:
export const Tasks = new Mongo.Collection('tasks');
Is different from your line:
Export Tasks const = new Mongo.Collection ('tasks');
The goal of the code is to initialize a new constant, Tasks, set it to a new Mongo.Collection, and then export it.

Meteor 1.2.1 MongoDB Invalid Modifier $currentDate

I recently updated to Meteor 1.2.1 and deployed my project to the meteor development servers {app}.meteor.com However, upon doing so I started noticing errors with the $currentDate modifier in my mongo update statements.
This was working before the update and actually works locally. However, seems to be broken on the deployment. Thoughts on this?
The code:
Members.update({burnId: burnId, "isViewing": { $eq : false}}, { $inc: { "numUnreadMessages": 1}, $currentDate: {updatedAt: true}}, {multi: true});
UPDATE: I actually ran meteor mongo {app}.meteor.com and tried to run a simple update command db.collection.update({_id: "1234"}, {$currentDate: {updatedAt: true}}) and it worked on the local copy, but not on the deployed version.
I'm assuming that the deployment servers (free) for meteor are having trouble running Meteor 1.2. Is there a way to resolve this? I also assume this will be fixed with Galaxy, but alas that's not available to the general public yet.
The logs:
[Sun Sep 27 2015 15:56:51 GMT+0000 (UTC)] INFO Exception while invoking method 'sendMessage' MongoError: Invalid modifier specified $currentDate
at Object.Future.wait (/meteor/dev_bundles/0.5.13/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) (packages/mongo/mongo_driver.js:736:1)
at [object Object].mongoConnectionProto.(anonymous function) [as update] (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2923:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) [as update] (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at [object Object].Mongo.Collection.(anonymous function) [as update] (packages/mongo/collection.js:586:1)
at [object Object].Meteor.methods.sendMessage (server/Methods.js:124:1)
at [object Object].methodMap.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2554:1)
at maybeAuditArgumentChecks (livedata_server.js:1692:12)
- - - - -
at Object.toError (/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at /meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler (/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at /meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous> (/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous> (/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
[Sun Sep 27 2015 15:56:54 GMT+0000 (UTC)] INFO Exception while invoking method 'sendMessage' MongoError: Invalid modifier specified $currentDate
at Object.Future.wait (/meteor/dev_bundles/0.5.13/lib/node_modules/fibers/future.js:398:15)
at [object Object].<anonymous> (packages/meteor/helpers.js:119:1)
at [object Object].MongoConnection.(anonymous function) (packages/mongo/mongo_driver.js:736:1)
at [object Object].mongoConnectionProto.(anonymous function) [as update] (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2923:1)
at OptimizedApply (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:271:1)
at Object.ret.(anonymous function) [as update] (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2881:1)
at [object Object].Mongo.Collection.(anonymous function) [as update] (packages/mongo/collection.js:586:1)
at [object Object].Meteor.methods.sendMessage (server/Methods.js:124:1)
at [object Object].methodMap.(anonymous function) (packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2554:1)
at maybeAuditArgumentChecks (livedata_server.js:1692:12)
- - - - -
at Object.toError (/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
at /meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/collection/core.js:636:22
at Server.Base._callHandler (/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
at /meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
at [object Object].MongoReply.parseBody
(/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at [object Object].<anonymous> (/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
at [object Object].emit (events.js:95:17)
at [object Object].<anonymous>
(/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
at [object Object].emit (events.js:98:17)
at Socket.<anonymous> (/meteor/containers/951f3aa3-e3e5-e5bf-afc8-323fba10ef52/bundle/programs/server/npm/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection.js:440:22)
This was an issue with Meteor's free version. Using an updated version of mongo does the trick.

How can I do a Facebook Connect with meteor.js?

I always get the following error when I do a FacebookConnect:
W20140817-21:48:56.623(2)? (STDERR) TypeError: Cannot call method 'remove' of undefined
W20140817-21:48:56.624(2)? (STDERR) at app/server/oauth.js:2:36
W20140817-21:48:56.624(2)? (STDERR) at app/server/oauth.js:11:3
W20140817-21:48:56.625(2)? (STDERR) at /Users/username/copro/chatapp/.meteor/local/build/programs/server/boot.js:161:10
W20140817-21:48:56.625(2)? (STDERR) at Array.forEach (native)
W20140817-21:48:56.625(2)? (STDERR) at Function._.each._.forEach (/Users/username/.meteor/tools/cef2bcd356/lib/node_modules/underscore/underscore.js:79:11)
W20140817-21:48:56.625(2)? (STDERR) at /Users/username/copro/chatapp/.meteor/local/build/programs/server/boot.js:82:5
How can I fix this error?

Error deploying a meteor app

When deploying a meteor app, I run into this error:
Errors prevented deploying:
Exception while bundling application:
Error: EACCES, permission denied '/Users/andyjiang/Developer/hackathon/meteor/instachat/.meteor/local/build_tar/bundle/app/instachat.js'
at Object.fs.unlinkSync (fs.js:582:18)
at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:280:10)
at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
at Array.forEach (native)
at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
at Array.forEach (native)
at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
at _.extend.write_to_directory (/Users/andyjiang/.meteor/tools/11f45b3996/tools/bundler.js:808:11)
at Object.exports.bundle (/Users/andyjiang/.meteor/tools/11f45b3996/tools/bundler.js:887:12)
at deployToServer (/Users/andyjiang/.meteor/tools/11f45b3996/tools/deploy.js:95:24)
at deployCmd (/Users/andyjiang/.meteor/tools/11f45b3996/tools/deploy.js:78:7)
at exports.inFiber (/Users/andyjiang/.meteor/tools/11f45b3996/tools/fiber-helpers.js:24:12)
/Users/andyjiang/.meteor/tools/11f45b3996/tools/fiber-helpers.js:25
}).run();
^
Error: EACCES, permission denied '/Users/andyjiang/Developer/hackathon/meteor/instachat/.meteor/local/build_tar/bundle/app/instachat.js'
at Object.fs.unlinkSync (fs.js:582:18)
at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:280:10)
at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
at Array.forEach (native)
at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
at Array.forEach (native)
at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
at _.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:276:15)
at Array.forEach (native)
at Function._.each._.forEach (/Users/andyjiang/.meteor/tools/11f45b3996/lib/node_modules/underscore/underscore.js:79:11)
at Object._.extend.rm_recursive (/Users/andyjiang/.meteor/tools/11f45b3996/tools/files.js:274:9)
at deployToServer (/Users/andyjiang/.meteor/tools/11f45b3996/tools/deploy.js:101:11)
at deployCmd (/Users/andyjiang/.meteor/tools/11f45b3996/tools/deploy.js:78:7)
at exports.inFiber (/Users/andyjiang/.meteor/tools/11f45b3996/tools/fiber-helpers.js:24:12)
The app runs fine locally. I've deployed other Meteor apps without any issues, as well. Any idea what the error could be?
Thanks,
Andy