Help deploying to Galaxy: Application exited with code: 8 signal: null


#1

UPDATE: PROBLEM SOLVED. I had a Compose.io database with SSL and that did not work. setup a new deployment and database without SSL on Compose.io and deployed and all is fine.

I am getting error when deploying to Galaxy:
Application exited with code: 8 signal: null

MongoError: Authentication failed.

I have checked carefully my username (galaxy)and password for the database in settings.json:

{
  "galaxy.meteor.com": {
    "env": {
      "MONGO_URL": "mongodb://galaxy:<password>@aws-us-east-1-portal.19.dblayer.com:11208/community-test-server/database"
          }
  }

}

I have checked the compose.io deployment and I can test it successfully:
aws-us-east-1-portal.17.dblayer.com:11674/database gives a proper reply
It looks like you are trying to access MongoDB over HTTP on the native driver port.

I am using Node v0.10.45 and Meteor version 1.3.4.1.

Checked on forums and there is some indication of node compatibilty (requires Node v0.10.43 at least) but this seems OK…

Here is the full log:

Application exited with code: 8 signal: null
xvwm
2016-06-25 17:29:48+08:00Application process closed with code: 8 signal: null
xvwm
2016-06-25 17:29:59+08:00The container has crashed. A new container will be started to replace it.
12ae
2016-06-25 17:34:45+08:00Application process starting, version: 2 on apprunner mdg0/apprunner:20160606T225805Z_86c9deb
12ae
2016-06-25 17:34:56+08:00
12ae
2016-06-25 17:34:56+08:00/app/bundle/programs/server/node_modules/fibers/future.js:313
12ae
2016-06-25 17:34:56+08:00	throw(ex);
12ae
2016-06-25 17:34:56+08:00	^
12ae
2016-06-25 17:34:57+08:00MongoError: Authentication failed.
12ae
2016-06-25 17:34:57+08:00 at Object.Future.wait (/app/bundle/programs/server/node_modules/fibers/future.js:449:15)
12ae
2016-06-25 17:34:57+08:00 at new MongoConnection (packages/mongo/mongo_driver.js:213:27)
12ae
2016-06-25 17:34:57+08:00 at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:4:16)
12ae
2016-06-25 17:34:57+08:00 at Object.<anonymous> (packages/mongo/remote_collection_driver.js:38:10)
12ae
2016-06-25 17:34:57+08:00 at Object.defaultRemoteCollectionDriver (packages/underscore/underscore.js:750:1)
12ae
2016-06-25 17:34:57+08:00 at new Mongo.Collection (packages/mongo/collection.js:103:40)
12ae
2016-06-25 17:34:57+08:00 at AccountsServer.AccountsCommon (packages/accounts-base/accounts_common.js:23:18)
12ae
2016-06-25 17:34:57+08:00 at new AccountsServer (packages/accounts-base/accounts_server.js:18:5)
12ae
2016-06-25 17:34:57+08:00 at meteorInstall.node_modules.meteor.accounts-base.server_main.js (packages/accounts-base/server_main.js:9:12)
12ae
2016-06-25 17:34:57+08:00 at fileEvaluate (packages/modules-runtime/.npm/package/node_modules/install/install.js:153:1)
12ae
2016-06-25 17:34:57+08:00 - - - - -
12ae
2016-06-25 17:34:57+08:00 at Object.toError (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/utils.js:114:11)
12ae
2016-06-25 17:34:57+08:00 at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1196:31
12ae
2016-06-25 17:34:57+08:00 at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/db.js:1905:9
12ae
2016-06-25 17:34:57+08:00 at Server.Base._callHandler (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/connection/base.js:453:41)
12ae
2016-06-25 17:34:57+08:00 at /app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:488:18
12ae
2016-06-25 17:34:57+08:00 at [object Object].MongoReply.parseBody (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
12ae
2016-06-25 17:34:57+08:00 at [object Object].<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/connection/server.js:446:20)
12ae
2016-06-25 17:34:57+08:00 at [object Object].emit (events.js:95:17)
12ae
2016-06-25 17:34:57+08:00 at [object Object].<anonymous> (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/mongodb/connection/connection_pool.js:207:13)
12ae
2016-06-25 17:34:57+08:00 at [object Object].emit (events.js:98:17)