Crow08 / discord-uberbot

The UberBot is fully charged with music bot goodness! A feature rich bot for playing music and only that.
MIT License
52 stars 14 forks source link

MongoParseError: URI does not have hostname, #82

Closed salvinramesh closed 4 years ago

salvinramesh commented 4 years ago

(node:20704) UnhandledPromiseRejectionWarning: MongoParseError: URI does not have hostname, domain name and tld at parseSrvConnectionString (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\node_modules\mongodb\lib\core\uri_parser.js:41:21) at parseConnectionString (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\node_modules\mongodb\lib\core\uri_parser.js:556:12) at connect (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\node_modules\mongodb\lib\operations\connect.js:277:3) at C:\Users\salvi\OneDrive\Desktop\discord-uberbot\node_modules\mongodb\lib\mongo_client.js:222:5 at maybePromise (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\node_modules\mongodb\lib\utils.js:719:3) at MongoClient.connect (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\node_modules\mongodb\lib\mongo_client.js:218:10) at Function.MongoClient.connect (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\node_modules\mongodb\lib\mongo_client.js:440:22) at C:\Users\salvi\OneDrive\Desktop\discord-uberbot\src\DBService.js:55:19 at new Promise () at DBService.connectDB (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\src\DBService.js:54:12) at C:\Users\salvi\OneDrive\Desktop\discord-uberbot\src\MusicClient.js:127:22 at new Promise () at MusicClient.connectDB (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\src\MusicClient.js:126:12) at new MusicClient (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\src\MusicClient.js:76:10) at C:\Users\salvi\OneDrive\Desktop\discord-uberbot\src\index.js:247:19 (node:20704) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:20704) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. C:\Users\salvi\OneDrive\Desktop\discord-uberbot\src\index.js:257 throw new Error("DB connection timeout!"); ^

Error: DB connection timeout! at Timeout.checkDBConnection [as _onTimeout] (C:\Users\salvi\OneDrive\Desktop\discord-uberbot\src\index.js:257:15) at listOnTimeout (internal/timers.js:549:17) at processTimers (internal/timers.js:492:7)