PythonistaGuild / Wavelink

A powerful Lavalink library for Discord.py.
https://wavelink.dev
MIT License
389 stars 178 forks source link

websocket error #287

Closed a3ro-dev closed 1 week ago

a3ro-dev commented 6 months ago

This is the old Lavalink websocket endpoint. Please use /v4/websocket instead. If you are using a client library, please update it to a Lavalink v4 compatible version or use Lavalink v3 instead.

chillymosh commented 6 months ago

@a3ro-dev did you mean to make this? If you did then you need to provide some actual info on what you are using.

I can only make the assumption you are using a pre 3.x version of Wavelink and can only recommend you update to the latest.

TonnoBelloSnello commented 5 months ago

@a3ro-dev Can you send me how you are trying to connect the socket? I had the same issue but i solved by changing the uri parameter in the Node connection:

Pre:

nodes = [wavelink.Node(uri="localhost:7000", password=os.environ.get("LAVALINK_PASSWORD"))]

post:

nodes = [wavelink.Node(uri="http://localhost:7000", password=os.environ.get("LAVALINK_PASSWORD"))]
a3ro-dev commented 1 week ago

okay