429 too_many_requests on 0.26.8
syco opened this issue · comments
Confirmation
- I have read the README.md on the project homepage
- I have checked if identical issue already exists
- I have tried downgrading to find version that can be used as a workaround
The problem
I'm getting this error since a few weeks now, I've looked into existing and closed issues, but I don't see anything relevant.
I downgraded to version 0.24.7 and 0.23.14, but the issue remains.
Error trace / logs
$ docker run -it --rm -P --log-driver none -v ${PWD}:/app/config:rw -e PUID=1017 -e PGID=1017 -e TZ=Europe/Dublin ghcr.io/taxel/plextraktsync
WARNING plextraktsync without command is deprecated. Executing "plextraktsync sync"
INFO PlexTraktSync [0.26.8]
Please enter your Plex username or e-mail (): email@gmail.com
If you have 2 Factor Authentication enabled on Plex you can append the code to your password below (eg. passwordCODE)
Please enter your Plex password:
Log in to Plex failed: '(429) too_many_requests; https://plex.tv/users/sign_in.xml '
Expected behavior
sync works
Steps to reproduce the behavior
Start plextraktsync using docker and try to configure a sync.
Inspect of problematic items
No response
Workarounds
No response
Install method
docker-compose
Config file contents
No response
Version
0.26.8
Python Version
0.0.0
Operating System and Version
Debian 11
works for me
$ docker-compose run --rm plextraktsync plex-login --password="$PLEX_PASSWORD"
You already have Plex Access Token, do you want to log in again? [y/n] (y):
Please enter your Plex username or e-mail (*censored*):
If you have 2 Factor Authentication enabled on Plex you can append the code to your password below (eg.
passwordCODE)
Please enter your Plex password:
╭─ Plex Login ───────────────────╮
│ │
│ Login to MyPlex was successful │
│ │
╰────────────────────────────────╯
Select default server:
tried both with username and password.
I'm having this same exact issue when trying to login with plex. I also have 2FA and append it to my password as per the readme.
Edit: I disabled 2FA and tried using my username instead of my email and the issue persists. I've done everything according to the documentation and it just seems to be bugged with the docker container.
Edit2: Using host networking resolved this issue. Add the --net host
argument for docker run or network_mode: "host"
for docker compose.
@douglasparker: I don't think network_mode is related. perhaps block just expired? if you revert your network_mode change the problem comes back?
to me seems it's a problem of your network, plex.tv blocks you because likely abuse. try their support.
@douglasparker: I don't think network_mode is related. perhaps block just expired? if you revert your network_mode change the problem comes back?
to me seems it's a problem of your network, plex.tv blocks you because likely abuse. try their support.
Reverting it brings the issue back.
It seems it may be related to DNS within the container- I'm not exactly sure.
My plex account and the IP address seem to work fine. There doesn't seem to be any block in place. Everything is working as expected.
Edit: I tried using host networking because @ajaybc mentioned it working once they stopped using a container. I figured it had something to do with docker networking.
where does that sign_in.xml łequest ends up to? does it even reach plex server?
Reading the comments, seems problem is with networking. Nothing that can be done here.
Reading the comments, seems problem is with networking. Nothing that can be done here.
The too many requests error message is extremely misleading as it has nothing to do with any kind of rate limit.
'(429) too_many_requests; https://plex.tv/users/sign_in.xml '
response comes from your plex server. you should check your plex server logs