Wavelink icon indicating copy to clipboard operation
Wavelink copied to clipboard

websocket error

Open a3ro-dev opened this issue 1 year ago • 2 comments

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.

a3ro-dev avatar Feb 24 '24 11:02 a3ro-dev

@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.

chillymosh avatar Feb 24 '24 11:02 chillymosh

@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"))]

TonnoBelloSnello avatar Mar 03 '24 16:03 TonnoBelloSnello

okay

a3ro-dev avatar Aug 17 '24 08:08 a3ro-dev