#Invalid status code for search response: 400

1 messages · Page 1 of 1 (latest)

icy glade
#

Lavalink fails to load tracks

DEBUG - mafic.node - node.py - node - __request - Received status 200 from lavalink.
DEBUG - mafic.node - node.py - node - __request - Received status 200 from lavalink from path loadtracks
DEBUG - mafic.node - node.py - node - __request - Received raw data {'loadType': 'LOAD_FAILED', 'tracks': [], 'playlistInfo': {}, 'exception': {'message': 'Something went wrong when looking up the track', 'severity': 'FAULT', 'cause': 'com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Something went wrong when looking up the track'}} from loadtracks
DEBUG - mafic.node - node.py - node - __request - Sending GET request to http://lavalink:2333/v3/loadtracks and data None.
#
#docker-compose.yaml
version: "3.7"

x-restart-policy: &restart_policy
  restart: unless-stopped

services:

  lavalink:
    <<: *restart_policy
    image: ghcr.io/freyacodes/lavalink:latest
    container_name: lavalink

    environment:
        - _JAVA_OPTIONS=-Xmx6G
        - SERVER_PORT=2333
        - LAVALINK_SERVER_PASSWORD=youshallnotpass

    networks:
        - lavalink

    expose:
        - 2333

    ports:
        - 2333:2333
#

@lyric basin

broken pilot
#

Do not ping people -- we will help you when we can.
Update your lavaplayer, and use youtube-source.

icy glade
#

and where i put youtuber-source

#

could you refer me docs of this section?

quartz oar
icy glade
#

and what about lavaplayer? i m using its container

#

and its already in latest version

quartz oar
#

omg

#

read

#

the github

icy glade
#

i don't understand java, though

broken pilot
#

OH 💀 I just seen that you're using lavalink

#

I didn't look at the first stacktrace and I completely blanked the word "lavalink" at the left side of the second stacktrace

#

you're running a very old lavalink build

#

go update your lavalink and switch to the youtube-source plugin

icy glade
broken pilot
#

¯_(ツ)_/¯

#

it's clearly not latest

lyric basin
#

we have long ago moved away from this image

#

unfortunately github doesn't redirect the github container repo

#

and doesn't allow to move it either

icy glade
#

ahh shit i just noticed that repo has been migrated

#
version: "3.7"

x-restart-policy: &restart_policy
  restart: unless-stopped

services:

  lavalink:
    <<: *restart_policy
    image: ghcr.io/lavalink-devs/lavalink:4a2b99f-alpine
    container_name: lavalink
    plugins:
      - dependency: "dev.lavalink.youtube:youtube-plugin:1.3.0"
        snapshot: false
    server:
      sources:
        youtube: false

    environment:
        - _JAVA_OPTIONS=-Xmx6G
        - SERVER_PORT=2333
        - LAVALINK_SERVER_PASSWORD=youshallnotpass

    networks:
        - lavalink

    expose:
        - 2333

    ports:
        - 2333:2333

#

is this now correct?

lyric basin
#

did you try it?

icy glade
#

yup it's wrong

icy glade
broken pilot
#

¯_(ツ)_/¯

icy glade
#

plz don't make fun of me ? compose file doesn't support those

#

where do i put those conf?

broken pilot
#

where tf did i make fun of you lmao

icy glade
#

¯_(ツ)_/¯

lyric basin
#

docker-compose.ymlapplication.yml

icy glade
lyric basin
#

So what kind of guide did you follow to setup lavalink?

icy glade
#

followed you only

#

you told me to containerize the code

#

and use lavalink container

lyric basin
#

🤨

icy glade
#

and told me to set env var for changing password

#

like this

lyric basin
#

Usually lavalink is configured via an application.yml

icy glade
#

we talked way long back when repo wasn't migrated

lyric basin
#

Sure env vars work too

#

But then you need to translate the properties to env vars.

#

All guides will reference the application.yml

icy glade
#

so what should i do for setup in container

lyric basin
#

You can start by translating application.yml properties to env vars

#

Your you simply use the application.yml

#

¯_(ツ)_/¯

icy glade
#

but for that i will need to update image via separate dockerfile for it?

#

ok i m doing that

lyric basin
#

no

#

not at all

icy glade
#

then?

lyric basin
icy glade
#

shit i forgot that volume exsists

lyric basin
#

after all you literally joined today

#

¯_(ツ)_/¯

icy glade
#

this is my alt acc

#

prev acc got banned

lyric basin
icy glade
#

nvm leave it

#

btw tell me do i have to download plugin too?

#

as its taking plugin too

#

or it will auto setup

lyric basin
#

If you add them in your config the will auto download

icy glade
#

then what i need to do?

#

as mafic says this. from where i will get spotify plugin

lyric basin
#

Have you tried checking the plugins section in the online docs

icy glade
#

checking...

icy glade
lyric basin
icy glade
#

ohh then i should stick with yotube only

#

till spotify gets pr

#
lavalink    | 2024-06-06T18:47:26.766Z  WARN 1 --- [pool-3-thread-1] o.s.os.linux.LinuxOperatingSystem        : Did not find udev library in operating system. Some features may not work.```
#

will this make problem?