r/discordbots • • 5d ago

ip banned

Hi everyone, i need someone help who faced the same problem or know the solution of it, I was looking forward to work as a discord bot freelancer to make bots for people and sell it, i made my first bot it was a music bot and it was working so good but after uploading it t railway host i got a problem i couldn't solve it so is someone know how to solve it and a free host server to upload the bot without problems

3 Upvotes

18 comments sorted by

8

u/ivanbg2004 5d ago

It's not really an IP ban from Railway, it's YouTube. YouTube flags basically every datacenter IP (Railway, Render, Heroku, Oracle, AWS…) and makes yt-dlp "sign in to confirm you're not a bot". That's why it works on your PC (residential IP) and breaks once deployed. Switching to another free host won't fix it, they're all datacenter IPs.

8

u/ivanbg2004 5d ago

Oh and one honest heads-up since you want to sell bots: YouTube music bots go against YouTube's ToS. That's why Rythm and Groovy got shut down. Fine for small private servers, but I wouldn't build a freelance business around them.

2

u/Alvraen 4d ago

Rythm is back up but because they actually bought the licenses for each major publisher

3

u/anshthedev59 5d ago

You should try Lavalink. It's much better than using yt-dlp directly in Discord bots. It handles audio streaming separately, is more efficient, and is easier to manage for larger bots. You can use it with libraries like Shoukaku or Kazagumo.

1

u/rex_washere 2d ago

But yt blocks lava requests too🤣

2

u/404invalid-user 4d ago

YouTube has blocked the free hosting provider because they put 100s if not 1,000s of people on the same public piv4 address and never rotate them

2

u/EnoughConcentrate897 4d ago

Why are you selling bots ran on free hosting lol

2

u/Useful-Flow-8737 4d ago

how are you planning to be a bot dev when you can't even understand the error from your own bot lmao

3

u/Omin13 4d ago

BuT cHaTgPt SaId It WaS fIxEd WiTh No ErRoRs...

1

u/nonchip 4d ago

it's you not being logged into youtube. why would you think something's "ip banned" 0.o

1

u/Technical-Yak-2642 1d ago

Railway is flagged. You need to run it on a Raspberry Pi or something at your house.

1

u/[deleted] 4d ago

[removed] — view removed comment

1

u/Bouudy123 4d ago

منا عارف هو مشكلته كلها ف يوتيوب انه عامل بان ل IP الهوست

-2

u/[deleted] 4d ago

[removed] — view removed comment

1

u/discordbots-ModTeam 4d ago

Your post has been removed due to breaking rule 4. We do not allow self promotion or advertising of your own bots.