sekai-soft / guide-nitter-self-hosting

A guide for self-hosting a Nitter instance
MIT License
154 stars 8 forks source link

Doubt About Managing Multiple Accounts and Rate Limits #25

Open AritzUMA opened 1 month ago

AritzUMA commented 1 month ago

Hello,

I am using around 40 accounts, and when I paginate and reach 790 tweets, I get a rate limit, and I can't see more tweets. Why does this happen? Is it not able to switch accounts and continue with the next one?

Thank you.

KTachibanaM commented 1 month ago

I tried myself and it seems account rotation works as expected (although I only have two accounts)

I made some updates and you can add an environment variable INSTANCE_ENABLE_DEBUG=1 to see debug logs (pull the latest docker image first). Among those logs there should be lines like [accounts] selected account: that shows you which account (ID) is selected for each request, and if account rotation works as expected, you should see different account IDs for different requests. There is also a JSON endpoint /.accounts that shows you how much quota is left for each account.

AritzUMA commented 1 month ago

Hi @KTachibanaM , thanks for you dedication. I already pull the image but I only get in active two accounts. I going to test with some that I am sure that they work. numero_de_cuentas