#lavalink host error

1 messages · Page 1 of 1 (latest)

gilded oak
#

<@&1414218100471234591>

undone shale
gilded oak
#

check image how to fix that error

undone shale
#

Give Me A Second

gilded oak
#

k

undone shale
gilded oak
#

yep

undone shale
gilded oak
#

yes

undone shale
gilded oak
#

what?

undone shale
# gilded oak what?

Go Watch Video Again Clearly. And Then Reinstall It And Do As Shown In Video

#

1 By 1.

#

You Didn't Complete Youtube OAuth.

gilded oak
undone shale
#

And Restart Your Server.

raven relic
#

@undone shale

undone shale
raven relic
undone shale
undone shale
#
YoutubeOauth2Handler.createNewAccessToken```
gilded oak
undone shale
#

To 21?

gilded oak
#

yep

undone shale
#

If You Don't Want , Just Remove Youtube

This Comment : youtube: oauth: enabled: true

Or Probably Anything Related To clientId: clientSecret: refreshToken:

gilded oak
undone shale
# gilded oak

Main Error Is This Invalid status code for oauth2 token fetch: 400 YoutubeOauth2Handler.createNewAccessToken

gilded oak
#

w8 I'll create a new acs token

undone shale
#

@gilded oak listen , just remove

  oauth:
    enabled: true``` Or Anything ```clientId:
clientSecret:
refreshToken:```


And Replace With ```lavalink:
  plugins:
    - dependency: "dev.lavalink.youtube:youtube-plugin:VERSION"```

No OAuth Stuff.
#

Easy And Simple Fix.

#

@gilded oak yoo , I check everything , and found error

``plugins:
youtube:
enabled: true
allowSearch: true
allowDirectVideoIds: true
allowDirectPlaylistIds: true

clients:
  - MUSIC
  - WEB
  - ANDROID

oauth:
  enabled: false   

remoteCipher:
  url: https://cipher.kikkia.dev/
  userAgent: lavalink-server``

Replace This With Your Youtube Section

gilded oak
#

ok

undone shale
#

Find sources: youtube: false And Replace False With True.

#

That's All I Know About This.

burnt nexus
#

Copy paste whole

gilded oak
#

i can't copy console error im using in mobile

burnt nexus
#

uh

undone shale
#

Cause I Don't Trust Myself 😭

gilded oak
undone shale
#

Wait Let Me Check 😭

gilded oak
raven relic
undone shale
# gilded oak bro pls bro <:Pepe:1442547217104896083> <:stolen_emoji_blaze:1436011642641973322...

`server:
port: 2333
address: 0.0.0.0

lavalink:
server:
password: "youshallnotpass"

sources:
  youtube: true
  soundcloud: true
  bandcamp: true
  twitch: true
  vimeo: true
  http: true
  local: false

bufferDurationMs: 400
frameBufferDurationMs: 5000
opusEncodingQuality: 10
resamplingQuality: HIGH
trackStuckThresholdMs: 10000

youtubeConfig:
  email: ""
  password: ""

plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:1.18.0"

plugins:
youtube:
enabled: true

allowSearch: true
allowDirectVideoIds: true
allowDirectPlaylistIds: true

clients:
  - MUSIC
  - WEB
  - ANDROID

oauth:
  enabled: false   #  CRASH FIX

remoteCipher:
  url: "https://cipher.kikkia.dev/"
  userAgent: "lavalink-server"

metrics:
prometheus:
enabled: false

logging:
file:
path: ./logs/

level:
root: INFO
lavalink: INFO`

undone shale
gilded oak
#

what

raven relic
#

Make opus 5.0 whole file no error

undone shale
undone shale
gilded oak
#

before codes

raven relic
gilded oak
undone shale
#

But you want use them , cause you wanna be KOOL kid 😭

#

Like me Pepe

gilded oak
#

see bro sended now playing msg and joined vc but not playing songs

#

@undone shale check that consol log

gilded oak
#

<@&1414218100471234591>

undone shale
gilded oak
burnt nexus
undone shale
undone shale
#

He'll Fix

burnt nexus
#

What you on

undone shale
#

;-;.

burnt nexus
#

Bro said it's error dumahh

undone shale
#

Niwqa

#

I'm busy 😭 making Sandwich

#

Don't disturb plij

gilded oak
oblique snow
#

make a new folder
add lavalink files and host it
or ask agent to make a new folder downlad and configure the application.yml for your needs then try to connect and use that

gilded oak
#

i only use replit for coding nd for other bug fix r etc etc not host in replit i host bot in other

wise echo
gilded oak
wise echo
gilded oak
wise echo
gilded oak
wise echo
gilded oak
#

w8

wise echo
#

I have faced soo many errors in lavalink when it was my first time

So maybe i could help

gilded oak
wise echo
#

Connect and get refresh token

#

Remember not to leave any letters and dont put any space between token

#

Then stop the server

#

Replace null to refresh token you copied in the refresh token section

#

At last set skipinitialization to true

#

Then start the server

#

@gilded oak

tame quest
tame quest
oblique snow
tame quest
gilded oak
#

@wise echo

oblique snow
tame quest
#

The lavalink one

oblique snow
#

most prbably

tame quest
#

Pepe I just turned the yt authentication from true to false

tame quest
gilded oak
#

pls help me to fix

raven relic
tame quest
#

Let me make one more just to test Pepe

oblique snow
#

lemme make one too 😋

raven relic
#

@gilded oak try

gilded oak
#

k w8

undone shale
gilded oak
raven relic
tame quest
gilded oak
raven relic
gilded oak
raven relic
gilded oak
raven relic
#

172.96.140.62

#

Port : 7481

gilded oak
#

pass?

raven relic
#

Pass: "youshallnotpass"

gilded oak
#

k

#

how to change pass?

raven relic
#

And pass is AeroX

#

Currently

gilded oak
#

ok i got it

#

tnx ❤

#

u r the best

raven relic
#

Change your port in application.yml to 7481

#

If it doesn't work

gilded oak
#

ok

raven relic
#

Beast

gilded oak
raven relic
gilded oak
#

@raven relic

raven relic
#

Now idk

raven relic
#

Both in application.yml and your code

oblique snow
#

check your password

gilded oak
oblique snow
oblique snow
#

and your application.yml...

gilded oak
oblique snow
#

what hosting are you using?

gilded oak
#

optiklink

oblique snow
gilded oak
oblique snow
#

bruh man

oblique snow
#

then

#

change port

#

to whatever port your hosting gave you

#

@raven relic dumbo

#

dont guide them wrongly

wise echo
oblique snow
wise echo
oblique snow
#

which is wrong

#

cus port and pass need to be changed

#

so should've instructed

oblique snow
grand gullBOT
#
Meow
wise echo
wise echo
#

Which i too added in mine

#

To increase list

oblique snow
#

lmao

wise echo
#

👽

raven relic
oblique snow
gilded oak
#

@oblique snow

oblique snow
gilded oak
oblique snow
#

show that

gilded oak
oblique snow
grand gullBOT
#

This doesn't appear to be a ticket thread.

gilded oak
oblique snow
#

can you open console, run again, and check if there's a option to download/copy logs?

#

or try copying logs?

gilded oak
#

can't copy

#

@oblique snow

oblique snow
gilded oak
#

k

oblique snow
#

scroll a little up

#

too up...

#

wait

#

little up

#

till that red line

#

up

#

stop

#

little down

#

little down

#

...

#

down...?

#

wait

#

lemme read

#

okay open your plugins tab

#

its a plugin issye

#

delete all of them

gilded oak
#

whole folder?

oblique snow
#

inside it

gilded oak
#

k

oblique snow
#

now open application.yml

#

copy paste that as whole

gilded oak
#

can't copy

oblique snow
#

use your keyboard

gilded oak
#

i don't have keyboard

oblique snow
#

bruh

#

lemme join through my phone

#

1 min

#

That works too

gilded oak
#

what?

oblique snow
#

7481

#

eh wait

#

are you sure that's the right file your using on your host?

gilded oak
#

wait

#

@oblique snow

gilded oak
oblique snow
# gilded oak

does look right but tbh lemme just give you a pre-made config that works for me

#

easier lol

gilded oak
#

k

oblique snow
#

paste the contents as is

#

or

#

download and rename the file

#

and delete old one

#

or

#

rename it

grand gullBOT
gilded oak
#

k

oblique snow
#

oh wait

#

i use 1500 buffer

oblique snow
#

change this

#

it'll be 1500

#

too high tbh

#

so lower it

gilded oak
oblique snow
gilded oak
#

i got

oblique snow
#

kk

gilded oak
oblique snow
#

YouTube OAuth Refresh Token (Recommended)

Using a refresh token lets YouTube-source authenticate as a real user,
bypassing most rate limits and "Sign in to confirm you're not a bot" errors.

How to get one:

  1. On first boot with oauth.enabled: true and NO refreshToken set,
    check line 49
    Lavalink will print something like this in the logs:

    [youtube-source] To give youtube-source access to your account, visit:
    https://www.google.com/device?user_code=XXXX-XXXX
    
  2. Open that URL in a browser, sign in with a Google account
    (use a throwaway/bot account, not your personal one).

  3. Once authorized, Lavalink logs the refresh token:

    [youtube-source] Refresh token: ya29.XXXXXXXXXXXX...
    
  4. Copy that token and paste it into application.yml:

    oauth:
      enabled: true
      refreshToken: "ya29.XXXXXXXXXXXX..."
    
  5. Restart Lavalink. It will now use OAuth for all YouTube requests.

oblique snow
timber grotto
#

Duo vc m gu chu muchi kr rhe

oblique snow
#

hurrr

timber grotto
#

Mera sotify work nhi kr rha tha uda diya bc 👅🩸

timber grotto
oblique snow
#

hatttt

timber grotto
oblique snow
timber grotto
oblique snow
timber grotto
#

Umm dekhata hu isko

oblique snow
oblique snow
tame quest
#

This guy still struggling Pepe

timber grotto
oblique snow
#

ngl i setuped my lavalink in 10 min with my custom config

timber grotto
#

Copy paste to Krna h lavalink m bas

oblique snow
#

idk

timber grotto
#

Se file leke

tame quest
#

TT_chiyo_cry itna struggle padhai main nhi krte log damn

oblique snow
timber grotto
oblique snow
tame quest
oblique snow
#

mere exams chal rahe hai

#

me still yaha

#

XD

timber grotto
#

Chat se jada active to threats h 💔

oblique snow
#

@burnt nexus rename this channel to general

timber grotto
#

U should

#

Exportify ka koi api h kya

raven relic
#

Threats to whom

timber grotto
#

👅🩸

raven relic
#

No

timber grotto
wise echo
timber grotto
#

It's threats