#Lavalink error

1 messages · Page 1 of 1 (latest)

bitter rune
#

Hi, I'm getting this error everytime I try to connect to lavalink
Error: Unexpected server response: 401

Here is my application.yml:

lavalink:
  plugins:
    dependency: "com.github.topi314.lavasearch:lavasearch-plugin:1.0.0-beta.2"
    repository: "https://maven.topi.wtf/releases"
    server:
    bufferDurationMs: 400
    frameBufferDurationMs: 1000
    gc-warnings: true
    opusEncodingQuality: 0
    password: notshowing
    playerUpdateInterval: 1
    resamplingQuality: HIGH
    soundcloudSearchEnabled: true
    sources:
      youtube: true
      bandcamp: true
      soundcloud: true
      twitch: true
      vimeo: true
      http: true
      local: true
    trackStuckThresholdMs: 10000
    useSeekGhosting: true
    youtubePlaylistLoadLimit: 6
    youtubeSearchEnabled: true
    
logging:
  file:
    path: ./logs/
    level:
    lavalink.server.io.SocketContext: TRACE
    com.github.topi314.lavasrc.mirror.MirroringAudioTrack: DEBUG
    com.github.topi314.lavasrc.mirror.TrackNotFoundException: DEBUG
  request:
    enabled: true
    includeHeaders: false
    includeQueryString: true

    
metrics:
  prometheus:
    enabled: false
    endpoint: /metrics
    
plugins:
  lavasrc:
    applemusic:
      countryCode: "US"
      mediaAPIToken: " "
    deezer:
      masterDecryptionKey: " "
    providers:
      - "scsearch:%QUERY%" # Soundcloud search provider 
      - "ytmsearch:%QUERY%" # YouTube Music search provider
      - "ymsearch:%QUERY%" # YouTube Music search provider
      - "amsearch:%QUERY%" # Apple Music search provider
      - "dzisrc:%ISRC%" # Deezer ISRC provider
      - "dzsearch:%QUERY%" # Deezer search provider
    sources:
      applemusic: true # Enable Apple Music source
      deezer: true # Enable Deezer source
      spotify: true # Enable Spotify source

    spotify:
      clientId: " "
      clientSecret: " "
    
  sentry:
    dsn: ""
    environment: ""
    
server:
  port: 8081
  address: 0.0.0.0
sharp hound
#

wrong auth password when attempting to connect to it

bitter rune
sharp hound
#

its obv is not

#

or else it would not say authentication failed

#

make sure u save ur application.yml and restart ur lavalink for the changes to take effect

dense prawn
#

can we see the full logs

#

your application.yml is also improperly formatted, which is the most likely cause for your issue

#

copy/paste the example application.yml and just change the password value

sharp hound
#

make sure to delete this photo when ur done lol