{"action":"created","issue":{"url":"https://api.github.com/repos/jeffutter/dokku-mongodb-plugin/issues/60","labels_url":"https://api.github.com/repos/jeffutter/dokku-mongodb-plugin/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/jeffutter/dokku-mongodb-plugin/issues/60/comments","events_url":"https://api.github.com/repos/jeffutter/dokku-mongodb-plugin/issues/60/events","html_url":"https://github.com/jeffutter/dokku-mongodb-plugin/issues/60","id":46568886,"number":60,"title":"Error: Connect Failed","user":{"login":"pandringa","id":3749412,"avatar_url":"https://avatars.githubusercontent.com/u/3749412?v=3","gravatar_id":"","url":"https://api.github.com/users/pandringa","html_url":"https://github.com/pandringa","followers_url":"https://api.github.com/users/pandringa/followers","following_url":"https://api.github.com/users/pandringa/following{/other_user}","gists_url":"https://api.github.com/users/pandringa/gists{/gist_id}","starred_url":"https://api.github.com/users/pandringa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pandringa/subscriptions","organizations_url":"https://api.github.com/users/pandringa/orgs","repos_url":"https://api.github.com/users/pandringa/repos","events_url":"https://api.github.com/users/pandringa/events{/privacy}","received_events_url":"https://api.github.com/users/pandringa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-10-22T22:34:26Z","updated_at":"2015-02-25T04:08:29Z","closed_at":null,"body":"I get the following error whenever I try to run `dokku mongodb:create app`, and I've tried everything I can think of (uninstall/reinstall mongo, dokku, the plugin, reboot, etc), and nothing's fixed it.\r\n\r\n```\r\nexception: connect failed\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 72: 10#2014-10-22T22: value too great for base (error token is \"22T22\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 76: 10#2014-10-22T22: value too great for base (error token is \"22T22\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 72: 10#201+0000 DBClientCursor::init call() failed\r\n2014-10-22T22:28:34 > 10#9999999: syntax error in expression (error token is \"DBClientCursor::init call() failed\r\n2014-10-22T22:28:34 > 10#9999999\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 76: 10#201+0000 DBClientCursor::init call() failed\r\n2014-10-22T22:28:34 < 10#9999999: syntax error in expression (error token is \"DBClientCursor::init call() failed\r\n2014-10-22T22:28:34 < 10#9999999\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 72: 10#201+0000 Error: DBClientBase::findN: transport error: localhost:49159 ns: admin > 10#0: syntax error in expression (error token is \"Error: DBClientBase::findN: transport error: localhost:49159 ns: admin > 10#0\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 76: 10#201+0000 Error: DBClientBase::findN: transport error: localhost:49159 ns: admin < 10#0: syntax error in expression (error token is \"Error: DBClientBase::findN: transport error: localhost:49159 ns: admin < 10#0\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 72: 10#$cmd query: { whatsmyuri: 1 } at src/mongo/shell/mongo > 10#0: syntax error: invalid arithmetic operator (error token is \"$cmd query: { whatsmyuri: 1 } at src/mongo/shell/mongo > 10#0\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 76: 10#$cmd query: { whatsmyuri: 1 } at src/mongo/shell/mongo < 10#0: syntax error: invalid arithmetic operator (error token is \"$cmd query: { whatsmyuri: 1 } at src/mongo/shell/mongo < 10#0\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 72: 10#js: value too great for base (error token is \"10#js\")\r\n/var/lib/dokku/plugins/dokku-mongodb-plugin/commands: line 76: 10#js: value too great for base (error token is \"10#js\")\r\n2014-10-22T22:28:34.262+0000 DBClientCursor::init call() failed\r\n2014-10-22T22:28:34.263+0000 Error: DBClientBase::findN: transport error: localhost:49159 ns: admin.$cmd query: { whatsmyuri: 1 } at src/mongo/shell/mongo.js:148\r\nexception: connect failed\r\n```\r\n\r\nI think it might be related to #31 and/or #12 (I've had issues with both in the past, and on this particular server the install failed with error #31 the first time, but worked after a reboot/reinstall cycle. \r\n\r\nOne possible thought is that I have my ports set up to only accept external connections on 22 and 80 - do I need to explicitly open up the mongo port to external connections? I would think not (and hope not - the fewer ports open, the better), but I don't know that much about Unix networking, and since the code in the plugin uses the dokku0 IP address (the external one, as far as I know), would that potentially prevent the plugin from connecting to the db?\r\n\r\nThanks!\r\nPeter"},"comment":{"url":"https://api.github.com/repos/jeffutter/dokku-mongodb-plugin/issues/comments/75902438","html_url":"https://github.com/jeffutter/dokku-mongodb-plugin/issues/60#issuecomment-75902438","issue_url":"https://api.github.com/repos/jeffutter/dokku-mongodb-plugin/issues/60","id":75902438,"user":{"login":"jeffutter","id":570037,"avatar_url":"https://avatars.githubusercontent.com/u/570037?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffutter","html_url":"https://github.com/jeffutter","followers_url":"https://api.github.com/users/jeffutter/followers","following_url":"https://api.github.com/users/jeffutter/following{/other_user}","gists_url":"https://api.github.com/users/jeffutter/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffutter/subscriptions","organizations_url":"https://api.github.com/users/jeffutter/orgs","repos_url":"https://api.github.com/users/jeffutter/repos","events_url":"https://api.github.com/users/jeffutter/events{/privacy}","received_events_url":"https://api.github.com/users/jeffutter/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T04:08:28Z","updated_at":"2015-02-25T04:08:28Z","body":"It appears to be running. How are you trying to connect?\r\n\r\n@maxfrigge are you getting the same errors as the others?"}}