Unpackerr / unpackerr

Extracts downloads for Radarr, Sonarr, Lidarr, Readarr, and/or a Watch folder - Deletes extracted files after import
https://unpackerr.zip
MIT License
992 stars 36 forks source link

Error: decoding Starr JSON response body: invalid character '<' looking for beginning of value #370

Closed Xewdy444 closed 8 months ago

Xewdy444 commented 8 months ago

Environment


I am currently encountering this error:

[INFO] 2023/12/29 21:58:46 Unpackerr v0.12.0 Starting! PID: 1, UID: 0, GID: 0, Now: 2023-12-29 21:58:46 -0600 CST
[INFO] 2023/12/29 21:58:46 ==> GoLift Discord: https://golift.io/discord <==
[INFO] 2023/12/29 21:58:46 ==> Startup Settings <==
[INFO] 2023/12/29 21:58:46  => Sonarr Config: 1 server: https://sonarr.xewdy.tech, apikey:true, timeout:10s, verify ssl:false, protos:torrent, syncthing: false, delete_orig: false, delete_delay: 5m0s, paths:["/data/downloads"]
[INFO] 2023/12/29 21:58:46  => Radarr Config: 1 server: https://radarr.xewdy.tech, apikey:true, timeout:10s, verify ssl:false, protos:torrent, syncthing: false, delete_orig: false, delete_delay: 5m0s, paths:["/data/downloads"]
[INFO] 2023/12/29 21:58:46  => Lidarr Config: 0 servers
[INFO] 2023/12/29 21:58:46  => Readarr Config: 0 servers
[INFO] 2023/12/29 21:58:46  => Folder Config: 0 paths, event buffer: 20000 
[INFO] 2023/12/29 21:58:46  => Using Config File: /config/unpackerr.conf
[INFO] 2023/12/29 21:58:46  => Parallel: 1
[INFO] 2023/12/29 21:58:46  => Passwords: 0 (rar/7z)
[INFO] 2023/12/29 21:58:46  => Interval: 2m
[INFO] 2023/12/29 21:58:46  => Start Delay: 1m
[INFO] 2023/12/29 21:58:46  => Retry Delay: 5m, max: 3
[INFO] 2023/12/29 21:58:46  => Debug / Quiet: false / false
[INFO] 2023/12/29 21:58:46  => Activity / Queues: false / 1m
[INFO] 2023/12/29 21:58:46  => Directory & File Modes: 0755 & 0644
[INFO] 2023/12/29 21:58:46  => Webhook Configs: 0 URLs
[INFO] 2023/12/29 21:58:46  => Command Hook Configs: 0 commands
[INFO] 2023/12/29 21:58:46  => Webserver Disabled
[ERROR] 2023/12/29 21:58:47 Radarr (https://radarr.xewdy.tech): api.Get(queue): decoding Starr JSON response body: invalid character '<' looking for beginning of value
[ERROR] 2023/12/29 21:58:47 Sonarr (https://sonarr.xewdy.tech): api.Get(v3/queue): decoding Starr JSON response body: invalid character '<' looking for beginning of value
[INFO] 2023/12/29 21:59:46 [Unpackerr] Queue: [0 waiting] [0 queued] [0 extracting] [0 extracted] [0 imported] [0 failed] [0 deleted]
[INFO] 2023/12/29 21:59:46 [Unpackerr] Totals: [0 retries] [0 finished] [0|0 webhooks] [0|0 cmdhooks] [stacks; event:0, hook:0, del:0]

It has worked fine up until recently, possibly due to Radarr and Sonarr updates. Any help would be much appreciated. Thanks!

davidnewhall commented 8 months ago

That error means the URL is wrong. It probably requires some sort of authentication unpackerr does not know how to provide. Avoid reverse proxies.

Xewdy444 commented 8 months ago

Fixed it, thanks.