Closed Yerli-Oyuncu closed 2 months ago
That's difficult to ascertain when you've provided as little information as possible. Logs would help, as well as listing your architecture, and JVM vendor and version.
That's difficult to ascertain when you've provided as little information as possible. Logs would help, as well as listing your architecture, and JVM vendor and version.
Im using x64 cpu with java20 there is no errors on logs
2024-08-04T17:26:17.783+03:00 INFO 4840 --- [Lavalink] [ main] lavalink.server.Launcher : Starting Launcher v4.0.7 using Java 20.0.2 with PID 4840 (C:\Users\Administrator\Desktop\lavaserver\Lavalink.jar started by Administrator in C:\Users\Administrator\Desktop\lavaserver) 2024-08-04T17:26:17.809+03:00 DEBUG 4840 --- [Lavalink] [ main] lavalink.server.Launcher : Running with Spring Boot v3.3.0, Spring v6.1.9 2024-08-04T17:26:17.809+03:00 INFO 4840 --- [Lavalink] [ main] lavalink.server.Launcher : No active profile set, falling back to 1 default profile: "default" 2024-08-04T17:26:20.957+03:00 INFO 4840 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Found plugin 'lavasrc-plugin' version 4.2.0 2024-08-04T17:26:20.957+03:00 INFO 4840 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Found plugin 'youtube-plugin' version 1.5.1 2024-08-04T17:26:21.270+03:00 INFO 4840 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Loaded lavasrc-plugin-4.2.0.jar (131 classes) 2024-08-04T17:26:21.301+03:00 INFO 4840 --- [Lavalink] [ main] l.server.bootstrap.PluginManager : Loaded youtube-plugin-1.5.1.jar (10 classes) 2024-08-04T17:26:21.723+03:00 INFO 4840 --- [Lavalink] [ main] lavalink.server.Launcher : Started Launcher in 5.675 seconds (process running for 7.054) 2024-08-04T17:26:21.911+03:00 INFO 4840 --- [Lavalink] [ main] lavalink.server.Launcher :
[32m . [31m [32m [32m /\ [31m| | ____ | () | | [32m\ \ \ \ [32m ( ( )[31m| |/ ` \ \ / / ` | | | ' | |/ /[32m \ \ \ \ [32m \/ [31m| | (| |\ V / (| | | | | | | < [32m ) ) ) ) [32m ' [31m||_,| _/ \,|||| |||_\[32m / / / / [0m =========================================[32m///_/[0m
Version: 4.0.7
Build time: 08.07.2024 22:14:17 UTC
Branch HEAD
Commit: 93102f8
Commit time: 08.07.2024 21:49:02 UTC
JVM: 20.0.2
Lavaplayer 2.2.1
2024-08-04T17:26:21.942+03:00 INFO 4840 --- [Lavalink] [ main] lavalink.server.Launcher : No active profile set, falling back to 1 default profile: "default" 2024-08-04T17:26:23.805+03:00 WARN 4840 --- [Lavalink] [ main] io.undertow.websockets.jsr : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used 2024-08-04T17:26:23.868+03:00 INFO 4840 --- [Lavalink] [ main] io.undertow.servlet : Initializing Spring embedded WebApplicationContext 2024-08-04T17:26:23.868+03:00 INFO 4840 --- [Lavalink] [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1911 ms 2024-08-04T17:26:24.118+03:00 INFO 4840 --- [Lavalink] [ main] c.g.t.lavasrc.plugin.LavaSrcPlugin : Loading LavaSrc plugin... 2024-08-04T17:26:24.446+03:00 INFO 4840 --- [Lavalink] [ main] c.g.t.l.spotify.SpotifyTokenTracker : Missing/invalid credentials, falling back to public token. 2024-08-04T17:26:24.571+03:00 DEBUG 4840 --- [Lavalink] [ main] l.s.config.AudioPlayerConfiguration : No rate limit config block found, skipping setup of route planner 2024-08-04T17:26:24.618+03:00 INFO 4840 --- [Lavalink] [ main] c.s.d.l.tools.GarbageCollectionMonitor : GC monitoring enabled, reporting results every 2 minutes. 2024-08-04T17:26:24.618+03:00 DEBUG 4840 --- [Lavalink] [ main] l.s.config.AudioPlayerConfiguration : Setting frame buffer duration to 5000ms 2024-08-04T17:26:24.618+03:00 DEBUG 4840 --- [Lavalink] [ main] l.s.config.AudioPlayerConfiguration : Setting opusEncodingQuality to 0 2024-08-04T17:26:24.618+03:00 DEBUG 4840 --- [Lavalink] [ main] l.s.config.AudioPlayerConfiguration : Setting resamplingQuality to LOW 2024-08-04T17:26:24.618+03:00 DEBUG 4840 --- [Lavalink] [ main] l.s.config.AudioPlayerConfiguration : Setting Track Stuck Threshold to 10000ms 2024-08-04T17:26:24.618+03:00 DEBUG 4840 --- [Lavalink] [ main] l.s.config.AudioPlayerConfiguration : Setting useSeekGhosting to true 2024-08-04T17:26:25.586+03:00 INFO 4840 --- [Lavalink] [ main] c.g.t.lavasrc.plugin.LavaSrcPlugin : Registering Spotify audio source manager... 2024-08-04T17:26:25.711+03:00 INFO 4840 --- [Lavalink] [ main] d.l.youtube.plugin.YoutubePluginLoader : YouTube source initialised with clients: WEB_REMIX, ANDROID_TESTSUITE, WEB, TVHTML5_SIMPLY_EMBEDDED_PLAYER 2024-08-04T17:26:26.196+03:00 INFO 4840 --- [Lavalink] [ main] l.server.config.KoeConfiguration : OS: WINDOWS, Arch: X86_64 2024-08-04T17:26:26.196+03:00 INFO 4840 --- [Lavalink] [ main] l.server.config.KoeConfiguration : Enabling JDA-NAS 2024-08-04T17:26:26.212+03:00 INFO 4840 --- [Lavalink] [ main] c.s.l.c.natives.NativeLibraryLoader : Native library udpqueue: loading with filter null 2024-08-04T17:26:26.227+03:00 INFO 4840 --- [Lavalink] [ main] c.s.l.c.natives.NativeLibraryLoader : Native library udpqueue: successfully loaded. 2024-08-04T17:26:26.399+03:00 WARN 4840 --- [Lavalink] [ main] l.server.config.SentryConfiguration : Turning off sentry 2024-08-04T17:26:27.180+03:00 DEBUG 4840 --- [Lavalink] [ main] l.server.io.RequestLoggingFilter : Filter 'logFilter' configured for use 2024-08-04T17:26:27.180+03:00 DEBUG 4840 --- [Lavalink] [ main] l.server.io.ResponseHeaderFilter : Filter 'responseHeaderFilter' configured for use 2024-08-04T17:26:27.180+03:00 INFO 4840 --- [Lavalink] [ main] io.undertow : starting server: Undertow - 2.3.13.Final 2024-08-04T17:26:27.211+03:00 INFO 4840 --- [Lavalink] [ main] org.xnio : XNIO version 3.8.8.Final 2024-08-04T17:26:27.227+03:00 INFO 4840 --- [Lavalink] [ main] org.xnio.nio : XNIO NIO Implementation Version 3.8.8.Final 2024-08-04T17:26:27.539+03:00 INFO 4840 --- [Lavalink] [ main] org.jboss.threads : JBoss Threads version 3.5.0.Final 2024-08-04T17:26:27.664+03:00 INFO 4840 --- [Lavalink] [ main] o.s.b.w.e.undertow.UndertowWebServer : Undertow started on port 3131 (http) with context path '/' 2024-08-04T17:26:27.696+03:00 INFO 4840 --- [Lavalink] [ main] lavalink.server.Launcher : Started Launcher in 5.957 seconds (process running for 13.03) 2024-08-04T17:26:27.696+03:00 INFO 4840 --- [Lavalink] [ main] lavalink.server.Launcher : Lavalink is ready to accept connections. 2024-08-04T17:26:28.649+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-2] io.undertow.servlet : Initializing Spring DispatcherServlet 'dispatcherServlet' 2024-08-04T17:26:28.649+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2024-08-04T17:26:28.664+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms 2024-08-04T17:26:29.102+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/null/players/749649068522995862?noReplace=false, client=82.222.236.218, payload={"voice":{"token":"8190a4e92e8234ea","endpoint":"bucharest1272.discord.media:443","sessionId":"178919e5cbdf27e16c0fe442cbda44dc"}} 2024-08-04T17:26:29.230+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.HandshakeInterceptorImpl : Incoming connection from /82.222.236.218:55136 2024-08-04T17:26:29.345+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.RequestLoggingFilter : GET /v4/websocket, client=82.222.236.218 2024-08-04T17:26:29.500+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] lavalink.server.io.SocketServer : Connection successfully established from WaveMusic (@devblacky) 2024-08-04T17:26:30.813+03:00 WARN 4840 --- [Lavalink] [pool-3-thread-1] o.u.p.windows.PerfCounterWildcardQuery : Failed to locate performance object for Processor Information in the registry. Performance counters may be corrupt. Pdh call failed with error code 0xC0000BB8 2024-08-04T17:26:30.813+03:00 WARN 4840 --- [Lavalink] [pool-3-thread-1] o.u.p.windows.PerfCounterWildcardQuery : Disabling further attempts to query Processor Information. 2024-08-04T17:26:32.486+03:00 WARN 4840 --- [Lavalink] [pool-3-thread-1] o.u.p.windows.PerfCounterWildcardQuery : Failed to locate performance object for Process in the registry. Performance counters may be corrupt. Pdh call failed with error code 0xC0000BB8 2024-08-04T17:26:32.486+03:00 WARN 4840 --- [Lavalink] [pool-3-thread-1] o.u.p.windows.PerfCounterWildcardQuery : Disabling further attempts to query Process. 2024-08-04T17:26:40.953+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 I/O-3] lavalink.server.io.SocketServer : Connection closed from /82.222.236.218:55136 with id ozi7y78etn1feekg -- CloseStatus[code=1006, reason=] 2024-08-04T17:26:40.953+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 I/O-3] lavalink.server.io.SocketContext : Shutting down 0 playing players. 2024-08-04T17:26:45.969+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.HandshakeInterceptorImpl : Incoming connection from /82.222.236.218:55482 2024-08-04T17:26:45.969+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.RequestLoggingFilter : GET /v4/websocket, client=82.222.236.218 2024-08-04T17:26:45.985+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] lavalink.server.io.SocketServer : Connection successfully established from WaveMusic (@devblacky) 2024-08-04T17:26:48.288+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/rys0b3c9yfroac3u/players/749649068522995862?noReplace=false, client=82.222.236.218, payload={"voice":{"token":"4eadfdf93f5c8dba","endpoint":"bucharest1272.discord.media:443","sessionId":"fafdaa6cc7ea3f8b040c8aa26cc2505c"}} 2024-08-04T17:26:51.007+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.player.AudioLoaderRestHandler : Got request to load for identifier "ytsearch:" 2024-08-04T17:26:51.007+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] lavalink.server.player.AudioLoader : No matches found 2024-08-04T17:26:51.040+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.RequestLoggingFilter : GET /v4/loadtracks?identifier=ytsearch%3A, client=82.222.236.218 2024-08-04T17:26:52.538+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.player.AudioLoaderRestHandler : Got request to load for identifier "ytsearch:k" 2024-08-04T17:26:53.100+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] lavalink.server.player.AudioLoader : Loaded playlist Search results for: k 2024-08-04T17:26:53.116+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.RequestLoggingFilter : GET /v4/loadtracks?identifier=ytsearch%3Ak, client=82.222.236.218 2024-08-04T17:26:53.585+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.player.AudioLoaderRestHandler : Got request to load for identifier "ytsearch:kacaktv" 2024-08-04T17:26:53.819+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] lavalink.server.player.AudioLoader : Loaded playlist Search results for: kacaktv 2024-08-04T17:26:53.835+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.RequestLoggingFilter : GET /v4/loadtracks?identifier=ytsearch%3Akacaktv, client=82.222.236.218 2024-08-04T17:26:55.757+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.player.AudioLoaderRestHandler : Got request to load for identifier "https://www.youtube.com/watch?v=Cz1wY4nyVPo" 2024-08-04T17:26:56.429+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] lavalink.server.player.AudioLoader : Loaded track BU DORSEY─░ TA┼ŞIYAB─░LEN GER├çEK TIRCIDIR !! D├£NYANIN EN UZUN DORSES─░ | Euro Truck Simulator 2 2024-08-04T17:26:56.429+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.RequestLoggingFilter : GET /v4/loadtracks?identifier=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCz1wY4nyVPo, client=82.222.236.218 2024-08-04T17:26:56.507+03:00 INFO 4840 --- [Lavalink] [ XNIO-1 task-3] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/rys0b3c9yfroac3u/players/749649068522995862?noReplace=false, client=82.222.236.218, payload={"encodedTrack":"QAAA9gMAYUJVIERPUlNFWcSwIFRBxZ5JWUFCxLBMRU4gR0VSw4dFSyBUSVJDSURJUiAhISBEw5xOWUFOSU4gRU4gVVpVTiBET1JTRVPEsCB8IEV1cm8gVHJ1Y2sgU2ltdWxhdG9yIDIAB0thY2FLVFYAAAAAABYYQAALQ3oxd1k0bnlWUG8AAQAraHR0cHM6Ly93d3cueW91dHViZS5jb20vd2F0Y2g/dj1DejF3WTRueVZQbwEAMGh0dHBzOi8vaS55dGltZy5jb20vdmkvQ3oxd1k0bnlWUG8vbXFkZWZhdWx0LmpwZwAAB3lvdXR1YmUAAAAAAAAAAA=="}
What client are you using?
What client are you using?
what do you mean client? im using windows and the latest lavalink version you can see on what i send before
Lavalink client for example: nodejs shoukaku
Lavalink client for example:
nodejs shoukaku
yes im using shoukaku but i have no problem with this its working on another lavalink server
Na przykład klient Lavalink:
nodejs shoukaku
Tak, używam Shoukaku, ale nie mam z tym problemu, że działa na innym serwerze LavaLink
Używam lavalink na serwerze Windows, bot dołącza do kanału bez żadnego dźwięku, wypróbowałem inny serwer publiczny i zadziałał, więc jaki jest problem z konfiguracją mojego serwera?
Try using Outh2, I had a case where setting up a snapshot just with outh2 support and executing it fixed the error, and there were the same symptoms, namely no errors in the console and no sound.
lavalink:
plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:3358633542dbb53fbfeb365bdaa5e96b869cd2cf"
snapshot: true # Set to true if you want to use a snapshot version.
And config add https://github.com/lavalink-devs/youtube-source/tree/feat/oauth-integration?tab=readme-ov-file#using-oauth-tokens
Lavalink client for example:
nodejs shoukaku
yes im using shoukaku but i have no problem with this its working on another lavalink server
I am also facing this issue, Lavalink ran fine in local, but when I deploy it in my server then no sound issue appear. Strangely, no errors found in logs both client-side and lavalink/server-side. I am also using shoukaku as a client but I think that's not the problem, because I have tried using public lavalink server and it ran just fine as usual.
Lavalink: 4.0.7 JDK: 21, 17 (OpenJDK) Youtube Plugin: 1.7.1 (latest) Shoukaku: 4.1.0 (latest)
It seems that using OAuth2, as suggested by @infnibor, is working. However, is this really a viable option to use in the long term?
Lavalink client for example:
nodejs shoukaku
yes im using shoukaku but i have no problem with this its working on another lavalink server
I am also facing this issue, locally Lavalink ran fine, but when I deploy it in my server then no sound issue appear. I am also using shoukaku as a client but I think that's not the problem, because I have tried using public lavalink server and it ran just fine as usual.
Lavalink: 4.0.7 JDK: 21, 17 (OpenJDK) Youtube Plugin: 1.7.1 (Latest) Shoukaku: 4.1.0 (latest)
I installed pterodactyl panel on same machine and i setup lavalink its working fine.
Im using lavalink on windows server, the bot joins the channel without any sound i tried another public server and its worked so whats the problem with my server setup?