Closed EliasCouma closed 7 months ago
@EliasCouma Please make sure you are running Lavalink 4 - currently you need to use this hotfixed version: https://repo.lavalink.dev/artifacts/lavalink/fe62703c/Lavalink.jar
Also, when trying to connect, make sure the URI has the protocol prefix of http://
Yeah, sadly still getting the same error
You'll need to provide some more information.
java -jar Lavalink.jar
with a terminal inside the actual directory and not outside it?127.0.0.1
and the URI = http://127.0.0.1:port
Also getting the same error attempting to connect to a node that's not even online
You'll have to show your code, ideally by joining the Discord. I have a suspicion you are entering a race condition by trying to connect in the wrong event / place.
It either has to be in the Bot subclass setup_hook
or in the cog_load
of a Cog of which the extension containing the Cog is loaded within the setup_hook
You're absolutely right! I moved it into my setup hook and it works now, silly me. Thank you!
An unexpected error occurred while connecting Node(identifier=, uri=, status=NodeStatus.CONNECTING, players=0) to Lavalink: "" If this error persists or wavelink is unable to reconnect, please see: https://github.com/PythonistaGuild/Wavelink/issues"
Not 100% sure why this is happening, especially as it's not giving me a specific reason "Lavalink: "" "