#Problem with voice

25 messages · Page 1 of 1 (latest)

normal gust
#

Hi, I want to play music through a bot and I did it on my computer, but when I transfer files to the Ubuntu server, it does not work, through analysis I found that only the connection status will change, on the computer "ready", and on Ubuntu "signalling". There were no changes in the code, all dependencies are saved and have the same versions, discord js version 14.14.1. Can you help me with this problem?

odd crowBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • Consider reading #how-to-get-help to improve your question!
  • Explain what exactly your issue is.
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Issue solved? Press the button!
  • Marked as resolved by OP
young ferry
#

is this a remote vps

#

like heroku or these vps that you host bots for free

#

replit?

#

does any error occur if you let the bot run for a few minutes?

normal gust
#

Such as heroku

#

Yesterday I turned on the audio file on the host and everything worked, then I left it overnight and in the morning it no longer worked

#

Now I'm turning on the audio via the link

#

Also, if you look at player.on StateChange, the program will be autopaused => playing, playing => idle

#

And all this is instantaneous

young ferry
#

are you trying to play a local file that doesnt exist in your vps

normal gust
#

no, I transferred this file and it worked, now I'll do it again for verification

#

Yes it works with a file

#

And I need a link

#

More precisely, it receives all the data, even the link to the song itself, but when it turns on after 0.1 seconds it turns off

#

And also, when I run the connection status file "signalling"

normal gust
#

Of course, I can download an audio file, but I consider this as an extreme case. After all, what happens if the file weighs GB or more

normal gust
#

Can anybody help me?

young ferry
#

well im not going to ask from where are you getting these files but this sounds like its against tos

normal gust
#

What do you mean? What's wrong?

normal gust
tacit summit
normal gust
#

The link with music file

#

I’m already solved this problem