jagrosh / MusicBot

🎶 A Discord music bot that's easy to set up and run yourself!
https://jmusicbot.com
Apache License 2.0
5.38k stars 2.58k forks source link

[Bug Report] Searching for songs occasionally fails despite the video being available #445

Closed alfonsojon closed 4 years ago

alfonsojon commented 4 years ago

Describe the bug Occasionally, the bot fails to search for a song almost as though no results came up.

To Reproduce Steps to reproduce the behavior:

  1. Search for the same song many times for the sake of testing
  2. Notice it occasionally fails

Expected behavior I would assume it should successfully search every time.

Screenshots image

Debug Info

System Properties:
  java.version = 1.8.0_252
  java.vm.name = OpenJDK 64-Bit Server VM
  java.vm.specification.version = 1.8
  java.runtime.name = OpenJDK Runtime Environment
  java.runtime.version = 1.8.0_252-8u252-b09-1~18.04-b09
  java.specification.version = 1.8
  os.arch = amd64
  os.name = Linux

JMusicBot Information:
  Version = Snapshot
  Owner = 150301926821462016
  Prefix = @mention
  AltPrefix = m!
  MaxSeconds = 900
  NPImages = false
  SongInStatus = true
  StayInChannel = false
  UseEval = false
  UpdateAlerts = false

Dependency Information:
  JDA Version = 3.8.3_464
  JDA-Utilities Version = 2.1.5
  Lavaplayer Version = 1.3.49

Runtime Information:
  Total Memory = 135
  Used Memory = 92

Discord Information:
  ID = 666773938860458009
  Guilds = 1
  Users = 6332

Additional context I am running a JAR compiled from source to resolve an issue with fetching most songs; however, I have made no alterations to the source code and this issue has impacted the past two versions (or more) of the music bot.

alfonsojon commented 4 years ago

this is a duplicate of #443