Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

websocket error #287

Open
a3ro-dev opened this issue Feb 24, 2024 · 2 comments
Open

websocket error #287

a3ro-dev opened this issue Feb 24, 2024 · 2 comments

Comments

@a3ro-dev
Copy link

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
Copy link
Contributor

chillymosh commented Feb 24, 2024

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants