#Lavasearch 404

1 messages · Page 1 of 1 (latest)

umbral cobalt
#

When making requests to /v4/loadsearch I constantly get 404 responses. Both the LavaSearch and the LavaSrc plugins are loaded.

curl -v -H "Authorization: ---" "http://localhost:2333/v4/loadsearch?query=ytsearch:rickroll&types=track"

returns 404, same thing with spsearch:

The lavasrc config looks like this:

providers:
      - "ytsearch:\"%ISRC%\""
      - "ytsearch:%QUERY%"
    sources:
      spotify: true 
      applemusic: false 
      deezer: false 
      yandexmusic: false 
      flowerytts: true 
      youtube: true 
    spotify:
      clientId: "---"
      clientSecret: "---"
      countryCode: "US" 
      playlistLoadLimit: 6 
      albumLoadLimit: 6 
    flowerytts:
      voice: "Eric" 
      translate: false 
      silence: 0 
      speed: 1.0 
      audioFormat: "ogg_opus"

For LavaSearch I don't have any config but I dodn't found anything about config I would need

cobalt onyx
#

Are you sure you are using lavalink v4?

umbral cobalt
#

yes

ornate pawn
#

please read the post guidelines

#

where are the logs :))

cobalt onyx
#

try removing the result type (i dont know much about these)

curl -X GET -H "Authorization: ---" http://localhost:2333/v4/loadtracks?identifier=ytsearch:rickroll

ornate pawn
#

also try different lavasearch types

#

yt is dog shit

umbral cobalt
#

As stated in the post I also tried spotify, for the others I don't have access tokens so spotify and youtube are the only ones I can use

umbral cobalt
umbral cobalt
ornate pawn
#

yyes

umbral cobalt
ornate pawn
#

can you not do &types=track ty

umbral cobalt
#
  1. why
  2. doesn't change anything, still 404
ornate pawn
#

because if you do that you might aswell use the normal endpoint

#

💀

cobalt onyx
#

🔗 ** **

ornate pawn
#

??

cobalt onyx
#

lavalink search results are videos right?

#

or channels too?

ornate pawn
#

what?

cobalt onyx
#

Wat

ornate pawn
#

he is using lavasearch

cobalt onyx
#

oh

ornate pawn
#

please just stop talking ty

#

seems like I get results for this hm

umbral cobalt
ornate pawn
#

just omit it if you want all

umbral cobalt
#

I don't want texts

ornate pawn
#

well

#

rickroll only returns texts

#

so gl

umbral cobalt
#

Why?

ornate pawn
#

ask yt

#

that's just how yt works

umbral cobalt
#

But removing the parameter still gives 404

ornate pawn
#

god

#

please

#

can you guys fucking url encode your shit

#

GET /v4/loadsearch?query=ytsearch%3Arickroll

daring moss
#

LMAOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

ornate pawn
#

this is what it should look like

#

sorry, it's just always url encoding

umbral cobalt
#

Still 404...

ornate pawn
#

send logs again

#

I also can't find Registering Youtube search manager... in your logs

#

so yt is def not loaded

umbral cobalt
#
curl -v -H "Authorization: ---" "http://localhost:2333/v4/loadsearch?query=ytsearch%3Arickroll"
2023-09-09T22:11:15.106Z  INFO 1 --- [  XNIO-1 task-2] l.server.io.RequestLoggingFilter         : GET /v4/loadsearch?query=spsearch:rickroll, client=172.18.0.1
2023-09-09T22:12:52.054917463Z 2023-09-09T22:12:52.054Z  INFO 1 --- [  XNIO-1 task-2] l.server.io.RequestLoggingFilter         : GET /v4/loadsearch?query=spsearch%3Arickroll, client=172.18.0.1
2023-09-09T22:13:16.192020523Z 2023-09-09T22:13:16.191Z  INFO 1 --- [  XNIO-1 task-2] l.server.io.RequestLoggingFilter         : GET /v4/loadsearch?query=ytsearch%3Arickroll, client=172.18.0.1
2023-09-09T22:14:54.303775592Z 2023-09-09T22:14:54.303Z  INFO 1 --- [  XNIO-1 task-2] l.server.io.RequestLoggingFilter         : GET /v4/loadsearch?query=ytsearch%3Arickroll, client=172.18.0.1
ornate pawn
#

can you post your full application.yml?

umbral cobalt
ornate pawn
#

lavalink has a yt source?

umbral cobalt
#

oh yeah

ornate pawn
#

so does lavasrc

#

but only for well

#

searching

ornate pawn
#

perhaps you should update your lavasrc

umbral cobalt
#

Now its working

#

thanks al lot

ornate pawn
#

note for next time