Weeb-Devs / Laffey

An adorable lavalink discord music bot that has a lot of features inside it.
MIT License
79 stars 27 forks source link

Couldn't connect MongoDB #51

Open ogulcan-dev opened 2 years ago

ogulcan-dev commented 2 years ago

MONGODB URI is either not provided or invalid. Extra feature (prefix) won't be available

I have a error when start the app

Takiyo0 commented 2 years ago

That's because you either didn't include the mongodb URI or give an invalid mongodb URI that returns error while connection

ogulcan-dev commented 2 years ago

No, ı enter true mongodb url

SpaceLeft commented 2 years ago

No, ı enter true mongodb url

re-check your mongodb it fine with me.

ogulcan-dev commented 2 years ago

I think you dont understand me. I check my mongodb url. Do you understand bro?

Takiyo0 commented 2 years ago

change catch here https://github.com/Weeb-Devs/Laffey/blob/94f8b520dd795ee8e66d369f64840abdaaa98865/src/Laffey.js#L63 to .catch((e) => {console.error(e); available: false}) so you can see the error

ogulcan-dev commented 2 years ago

I have a error named this => querySrv ENOTFOUND _mongodb._tcp.45.147.45.124

Takiyo0 commented 2 years ago

try this https://www.mongodb.com/community/forums/t/getting-error-queryserv-enotfound-on-ubuntu/3538

ogulcan-dev commented 2 years ago

I tried, ı have same error