Open pypeaday opened 2 months ago
Check with another account
I just tried with my main twitter account and the same thing happened
I forgot to mention that I do get an email that a new login was detected - it says if it was me that I don't need to take any action so I assume it's just that each auth request looks like a new device to twitter. But the email certainly makes me think that there's another issue behind the Failed authentication
exception
I seem to be having the same issue. Is the api being blocked, or maybe it is blocked from certain countries?
Can you check with a VPN?
Can you check with a VPN?
I ran a new instance from a virtual machine in the US (linode) and I get the same result as when I try to run it locally (HK).
I have also tried with a new account in both locations. Again, the error is the same.
from the docker logs with a correct username/password
web | DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com:443
web | DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /1.1/onboarding/task.json?flow_name=login&api_version=1&known_device_token=&sim_country_code=us HTTP/11" 200 546
web | DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /1.1/onboarding/task.json HTTP/11" 200 540
web | DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /1.1/onboarding/task.json HTTP/11" 200 455
web | DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /1.1/onboarding/task.json HTTP/11" 403 98
web | Failed authentication. You might have entered the wrong username/password. Please rerun with environment variable DEBUG=1 for debugging.
and when I put in correct username/wrong password:
web | DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.twitter.com:443
web | DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /1.1/onboarding/task.json?flow_name=login&api_version=1&known_device_token=&sim_country_code=us HTTP/11" 200 547
web | DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /1.1/onboarding/task.json HTTP/11" 200 540
web | DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /1.1/onboarding/task.json HTTP/11" 400 78
web | DEBUG:urllib3.connectionpool:https://api.twitter.com:443 "POST /1.1/onboarding/task.json HTTP/11" 400 105
web | Failed authentication. You might have entered the wrong username/password. Please rerun with environment variable DEBUG=1 for debugging.
I'm also having the same problem, my username and password are definitely correct. I thought it might be because the server I was running the docker container on was from a different IP than the initial registration or because it's a different machine trying to log in.
So I set up a VPN on the nitter server and registered a new account, but no, same problem as above.
Updated repo and it should be fixed now.
I'm afraid I don't see the change... the most recent repo update or action was 3 months ago?
https://github.com/sekai-soft/nitter
he fixed it here
@KTachibanaM not fixed bro
![Uploading Screenshot 2024-10-04 at 04.38.51.png…]()
Can't see your image but the repo update worked for me. I did have a brief issue where I was getting 'User not found' and 'Tweet not found' but that was because Twitter had locked the acocunt, I logged on, completed the Captcha and everything works great.
okay thanks
let me check my account
Has this been resolved? If so how and what steps did you take.
If auth keeps failing for you maybe try the multiple accounts approach where username and passwords are passed in via a file instead of env vars (there could be weird .env file issues where credentials strings are cut off due to escaping) https://github.com/sekai-soft/guide-nitter-self-hosting/blob/master/docs/server.md#multiple-twitter-accounts
the updated compose works for me, thanks!
I'll close when I get up to a computer 👍
I'm working on setting up self-hosted nitter so that I can use ArchiveBox to archive tweets
I've copied the docker-compose with one change that I think should be irrelevant to the functionality (I am a fairly experienced containers user for what that's worth)
Here's my compose
And then my env file
And finally the logs which are just full of auth failures?