-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radarr server error - response 401 #42
Comments
@nathank1989 I had this when my 4K Radarr didn't have the corresponding profile created that had the corresponding number - e.g. the profile in my normal Radarr was ID 7 ... but in Radarr 4K I didn't have one with ID 7, so had to create it |
did you get this to work? $ python3 RadarrSync.py 2020-06-30 00:10:18,970 [MainThread ] [ERROR] Radarr server error - response 401 DevConfig.txt [Radarr4k] |
@scr44tch so the issue was that radarrsync uses the ID number of the profile rather than the name ... it’s a silly way to do it, but it is what it is .... so my issue was that my normal radarr profile IDs and my corresponding radarr4k profile IDs did not like up .... this is because when you delete and flee create profiles, it does not give them the next available number eg if you had 5 profiles to begin with, you would have IDs 1,2,3,4,5 - if you delete say 1080p profile which might be profile ID 3, then recreate it, it doesn’t get 3 again, it gets a new number, which is the next available number except for the original ID number - eg 6 I only found this out because I got so fed up with it I just opened up the .db files from each radarr instance and looked at the IDs, once I saw what was happening I understood how it works ... so in my case my 1080p only profile matched the ID number of put as my radarr4K ID to use ... so it was sending all my 1080p Only movies to radarr4K .... so I just removed all my movies from my radarr 4K and edited the db file and made the ID number match my 1080p & 4K profile ID number in my main radarr instance and it’s fine now. Alternatively you could start a completely fresh install of radarr and radarr4k and the default profile ID numbers will match - but I have a lot of custom profile entries I use so this was easier. If radarraync just used the profile name rather than the profile ID, it would be way easier. |
thx, i didnt knew how to get the right profile id, https://github.com/Sperryfreak01/RadarrSync/releases/tag/1.2.1 |
No idea - I’m not following the changes anymore, no need as I now understand how the code works, so easy to modify my profile IDs directly in the db if I ever need to again .... I just let radarrsync run quietly in the background now and it syncs every 15mins |
Describe the bug
A clear and concise description of what the bug is.
Try to run the script and get this error
2020-05-23 22:23:38,167 [MainThread ] [ERROR] Radarr server error - response 401
To Reproduce
root@PEXTP02:~/RadarrSync# python RadarrSync.py
2020-05-23 22:23:38,167 [MainThread ] [ERROR] Radarr server error - response 401
Expected behavior
The script to work
Configuration
`[Radarr]
url = http://localhost:7878
key = 7cxxxxxxxxxxxx0a
[Radarr4k]
url = http://4kdarr:7878
key = 96xxxxxxxxxxxxxx8a9
profile = 5
`
Logs
root@PEXTP02:~/RadarrSync# cat Output.txt
2020-05-23 22:20:36,940 [MainThread ] [ERROR] Radarr server error - response 401
2020-05-23 22:22:45,464 [MainThread ] [ERROR] Radarr server error - response 401
2020-05-23 22:23:38,167 [MainThread ] [ERROR] Radarr server error - response 401
The text was updated successfully, but these errors were encountered: