lavalink-devs / Lavalink

Standalone audio sending node based on Lavaplayer.
https://lavalink.dev/
MIT License
1.58k stars 668 forks source link

So much stuttering, not sure what I am dong wrong #783

Closed fmunim closed 1 year ago

fmunim commented 1 year ago

Description

The lavalink is instance is causing the stuttering too much in the bot

My Config

server: # REST and WS server
  port: xxx
  address: xxx
lavalink:
  server:
    password: "xxx"
    sources:
      youtube: true
      bandcamp: true
      soundcloud: true
      twitch: true
      vimeo: true
      http: true
      local: true
    bufferDurationMs: 500 # The duration of the NAS buffer. Higher values fare better against longer GC pauses. Minimum of 40ms, lower values may introduce pauses.
    frameBufferDurationMs: 5000 # How many milliseconds of audio to keep buffered
    opusEncodingQuality: 10 # Opus encoder quality. Valid values range from 0 to 10, where 10 is best quality but is the most expensive on the CPU.
    resamplingQuality: HIGH # Quality of resampling operations. Valid values are LOW, MEDIUM and HIGH, where HIGH uses the most CPU.
    trackStuckThresholdMs: 10000 # The threshold for how long a track can be stuck. A track is stuck if does not return any audio data.
    useSeekGhosting: true # Seek ghosting is the effect where whilst a seek is in progress, the audio buffer is read from until empty, or until seek is ready.
    youtubePlaylistLoadLimit: 10 # Number of pages at 100 each
    playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
    youtubeSearchEnabled: true
    soundcloudSearchEnabled: true
    gc-warnings: true
    #ratelimit:
      #ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks
      #excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink
      #strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
      #searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
      #retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
    youtubeConfig: # Required for avoiding all age restrictions by YouTube, some restricted videos still can be played without.
      email: "xxx" # Email of Google account
      password: "xxx!" # Password of Google account
    #httpConfig: # Useful for blocking bad-actors from ip-grabbing your music node and attacking it, this way only the http proxy will be attacked
      #proxyHost: "localhost" # Hostname of the proxy, (ip or domain)
      #proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy
      #proxyUser: "" # Optional user for basic authentication fields, leave blank if you don't use basic auth
      #proxyPassword: "" # Password for basic authentication

metrics:
  prometheus:
    enabled: false
    endpoint: /metrics

sentry:
  dsn: ""
  environment: ""
#  tags:
#    some_key: some_value
#    another_key: another_value

logging:
  file:
    path: ./logs/

  level:
    root: INFO
    lavalink: INFO

  logback:
    rollingpolicy:
      max-file-size: 1GB
      max-history: 30

Output of java -version:

openjdk version "17.0.4" 2022-07-19
OpenJDK Runtime Environment (build 17.0.4+8-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 17.0.4+8-Debian-1deb11u1, mixed mode, sharing)

Lavalink Logs

2022-11-23 14:41:39.238  INFO 31957 --- [main] lavalink.server.Launcher                 : No active profile set, falling back to 1 default profile: "default"
2022-11-23 14:41:40.693  INFO 31957 --- [main] lavalink.server.Launcher                 : Started Launcher in 2.174 seconds (JVM running for 2.751)
2022-11-23 14:41:40.697  INFO 31957 --- [main] lavalink.server.Launcher                 : You can safely ignore the big red warning about illegal reflection. See https://github.com/freyacodes/Lavalink/issues/295
2022-11-23 14:41:40.750  INFO 31957 --- [main] lavalink.server.Launcher                 : 

       .   _                  _ _       _    __ _ _
      /\\ | | __ ___   ____ _| (_)_ __ | | __\ \ \ \
     ( ( )| |/ _` \ \ / / _` | | | '_ \| |/ / \ \ \ \
      \\/ | | (_| |\ V / (_| | | | | | |   <   ) ) ) )
       '  |_|\__,_| \_/ \__,_|_|_|_| |_|_|\_\ / / / /
    =========================================/_/_/_/

    Version:        3.6.2
    Build time:     08.11.2022 09:02:53 UTC
    Branch          HEAD
    Commit:         4782f1f
    Commit time:    08.11.2022 09:01:14 UTC
    JVM:            17.0.4
    Lavaplayer      1.3.99.1-original

2022-11-23 14:41:40.759  INFO 31957 --- [main] lavalink.server.Launcher                 : No active profile set, falling back to 1 default profile: "default"
2022-11-23 14:41:41.603  WARN 31957 --- [main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
2022-11-23 14:41:41.635  INFO 31957 --- [main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2022-11-23 14:41:41.635  INFO 31957 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 870 ms
2022-11-23 14:41:41.986  INFO 31957 --- [main] c.s.d.l.tools.GarbageCollectionMonitor   : GC monitoring enabled, reporting results every 2 minutes.
2022-11-23 14:41:42.028  INFO 31957 --- [main] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube master token (current is null).
2022-11-23 14:41:42.278  INFO 31957 --- [main] lavalink.server.config.KoeConfiguration  : OS: LINUX, Arch: X86_64
2022-11-23 14:41:42.278  INFO 31957 --- [main] lavalink.server.config.KoeConfiguration  : Enabling JDA-NAS
2022-11-23 14:41:42.284  INFO 31957 --- [main] c.s.l.c.natives.NativeLibraryLoader      : Native library udpqueue: loading with filter null
2022-11-23 14:41:42.290  INFO 31957 --- [main] c.s.l.c.natives.NativeLibraryLoader      : Native library udpqueue: successfully loaded.
2022-11-23 14:41:42.355  WARN 31957 --- [main] l.server.config.SentryConfiguration      : Turning off sentry
2022-11-23 14:41:42.748  INFO 31957 --- [main] io.undertow                              : starting server: Undertow - 2.2.16.Final
2022-11-23 14:41:42.763  INFO 31957 --- [main] org.xnio                                 : XNIO version 3.8.6.Final
2022-11-23 14:41:42.775  INFO 31957 --- [main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final
2022-11-23 14:41:42.870  INFO 31957 --- [main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final
2022-11-23 14:41:42.938  INFO 31957 --- [main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 2333 (http)
2022-11-23 14:41:42.945  INFO 31957 --- [main] lavalink.server.Launcher                 : Started Launcher in 2.242 seconds (JVM running for 5.004)
2022-11-23 14:41:42.947  INFO 31957 --- [main] lavalink.server.Launcher                 : Lavalink is ready to accept connections.
2022-11-23 14:41:43.328  INFO 31957 --- [ForkJoinPool.commonPool-worker-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube master token succeeded, new token is xxx.
2022-11-23 14:43:06.610  INFO 31957 --- [XNIO-1 task-1] io.undertow.servlet                      : Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-11-23 14:43:06.610  INFO 31957 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2022-11-23 14:43:06.612  INFO 31957 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2022-11-23 14:43:06.636  INFO 31957 --- [XNIO-1 task-1] l.server.io.HandshakeInterceptorImpl     : Incoming connection from /xxx
2022-11-23 14:43:06.800  INFO 31957 --- [XNIO-1 task-1] lavalink.server.io.SocketServer          : Connection successfully established from DiscordMusic/v5.0.0-beta (Bot: 1034505514496835624)
2022-11-24 00:22:59.205  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"volume","guildId":"xxx","volume":100}
2022-11-24 00:23:00.015  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"voiceUpdate","guildId":"xxx","sessionId":"9a5b63d51124052be06471bd2a1585ad","event":{"token":"7b6b48874a6e77dd","guild_id":"xxx","endpoint":"newark416.discord.media:443"}}
2022-11-24 00:23:00.030  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:I know U [lntg rework]"
2022-11-24 00:23:00.542  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded playlist Search results for: I know U [lntg rework]
2022-11-24 00:30:43.617  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://soundcloud.com/late-nite-tuff-guy/i-know-u-lntg-rework"
2022-11-24 00:30:43.622  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.s.SoundCloudClientIdTracker    : Updating SoundCloud client ID (current is null).
2022-11-24 00:30:43.902  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.s.SoundCloudClientIdTracker    : Updating SoundCloud client ID succeeded, new ID is xxx.
2022-11-24 00:30:44.076  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded track I Know U [LNTG Rework]
2022-11-24 00:30:44.089  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"xxx","track":"QAAA/gIAFkkgS25vdyBVIFtMTlRHIFJld29ya10AEkxhdGUgTml0ZSBUdWZmIEd1eQAAAAAABiuIAHFPOmh0dHBzOi8vYXBpLXYyLnNvdW5kY2xvdWQuY29tL21lZGlhL3NvdW5kY2xvdWQ6dHJhY2tzOjM4NzEwNDg0My9hZmU1YTE5Ny05OTkzLTQ3YjctYWQ5NC0yZDQ0NDJjMTAwNjUvc3RyZWFtL2hscwABAD5odHRwczovL3NvdW5kY2xvdWQuY29tL2xhdGUtbml0ZS10dWZmLWd1eS9pLWtub3ctdS1sbnRnLXJld29yawAKc291bmRjbG91ZAAAAAAAAAAA"}
2022-11-24 00:37:28.309  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"xxx","track":"QAAA/gIAFkkgS25vdyBVIFtMTlRHIFJld29ya10AEkxhdGUgTml0ZSBUdWZmIEd1eQAAAAAABiuIAHFPOmh0dHBzOi8vYXBpLXYyLnNvdW5kY2xvdWQuY29tL21lZGlhL3NvdW5kY2xvdWQ6dHJhY2tzOjM4NzEwNDg0My9hZmU1YTE5Ny05OTkzLTQ3YjctYWQ5NC0yZDQ0NDJjMTAwNjUvc3RyZWFtL2hscwABAD5odHRwczovL3NvdW5kY2xvdWQuY29tL2xhdGUtbml0ZS10dWZmLWd1eS9pLWtub3ctdS1sbnRnLXJld29yawAKc291bmRjbG91ZAAAAAAAAAAA"}
2022-11-24 00:37:42.495  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":true}
2022-11-24 00:37:43.998  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":false}
2022-11-24 00:38:47.069  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":true}
2022-11-24 02:36:32.892  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":false}
2022-11-24 02:36:39.803  INFO 31957 --- [lava-daemon-pool-playback-1-thread-1] o.apache.http.impl.execchain.RetryExec   : I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://cf-hls-opus-media.sndcdn.com:443: The target server failed to respond
2022-11-24 02:36:39.804  INFO 31957 --- [lava-daemon-pool-playback-1-thread-1] o.apache.http.impl.execchain.RetryExec   : Retrying request to {s}->https://cf-hls-opus-media.sndcdn.com:443
2022-11-24 02:36:57.341  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:cinematic music"
2022-11-24 02:36:57.853  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded playlist Search results for: cinematic music
2022-11-24 02:37:13.945  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://www.youtube.com/watch?v=BFTefTj2R5E"
2022-11-24 02:37:13.949  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube access token (current is null).
2022-11-24 02:37:14.138  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube access token succeeded, new token is xxx, next update will be after 84321 seconds.
2022-11-24 02:37:14.364  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube visitor id (current is null).
2022-11-24 02:37:14.426  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube visitor id succeeded, new one is CgtHX19JT3FhNkt2SSjasfubBg%3D%3D, next update will be after 600 seconds.
2022-11-24 02:37:14.545  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded track 2 Hours of Cinematic Ambient Music: AETHER Vol. I | GRV Music Mix
2022-11-24 02:41:59.007  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"xxx","track":"QAAApgIAQTIgSG91cnMgb2YgQ2luZW1hdGljIEFtYmllbnQgTXVzaWM6IEFFVEhFUiBWb2wuIEkgfCBHUlYgTXVzaWMgTWl4AAtNb3J0aWZlciBWLgAAAAAAcJwgAAtCRlRlZlRqMlI1RQABACtodHRwczovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PUJGVGVmVGoyUjVFAAd5b3V0dWJlAAAAAAAAAAA="}
2022-11-24 03:04:00.243  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":true}
2022-11-24 04:11:17.924  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":false}
2022-11-24 04:13:18.029  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:lofi hip hop study to"
2022-11-24 04:13:18.581  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded playlist Search results for: lofi hip hop study to
2022-11-24 04:13:22.794  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"stop","guildId":"xxx"}
2022-11-24 04:13:22.803  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"xxx","track":"QAAAmgIAN0Jlc3Qgb2YgbG9maSBoaXAgaG9wIDIwMjEg4pyoIC0gYmVhdHMgdG8gcmVsYXgvc3R1ZHkgdG8ACUxvZmkgR2lybAAAAAABZvaIAAtuNjFVTEVVN0NPMAABACtodHRwczovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PW42MVVMRVU3Q08wAAd5b3V0dWJlAAAAAAAAAAA="}
2022-11-24 04:13:22.804  INFO 31957 --- [lava-daemon-pool-playback-1-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube visitor id (current is CgtHX19JT3FhNkt2SSjasfubBg%3D%3D).
2022-11-24 04:13:22.858  INFO 31957 --- [lava-daemon-pool-playback-1-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube visitor id succeeded, new one is CgtFMjNMNnl2OGd5OCji3vubBg%3D%3D, next update will be after 600 seconds.
2022-11-24 04:25:04.089  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":true}
2022-11-24 04:25:11.190  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":false}

Please help me resolve this

fmunim commented 1 year ago

Description

The lavalink is instance is causing the stuttering too much in the bot

My Config

server: # REST and WS server
  port: xxx
  address: xxx
lavalink:
  server:
    password: "xxx"
    sources:
      youtube: true
      bandcamp: true
      soundcloud: true
      twitch: true
      vimeo: true
      http: true
      local: true
    bufferDurationMs: 500 # The duration of the NAS buffer. Higher values fare better against longer GC pauses. Minimum of 40ms, lower values may introduce pauses.
    frameBufferDurationMs: 5000 # How many milliseconds of audio to keep buffered
    opusEncodingQuality: 10 # Opus encoder quality. Valid values range from 0 to 10, where 10 is best quality but is the most expensive on the CPU.
    resamplingQuality: HIGH # Quality of resampling operations. Valid values are LOW, MEDIUM and HIGH, where HIGH uses the most CPU.
    trackStuckThresholdMs: 10000 # The threshold for how long a track can be stuck. A track is stuck if does not return any audio data.
    useSeekGhosting: true # Seek ghosting is the effect where whilst a seek is in progress, the audio buffer is read from until empty, or until seek is ready.
    youtubePlaylistLoadLimit: 10 # Number of pages at 100 each
    playerUpdateInterval: 5 # How frequently to send player updates to clients, in seconds
    youtubeSearchEnabled: true
    soundcloudSearchEnabled: true
    gc-warnings: true
    #ratelimit:
      #ipBlocks: ["1.0.0.0/8", "..."] # list of ip blocks
      #excludedIps: ["...", "..."] # ips which should be explicit excluded from usage by lavalink
      #strategy: "RotateOnBan" # RotateOnBan | LoadBalance | NanoSwitch | RotatingNanoSwitch
      #searchTriggersFail: true # Whether a search 429 should trigger marking the ip as failing
      #retryLimit: -1 # -1 = use default lavaplayer value | 0 = infinity | >0 = retry will happen this numbers times
    youtubeConfig: # Required for avoiding all age restrictions by YouTube, some restricted videos still can be played without.
      email: "xxx" # Email of Google account
      password: "xxx!" # Password of Google account
    #httpConfig: # Useful for blocking bad-actors from ip-grabbing your music node and attacking it, this way only the http proxy will be attacked
      #proxyHost: "localhost" # Hostname of the proxy, (ip or domain)
      #proxyPort: 3128 # Proxy port, 3128 is the default for squidProxy
      #proxyUser: "" # Optional user for basic authentication fields, leave blank if you don't use basic auth
      #proxyPassword: "" # Password for basic authentication

metrics:
  prometheus:
    enabled: false
    endpoint: /metrics

sentry:
  dsn: ""
  environment: ""
#  tags:
#    some_key: some_value
#    another_key: another_value

logging:
  file:
    path: ./logs/

  level:
    root: INFO
    lavalink: INFO

  logback:
    rollingpolicy:
      max-file-size: 1GB
      max-history: 30

Output of java -version:

openjdk version "17.0.4" 2022-07-19
OpenJDK Runtime Environment (build 17.0.4+8-Debian-1deb11u1)
OpenJDK 64-Bit Server VM (build 17.0.4+8-Debian-1deb11u1, mixed mode, sharing)

Lavalink Logs

2022-11-23 14:41:39.238  INFO 31957 --- [main] lavalink.server.Launcher                 : No active profile set, falling back to 1 default profile: "default"
2022-11-23 14:41:40.693  INFO 31957 --- [main] lavalink.server.Launcher                 : Started Launcher in 2.174 seconds (JVM running for 2.751)
2022-11-23 14:41:40.697  INFO 31957 --- [main] lavalink.server.Launcher                 : You can safely ignore the big red warning about illegal reflection. See https://github.com/freyacodes/Lavalink/issues/295
2022-11-23 14:41:40.750  INFO 31957 --- [main] lavalink.server.Launcher                 : 

       .   _                  _ _       _    __ _ _
      /\\ | | __ ___   ____ _| (_)_ __ | | __\ \ \ \
     ( ( )| |/ _` \ \ / / _` | | | '_ \| |/ / \ \ \ \
      \\/ | | (_| |\ V / (_| | | | | | |   <   ) ) ) )
       '  |_|\__,_| \_/ \__,_|_|_|_| |_|_|\_\ / / / /
    =========================================/_/_/_/

  Version:        3.6.2
  Build time:     08.11.2022 09:02:53 UTC
  Branch          HEAD
  Commit:         4782f1f
  Commit time:    08.11.2022 09:01:14 UTC
  JVM:            17.0.4
  Lavaplayer      1.3.99.1-original

2022-11-23 14:41:40.759  INFO 31957 --- [main] lavalink.server.Launcher                 : No active profile set, falling back to 1 default profile: "default"
2022-11-23 14:41:41.603  WARN 31957 --- [main] io.undertow.websockets.jsr               : UT026010: Buffer pool was not set on WebSocketDeploymentInfo, the default pool will be used
2022-11-23 14:41:41.635  INFO 31957 --- [main] io.undertow.servlet                      : Initializing Spring embedded WebApplicationContext
2022-11-23 14:41:41.635  INFO 31957 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 870 ms
2022-11-23 14:41:41.986  INFO 31957 --- [main] c.s.d.l.tools.GarbageCollectionMonitor   : GC monitoring enabled, reporting results every 2 minutes.
2022-11-23 14:41:42.028  INFO 31957 --- [main] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube master token (current is null).
2022-11-23 14:41:42.278  INFO 31957 --- [main] lavalink.server.config.KoeConfiguration  : OS: LINUX, Arch: X86_64
2022-11-23 14:41:42.278  INFO 31957 --- [main] lavalink.server.config.KoeConfiguration  : Enabling JDA-NAS
2022-11-23 14:41:42.284  INFO 31957 --- [main] c.s.l.c.natives.NativeLibraryLoader      : Native library udpqueue: loading with filter null
2022-11-23 14:41:42.290  INFO 31957 --- [main] c.s.l.c.natives.NativeLibraryLoader      : Native library udpqueue: successfully loaded.
2022-11-23 14:41:42.355  WARN 31957 --- [main] l.server.config.SentryConfiguration      : Turning off sentry
2022-11-23 14:41:42.748  INFO 31957 --- [main] io.undertow                              : starting server: Undertow - 2.2.16.Final
2022-11-23 14:41:42.763  INFO 31957 --- [main] org.xnio                                 : XNIO version 3.8.6.Final
2022-11-23 14:41:42.775  INFO 31957 --- [main] org.xnio.nio                             : XNIO NIO Implementation Version 3.8.6.Final
2022-11-23 14:41:42.870  INFO 31957 --- [main] org.jboss.threads                        : JBoss Threads version 3.1.0.Final
2022-11-23 14:41:42.938  INFO 31957 --- [main] o.s.b.w.e.undertow.UndertowWebServer     : Undertow started on port(s) 2333 (http)
2022-11-23 14:41:42.945  INFO 31957 --- [main] lavalink.server.Launcher                 : Started Launcher in 2.242 seconds (JVM running for 5.004)
2022-11-23 14:41:42.947  INFO 31957 --- [main] lavalink.server.Launcher                 : Lavalink is ready to accept connections.
2022-11-23 14:41:43.328  INFO 31957 --- [ForkJoinPool.commonPool-worker-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube master token succeeded, new token is xxx.
2022-11-23 14:43:06.610  INFO 31957 --- [XNIO-1 task-1] io.undertow.servlet                      : Initializing Spring DispatcherServlet 'dispatcherServlet'
2022-11-23 14:43:06.610  INFO 31957 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2022-11-23 14:43:06.612  INFO 31957 --- [XNIO-1 task-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 1 ms
2022-11-23 14:43:06.636  INFO 31957 --- [XNIO-1 task-1] l.server.io.HandshakeInterceptorImpl     : Incoming connection from /xxx
2022-11-23 14:43:06.800  INFO 31957 --- [XNIO-1 task-1] lavalink.server.io.SocketServer          : Connection successfully established from DiscordMusic/v5.0.0-beta (Bot: 1034505514496835624)
2022-11-24 00:22:59.205  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"volume","guildId":"xxx","volume":100}
2022-11-24 00:23:00.015  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"voiceUpdate","guildId":"xxx","sessionId":"9a5b63d51124052be06471bd2a1585ad","event":{"token":"7b6b48874a6e77dd","guild_id":"xxx","endpoint":"newark416.discord.media:443"}}
2022-11-24 00:23:00.030  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:I know U [lntg rework]"
2022-11-24 00:23:00.542  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded playlist Search results for: I know U [lntg rework]
2022-11-24 00:30:43.617  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://soundcloud.com/late-nite-tuff-guy/i-know-u-lntg-rework"
2022-11-24 00:30:43.622  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.s.SoundCloudClientIdTracker    : Updating SoundCloud client ID (current is null).
2022-11-24 00:30:43.902  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.s.SoundCloudClientIdTracker    : Updating SoundCloud client ID succeeded, new ID is xxx.
2022-11-24 00:30:44.076  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded track I Know U [LNTG Rework]
2022-11-24 00:30:44.089  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"xxx","track":"QAAA/gIAFkkgS25vdyBVIFtMTlRHIFJld29ya10AEkxhdGUgTml0ZSBUdWZmIEd1eQAAAAAABiuIAHFPOmh0dHBzOi8vYXBpLXYyLnNvdW5kY2xvdWQuY29tL21lZGlhL3NvdW5kY2xvdWQ6dHJhY2tzOjM4NzEwNDg0My9hZmU1YTE5Ny05OTkzLTQ3YjctYWQ5NC0yZDQ0NDJjMTAwNjUvc3RyZWFtL2hscwABAD5odHRwczovL3NvdW5kY2xvdWQuY29tL2xhdGUtbml0ZS10dWZmLWd1eS9pLWtub3ctdS1sbnRnLXJld29yawAKc291bmRjbG91ZAAAAAAAAAAA"}
2022-11-24 00:37:28.309  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"xxx","track":"QAAA/gIAFkkgS25vdyBVIFtMTlRHIFJld29ya10AEkxhdGUgTml0ZSBUdWZmIEd1eQAAAAAABiuIAHFPOmh0dHBzOi8vYXBpLXYyLnNvdW5kY2xvdWQuY29tL21lZGlhL3NvdW5kY2xvdWQ6dHJhY2tzOjM4NzEwNDg0My9hZmU1YTE5Ny05OTkzLTQ3YjctYWQ5NC0yZDQ0NDJjMTAwNjUvc3RyZWFtL2hscwABAD5odHRwczovL3NvdW5kY2xvdWQuY29tL2xhdGUtbml0ZS10dWZmLWd1eS9pLWtub3ctdS1sbnRnLXJld29yawAKc291bmRjbG91ZAAAAAAAAAAA"}
2022-11-24 00:37:42.495  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":true}
2022-11-24 00:37:43.998  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":false}
2022-11-24 00:38:47.069  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":true}
2022-11-24 02:36:32.892  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":false}
2022-11-24 02:36:39.803  INFO 31957 --- [lava-daemon-pool-playback-1-thread-1] o.apache.http.impl.execchain.RetryExec   : I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {s}->https://cf-hls-opus-media.sndcdn.com:443: The target server failed to respond
2022-11-24 02:36:39.804  INFO 31957 --- [lava-daemon-pool-playback-1-thread-1] o.apache.http.impl.execchain.RetryExec   : Retrying request to {s}->https://cf-hls-opus-media.sndcdn.com:443
2022-11-24 02:36:57.341  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:cinematic music"
2022-11-24 02:36:57.853  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded playlist Search results for: cinematic music
2022-11-24 02:37:13.945  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "https://www.youtube.com/watch?v=BFTefTj2R5E"
2022-11-24 02:37:13.949  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube access token (current is null).
2022-11-24 02:37:14.138  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube access token succeeded, new token is xxx, next update will be after 84321 seconds.
2022-11-24 02:37:14.364  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube visitor id (current is null).
2022-11-24 02:37:14.426  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube visitor id succeeded, new one is CgtHX19JT3FhNkt2SSjasfubBg%3D%3D, next update will be after 600 seconds.
2022-11-24 02:37:14.545  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded track 2 Hours of Cinematic Ambient Music: AETHER Vol. I | GRV Music Mix
2022-11-24 02:41:59.007  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"xxx","track":"QAAApgIAQTIgSG91cnMgb2YgQ2luZW1hdGljIEFtYmllbnQgTXVzaWM6IEFFVEhFUiBWb2wuIEkgfCBHUlYgTXVzaWMgTWl4AAtNb3J0aWZlciBWLgAAAAAAcJwgAAtCRlRlZlRqMlI1RQABACtodHRwczovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PUJGVGVmVGoyUjVFAAd5b3V0dWJlAAAAAAAAAAA="}
2022-11-24 03:04:00.243  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":true}
2022-11-24 04:11:17.924  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":false}
2022-11-24 04:13:18.029  INFO 31957 --- [XNIO-1 task-1] l.server.player.AudioLoaderRestHandler   : Got request to load for identifier "ytsearch:lofi hip hop study to"
2022-11-24 04:13:18.581  INFO 31957 --- [lava-daemon-pool-info-loader-2-thread-1] lavalink.server.player.AudioLoader       : Loaded playlist Search results for: lofi hip hop study to
2022-11-24 04:13:22.794  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"stop","guildId":"xxx"}
2022-11-24 04:13:22.803  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"play","guildId":"xxx","track":"QAAAmgIAN0Jlc3Qgb2YgbG9maSBoaXAgaG9wIDIwMjEg4pyoIC0gYmVhdHMgdG8gcmVsYXgvc3R1ZHkgdG8ACUxvZmkgR2lybAAAAAABZvaIAAtuNjFVTEVVN0NPMAABACtodHRwczovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PW42MVVMRVU3Q08wAAd5b3V0dWJlAAAAAAAAAAA="}
2022-11-24 04:13:22.804  INFO 31957 --- [lava-daemon-pool-playback-1-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube visitor id (current is CgtHX19JT3FhNkt2SSjasfubBg%3D%3D).
2022-11-24 04:13:22.858  INFO 31957 --- [lava-daemon-pool-playback-1-thread-1] c.s.d.l.s.y.YoutubeAccessTokenTracker    : Updating YouTube visitor id succeeded, new one is CgtFMjNMNnl2OGd5OCji3vubBg%3D%3D, next update will be after 600 seconds.
2022-11-24 04:25:04.089  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":true}
2022-11-24 04:25:11.190  INFO 31957 --- [XNIO-1 I/O-2] lavalink.server.io.SocketServer          : {"op":"pause","guildId":"xxx","pause":false}

Please help me resolve this

This was solved by using azul java version 17