{"action":"opened","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/10087","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/10087/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/10087/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/10087/events","html_url":"https://github.com/meteor/meteor/issues/10087","id":343063654,"node_id":"MDU6SXNzdWUzNDMwNjM2NTQ=","number":10087,"title":"[1.7.1-beta.19] Error: cyclic dependency detected when using MongoDB Atlas","user":{"login":"rj-david","id":30392688,"node_id":"MDQ6VXNlcjMwMzkyNjg4","avatar_url":"https://avatars3.githubusercontent.com/u/30392688?v=4","gravatar_id":"","url":"https://api.github.com/users/rj-david","html_url":"https://github.com/rj-david","followers_url":"https://api.github.com/users/rj-david/followers","following_url":"https://api.github.com/users/rj-david/following{/other_user}","gists_url":"https://api.github.com/users/rj-david/gists{/gist_id}","starred_url":"https://api.github.com/users/rj-david/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rj-david/subscriptions","organizations_url":"https://api.github.com/users/rj-david/orgs","repos_url":"https://api.github.com/users/rj-david/repos","events_url":"https://api.github.com/users/rj-david/events{/privacy}","received_events_url":"https://api.github.com/users/rj-david/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-20T10:54:42Z","updated_at":"2018-07-20T10:54:42Z","closed_at":null,"author_association":"NONE","body":"I tried using MongoDB Atlas and the system auto generated a MONGO_URL in this format:\r\n\r\n`mongodb+srv://<USERNAME>:<PASSWORD>@cluster0-da3xd.mongodb.net/<DB>?retryWrites=true`\r\n\r\nWhen I run the app, I was getting this errors\r\n\r\n```\r\n/home/rj/.meteor/packages/meteor-tool/.1.7.1-beta.19.jv82qt.q8od++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:313\r\n                                             throw(ex);\r\n                                             ^\r\n\r\n Error: cyclic dependency detected\r\n     at serializeObject (/home/rj/.meteor/packages/npm-mongo/.3.0.7.88ubwo.3fs6j++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/bson/lib/bson/parser/serializer.js:331:34)\r\n     at serializeInto (/home/rj/.meteor/packages/npm-mongo/.3.0.7.88ubwo.3fs6j++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/bson/lib/bson/parser/serializer.js:934:17)\r\n```\r\n\r\nI have reasons to believe that this is happening even before 1.7.1-beta. My current fix is to remove `?retryWrites=true`\r\n\r\nWhen I searched, this problem is not unique to meteor. Many projects were having problems with the MongoDB Atlas URL. This was recently fixed in Mongoose: https://github.com/Automattic/mongoose/issues/6109"}}
{"actor":{"display_login":"rj-david"}}