question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Lavalink server crashing 50% of the time.

See original GitHub issue

Description

Half of the time, when I try playing with Lavalink, it crashes with this:

Exception in websocket connection, closing. Channel state is Websocket Channel is null

java.lang.IllegalStateException: Failed to connect to wss://eu-central219.discord.media/?v=4

I can’t get a consistent result at this, it doesn’t work sometimes and sometimes it does.

Version info

Client used: erela,js

Output of java -jar Lavalink.jar --version:

The output is fine at the start but crashes when I start playing.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:12 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
NorteX-devcommented, Apr 3, 2020

OK, that seems to have fixed the issue entirely.

I can now enjoy the spicy clear sound of Lavalink 😄

0reactions
NorteX-devcommented, Oct 16, 2020

I use JDK12 and it works fine now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Lavalink frequently fails to connect to discord's voice servers
Whenever my client joins a discord voice channel, there's a very high chance that lavalink fails to connect to discord's voice servers.
Read more >
Advanced Installation Topics — LAVA 2022.11.1 documentation
Restart the lava-server-gunicorn service each time /etc/lava-server/settings.conf is modified. Configuring log file display¶. By default, test logs will be ...
Read more >
Lavalink Setup | DSharpPlus documentation
Lavalink - the newer, better way to do music. Lavalink is a standalone program, written in Java. It's a lightweight solution for playing...
Read more >
NodeJS - What does "socket hang up" actually mean?
The server crashed. The server refused your connection, ... A read timeout occurs any time the server is too slow to send back...
Read more >
SomethingHost Reviews | 3 of 11 - Trustpilot
Our Lavalink servers are running 24/7 with no issues whatsoever, ... Haven't crashed a single time and it's just very good host for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found