Open Naiml007 opened 1 day ago
Make sure ur lavalink server is working and accepting connections
Make sure ur lavalink server is working and accepting connections
okay
LAVALINK ERROR latest lavalink
2024-11-13T10:54:12.732+01:00 INFO 27 --- [Lavalink] [ XNIO-1 task-2] l.server.io.HandshakeInterceptorImpl : Incoming connection from /103.85.158.237:62715
2024-11-13T10:54:12.795+01:00 INFO 27 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : GET /v4/websocket, client=103.85.158.237
2024-11-13T10:54:12.888+01:00 INFO 27 --- [Lavalink] [ XNIO-1 task-2] lavalink.server.io.SocketServer : Connection successfully established from rainlink/[object Object] (https://github.com/RainyXeon/Rainlink)
2024-11-13T10:54:13.057+01:00 INFO 27 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : PATCH /v4/sessions/dt675g151uvp9347, client=103.85.158.237, payload={"resuming":true,"timeout":5000}
2024-11-13T10:54:42.429+01:00 INFO 27 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : GET /v4/stats, client=103.85.158.237
2024-11-13T10:54:42.459+01:00 INFO 27 --- [Lavalink] [ XNIO-1 task-2] l.server.player.AudioLoaderRestHandler : Got request to load for identifier "https://youtu.be/3HDWlcheW1w?si=o8NNE1KCg7wwhe7K"
2024-11-13T10:54:42.810+01:00 WARN 27 --- [Lavalink] [ XNIO-1 task-2] o.a.h.c.protocol.ResponseProcessCookies : Cookie rejected [GPS="1", version:0, domain:youtube.com, path:/, expiry:Wed Nov 13 11:24:42 CET 2024] Illegal 'domain' attribute "youtube.com". Domain of origin: "youtu.be"
---------------------------------
CET 2024] Illegal 'domain' attribute "youtube.com". Domain of origin: "youtu.be"
2024-11-13T10:54:42.810+01:00 WARN 27 --- [Lavalink] [ XNIO-1 task-2] o.a.h.c.protocol.ResponseProcessCookies : Cookie rejected [YSC="vLUjoMhU3uU", version:0, domain:youtube.com, path:/, expiry:null] Illegal 'domain' attribute "youtube.com". Domain of origin: "youtu.be"
2024-11-13T10:54:43.208+01:00 ERROR 27 --- [Lavalink] [ XNIO-1 task-2] l.server.player.AudioLoaderRestHandler : Failed to load track
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong while looking up the track.
at lavalink.server.util.LoadingKt.loadAudioItem(loading.kt:20) ~[classes!/:4.0.8]
at lavalink.server.player.AudioLoaderRestHandler.loadTracks(AudioLoaderRestHandler.kt:59) ~[classes!/:4.0.8]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[na:na]
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:569) ~[na:na]
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method.callMethod(CallerImpl.kt:97) ~[kotlin-reflect-2.0.0.jar!/:2.0.0-release-341]
at kotlin.reflect.jvm.internal.calls.CallerImpl$Method$Instance.call(CallerImpl.kt:113) ~[kotlin-reflect-2.0.0.jar!/:2.0.0-release-341]
at kotlin.reflect.jvm.internal.KCallableImpl.callDefaultMethod$kotlin_reflection(KCallableImpl.kt:207) ~[kotlin-reflect-2.0.0.jar!/:2.0.0-release-341]
at kotlin.reflect.jvm.internal.KCallableImpl.callBy(KCallableImpl.kt:112) ~[kotlin-reflect-2.0.0.jar!/:2.0.0-release-341]
at org.springframework.web.method.support.InvocableHandlerMethod$KotlinDelegate.invokeFunction(InvocableHandlerMethod.java:334) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:252) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:188) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:118) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:926) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:831) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:903) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:527) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885) ~[spring-webmvc-6.1.8.jar!/:6.1.8]
at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:614) ~[jakarta.servlet-api-6.0.0.jar!/:6.0.0]
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:289) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at lavalink.server.io.ResponseHeaderFilter.doFilterInternal(ResponseHeaderFilter.kt:17) ~[classes!/:4.0.8]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) ~[spring-web-6.1.9.jar!/:6.1.9]
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116) ~[spring-web-6.1.9.jar!/:6.1.9]
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:67) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:117) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.SendErrorPageHandler.handleRequest(SendErrorPageHandler.java:52) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:276) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:132) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:256) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:101) ~[undertow-servlet-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:393) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:859) ~[undertow-core-2.3.13.Final.jar!/:2.3.13.Final]
at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538) ~[jboss-threads-3.5.0.Final.jar!/:3.5.0.Final]
at org.xnio.XnioWorker$WorkerThreadFactory$1$1.run(XnioWorker.java:1282) ~[xnio-api-3.8.8.Final.jar!/:3.8.8.Final]
at java.base/java.lang.Thread.run(Thread.java:840) ~[na:na]
Caused by: com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Unknown file format.
at com.sedmelluq.discord.lavaplayer.source.ProbingAudioSourceManager.handleLoadResult(ProbingAudioSourceManager.java:35) ~[lavaplayer-2.2.2.jar!/:na]
at com.sedmelluq.discord.lavaplayer.source.http.HttpAudioSourceManager.loadItem(HttpAudioSourceManager.java:73) ~[lavaplayer-2.2.2.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItemOnce(DefaultAudioPlayerManager.java:442) ~[lavaplayer-2.2.2.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.checkSourcesForItem(DefaultAudioPlayerManager.java:423) ~[lavaplayer-2.2.2.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.loadItemSync(DefaultAudioPlayerManager.java:154) ~[lavaplayer-2.2.2.jar!/:na]
at com.sedmelluq.discord.lavaplayer.player.AudioPlayerManager.loadItemSync(AudioPlayerManager.java:127) ~[lavaplayer-2.2.2.jar!/:na]
at lavalink.server.util.LoadingKt.loadAudioItem(loading.kt:15) ~[classes!/:4.0.8]
... 67 common frames omitted
2024-11-13T10:54:43.228+01:00 INFO 27 --- [Lavalink] [ XNIO-1 task-2] l.server.io.RequestLoggingFilter : GET /v4/loadtracks?identifier=https%3A%2F%2Fyoutu.be%2F3HDWlcheW1w%3Fsi%3Do8NNE1KCg7wwhe7K, client=103.85.158.237
[Slash] [play] | (naimur_*****)[72711*****9226823] | 𝗖𝗥𝗬𝗢𝗚𝗘𝗡 [1240*****41521264]
Rainlink search result: { playlistName: undefined, tracks: [], type: 'SEARCH' }
[Slash] [play] | (naimur_*****)[72711*****9226823] | 𝗖𝗥𝗬𝗢𝗚𝗘𝗡 [1240*****41521264] Rainlink search result: { playlistName: undefined, tracks: [], type: 'SEARCH' }
You need to use online lavalink server. When u set a lavalink to ur config and start it. There will a log that tell u that ur lavalink is ready
[Slash] [play] | (naimur_*****)[72711*****9226823] | 𝗖𝗥𝗬𝗢𝗚𝗘𝗡 [1240*****41521264] Rainlink search result: { playlistName: undefined, tracks: [], type: 'SEARCH' }
You need to use online lavalink server. When u set a lavalink to ur config and start it. There will a log that tell u that ur lavalink is ready
[Slash] [play] | (naimur_*****)[72711*****9226823] | 𝗖𝗥𝗬𝗢𝗚𝗘𝗡 [1240*****41521264] Rainlink search result: { playlistName: undefined, tracks: [], type: 'SEARCH' }
You need to use online lavalink server. When u set a lavalink to ur config and start it. There will a log that tell u that ur lavalink is ready
I've tried everything, even hosting my own Lavalink server, but I’m still not able to get it working.
try this one:
Version 4.0.8
・
Host : node-us.beban.tech
Port : 80
Password : "dsc.gg/bebancommunity"
Secure : false
dsc.gg/bebancommunity
yarn run start
yarn run v1.22.22
$ node ./src/index.js
[INFO] Launched cluster 0
[INFO] Anticrash events loaded
[INFO] Database events loaded
[INFO] Bot events loaded
[INFO] 3 Prefix commands loaded
[INFO] Rainlink events loaded
[INFO] Shard 0 ready
[INFO] Banshai - বংশাই is ready with 7 server
[INFO] 21 Slash commands loaded
[INFO] Node Lunox ready
[INFO] Auto reconnect found in 0 servers
[Slash] [play] | (naimur_islam)[727112498209226823] | 𝗖𝗥𝗬𝗢𝗚𝗘𝗡 [1240681432041521264]
Rainlink search result: {
playlistName: undefined,
tracks: [
RainlinkTrack {
options: [Object],
uri: 'https://www.youtube.com/watch?v=vdXsLt0o_9g',
artworkUrl: 'https://lh3.googleusercontent.com/7WL2nSAzkdfNf9o9MJzGv8zXYqT46XSEnhHWAPr7UPMKT3INypOyAT-m2fo0qlTBRG2C47BBZz5oAqHvNQ=w1000-h1000',
isrc: null,
realUri: null,
encoded: 'QAAA+QMADUFsbCBUaGUgU3RhcnMADktlbmRyaWNrIExhbWFyAAAAAAADjigAC3ZkWHNMdDBvXzlnAAEAK2h0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9dmRYc0x0MG9fOWcBAIBodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vN1dMMm5TQXprZGZOZjlvOU1Kekd2OHpYWXFUNDZYU0VuaEhXQVByN1VQTUtUM0lOeXBPeUFULW0yZm8wcWxUQlJHMkM0N0JCWno1b0FxSHZOUT13MTAwMC1oMTAwMAAAB3lvdXR1YmUAAAAAAAAAAA==',
identifier: 'vdXsLt0o_9g',
isSeekable: true,
author: 'Kendrick Lamar',
duration: 233000,
isStream: false,
position: 0,
title: 'All The Stars',
source: 'youtube',
pluginInfo: [Object],
requester: [GuildMember],
driverName: 'lavalink/v4/koinu'
},
RainlinkTrack {
options: [Object],
uri: 'https://www.youtube.com/watch?v=9jdLnFYQh4s',
artworkUrl: 'https://lh3.googleusercontent.com/vJiUJUmTcE5r7l4kKyDzW8ma9PcSNuJzkY3CDeiXZfFBGq2ka5DYH4_l9gKB0yxgROoAE0W6c7GoxYg=w1000-h1000',
isrc: null,
realUri: null,
encoded: 'QAAA9gMADUFsbCB0aGUgU3RhcnMADktlbmRyaWNrIExhbWFyAAAAAAADmeAACzlqZExuRllRaDRzAAEAK2h0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9OWpkTG5GWVFoNHMBAH1odHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vdkppVUpVbVRjRTVyN2w0a0t5RHpXOG1hOVBjU051SnprWTNDRGVpWFpmRkJHcTJrYTVEWUg0X2w5Z0tCMHl4Z1JPb0FFMFc2YzdHb3hZZz13MTAwMC1oMTAwMAAAB3lvdXR1YmUAAAAAAAAAAA==',
identifier: '9jdLnFYQh4s',
isSeekable: true,
author: 'Kendrick Lamar',
duration: 236000,
isStream: false,
position: 0,
title: 'All the Stars',
source: 'youtube',
pluginInfo: [Object],
requester: [GuildMember],
driverName: 'lavalink/v4/koinu'
},
RainlinkTrack {
options: [Object],
uri: 'https://www.youtube.com/watch?v=ju4KQT0wL0I',
artworkUrl: 'https://lh3.googleusercontent.com/7KEW0KKIdZ4O7ot81fpmFLf0vlkvw77SEYCf-cN69rObpCTWERNWbFWbloPsjshSku_qSaBrWWojegKbRA=w1000-h1000',
isrc: null,
realUri: null,
encoded: 'QAAA+QMADUFsbCBUaGUgU3RhcnMADktlbmRyaWNrIExhbWFyAAAAAAADjigAC2p1NEtRVDB3TDBJAAEAK2h0dHBzOi8vd3d3LnlvdXR1YmUuY29tL3dhdGNoP3Y9anU0S1FUMHdMMEkBAIBodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vN0tFVzBLS0lkWjRPN290ODFmcG1GTGYwdmxrdnc3N1NFWUNmLWNONjlyT2JwQ1RXRVJOV2JGV2Jsb1BzanNoU2t1X3FTYUJyV1dvamVnS2JSQT13MTAwMC1oMTAwMAAAB3lvdXR1YmUAAAAAAAAAAA==',
identifier: 'ju4KQT0wL0I',
isSeekable: true,
author: 'Kendrick Lamar',
duration: 233000,
isStream: false,
position: 0,
title: 'All The Stars',
source: 'youtube',
pluginInfo: [Object],
requester: [GuildMember],
driverName: 'lavalink/v4/koinu'
},
};
yarn run start yarn run v1.22.22 $ node ./src/index.js [INFO] Launched cluster 0 [INFO] Anticrash events loaded [INFO] Database events loaded [INFO] Bot events loaded [INFO] 3 Prefix commands loaded [INFO] Rainlink events loaded [INFO] Shard 0 ready [INFO] Banshai - বংশাই is ready with 7 server [INFO] 21 Slash commands loaded [Slash] [play] | (naimur_islam)[727112498209226823] | 𝗖𝗥𝗬𝗢𝗚𝗘𝗡 [1240681432041521264] [Anticrash] | [UnhandledRejection_Logs] | [start] : =============== Unhandled Rejection at: Promise {