Giter Club home page Giter Club logo

Comments (6)

mribeiro avatar mribeiro commented on August 25, 2024

My radarr and sonarr instances are also being exposed via reverse proxy.
To access radarr one can use 192.168.21.200/radarr or 192.168.61.200:7878/radarr (without the /radarr it redirects to /radarr). Seems addarr doesn't know how to handle it when adding movies but works for search.

from addarr.

mribeiro avatar mribeiro commented on August 25, 2024

Trace logs from sonarr when trying to add:

20-11-3 13:54:27.2|Trace|Http|Req: 2942 [GET] /api/Rootfolder?apikey=(removed) (from 192.168.21.200 python-requests/2.24.0)
20-11-3 13:54:27.2|Trace|Http|Res: 2942 [GET] /api/Rootfolder?apikey=(removed) 303.SeeOther (1 ms)
20-11-3 13:54:27.2|Debug|Api|[GET] /api/Rootfolder?apikey=(removed) 303.SeeOther (1 ms)
20-11-3 13:54:27.2|Trace|Http|Req: 2943 [GET] /api/Rootfolder?apikey=(removed) (from 192.168.21.200 python-requests/2.24.0)
20-11-3 13:54:27.2|Debug|RootFolderService|Generating list of unmapped folders
20-11-3 13:54:27.2|Debug|RootFolderService|0 unmapped folders detected.
20-11-3 13:54:27.2|Trace|Http|Res: 2943 [GET] /api/Rootfolder?apikey=(removed) 200.OK (55 ms)
20-11-3 13:54:27.2|Debug|Api|[GET] /api/Rootfolder?apikey=(removed) 200.OK (55 ms)
20-11-3 13:54:27.3|Trace|Http|Req: 2944 [GET] /api/series?apikey=(removed) (from 192.168.21.200 python-requests/2.24.0)
20-11-3 13:54:27.3|Trace|Http|Res: 2944 [GET] /api/series?apikey=(removed) 303.SeeOther (1 ms)
20-11-3 13:54:27.3|Debug|Api|[GET] /api/series?apikey=(removed) 303.SeeOther (1 ms)
20-11-3 13:54:27.3|Trace|Http|Req: 2945 [GET] /api/series?apikey=(removed) (from 192.168.21.200 python-requests/2.24.0)
20-11-3 13:54:27.3|Trace|Http|Res: 2945 [GET] /api/series?apikey=(removed) 200.OK (32 ms)
20-11-3 13:54:27.3|Debug|Api|[GET] /api/series?apikey=(removed) 200.OK (32 ms)
20-11-3 13:54:27.3|Trace|Http|Req: 2946 [GET] /api/series/lookup?apikey=(removed)&term=tvdb:354627 (from 192.168.21.200 python-requests/2.24.0)
20-11-3 13:54:27.3|Trace|Http|Res: 2946 [GET] /api/series/lookup?apikey=(removed)&term=tvdb:354627: 303.SeeOther (0 ms)
20-11-3 13:54:27.3|Debug|Api|[GET] /api/series/lookup?apikey=(removed)&term=tvdb:354627: 303.SeeOther (0 ms)
20-11-3 13:54:27.3|Trace|Http|Req: 2947 [GET] /api/series/lookup?apikey=(removed)&term=tvdb:354627 (from 192.168.21.200 python-requests/2.24.0)
20-11-3 13:54:27.3|Trace|HttpClient|Req: [GET] https://skyhook.sonarr.tv/v1/tvdb/shows/en/354627
20-11-3 13:54:27.3|Trace|ConfigService|Using default config value for 'proxyenabled' defaultValue:'False'
20-11-3 13:54:27.8|Trace|HttpClient|Res: [GET] https://skyhook.sonarr.tv/v1/tvdb/shows/en/354627: 200.OK (465 ms)
20-11-3 13:54:27.8|Trace|Http|Res: 2947 [GET] /api/series/lookup?apikey=(removed)&term=tvdb:354627: 200.OK (472 ms)
20-11-3 13:54:27.8|Debug|Api|[GET] /api/series/lookup?apikey=(removed)&term=tvdb:354627: 200.OK (472 ms)
20-11-3 13:54:27.8|Trace|Http|Req: 2948 [POST] /api/series?apikey=(removed) (from 192.168.21.200 python-requests/2.24.0)
20-11-3 13:54:27.8|Trace|Http|Res: 2948 [POST] /api/series?apikey=(removed) 303.SeeOther (0 ms)
20-11-3 13:54:27.8|Debug|Api|[POST] /api/series?apikey=(removed) 303.SeeOther (0 ms)
20-11-3 13:54:27.8|Trace|Http|Req: 2949 [GET] /api/series?apikey=(removed) (from 192.168.21.200 python-requests/2.24.0)
20-11-3 13:54:27.8|Trace|Http|Res: 2949 [GET] /api/series?apikey=(removed) 200.OK (27 ms)
20-11-3 13:54:27.8|Debug|Api|[GET] /api/series?apikey=(removed) 200.OK (27 ms)

Sounds to me the python request needs some improvement on handling redirects or have more configs so we can avoid them.

from addarr.

Waterboy1602 avatar Waterboy1602 commented on August 25, 2024

Thanks for the PR! This was something I don't use, so didn't experienced the problem yet.

from addarr.

mribeiro avatar mribeiro commented on August 25, 2024

No worries @Waterboy1602 , that's what open source is for 😊
Any idea when a new docker image will be available with the fix? I just tried the latest available but still ain't working.
Thanks

from addarr.

Waterboy1602 avatar Waterboy1602 commented on August 25, 2024

I've just checked and the docker build was successful, so normally if you update your docker container it should contain the fix.

from addarr.

mribeiro avatar mribeiro commented on August 25, 2024

I might have forgotten to pull a new image, dunno honestly. But now I tried again and forced the image pull and is working.
Anyway, I'll eventually push something more and will change __version__ var

from addarr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.