JackDallas / Premiumizearr

Bridge your *Arr clients (Sonarr, Radarr) to your premiumize.me (upload/download manager)
GNU General Public License v3.0
44 stars 10 forks source link

x509: certificate signed by unknown authority #15

Closed JRDevo closed 2 years ago

JRDevo commented 2 years ago

Hello,

Firstly thanks for this app, there is a gap in my app stack and if this app works as expected it will be a happy replacement for SABnzbd and premiumizer.

I was trying to build a docker image for this app and have had some success but today this keeps popping up:

ERRO[0000] Error getting folders: Get "https://www.premiumize.me/api/folder/list?apikey=111111111111111": x509: certificate signed by unknown authority FATA[0000] Cannot read folders from premiumize.me, exiting!

I noticed a similar behavior in Zorin OS. Error log:

ERRO[0000] Directory created in blackhole /home/dlbots/Downloads/torrents/tv ignoring (Warning premiumizearrzed does not look in subfolders!) ERRO[0000] Directory created in blackhole /home/dlbots/Downloads/torrents/default ignoring (Warning premiumizearrzed does not look in subfolders!) ERRO[0000] Directory created in blackhole /home/dlbots/Downloads/torrents/movie ignoring (Warning premiumizearrzed does not look in subfolders!) ERRO[0000] Error with initial directory scan open /home/dlbots/Downloads/torrents/: no such file or directory ERRO[0000] Error getting folders: Get "https://www.premiumize.me/api/folder/list?apikey=111111111111111": x509: certificate signed by unknown authority FATA[0000] Cannot read folders from premiumize.me, exiting!

General log:

FATA[0000] Cannot create downloads folder on premiumize.me, exiting! This folder already exists. time="2022-02-03T10:45:45+02:00" level=fatal msg="Cannot read folders from premiumize.me, exiting!" time="2022-02-03T11:04:46+02:00" level=fatal msg="Cannot read folders from premiumize.me, exiting!"

JackDallas commented 2 years ago

Ah I've hit this sort of issue before in docker, give me a couple day's and I'll add a dockerfile to the project and publish to githubs docker package host

JRDevo commented 2 years ago

Thanks @JackDallas :)

JackDallas commented 2 years ago

Hey @JRDevo I've pushed up v1.0.2 and published the first docker container, I've give it a brief test, if you have any issues please comment them on issue https://github.com/JackDallas/Premiumizearr/issues/16