theotherp / nzbhydra2

Usenet meta search
Other
1.25k stars 75 forks source link

DogNZB - unable to send any NZBs to SABnzbd ("NZBs for the following titles could not be downloaded") #333

Closed agrudsky closed 4 years ago

agrudsky commented 5 years ago

I am having a problem where NZBHydra is unable to send any NZBs from DogNZB to SABnzbd. When I click the Send to SABnzbd button in Hydra, I receive an error saying "NZBs for the following titles could not be downloaded: (NZB name)"

The log file then gives a fatal handshake failure: Error while downloading NZB from URL https://dognzb.cr/fetch/c2f0c95aabf7612225dc1206db313c28/<APIKEY>: Received fatal alert: handshake_failure

This same error happens for every NZB from DogNZB. I am able to download NZBs fine, but sending them to SAB doesn't work for some reason. All other indexers I have are able to send to SABnzbd fine.

I have tried readding Dog as an indexer, along with restarting Hydra, neither of which have fixed the problem.

Thanks for any help in advance.

theotherp commented 5 years ago

Please follow the issue instructions and post your debug infos ZIP.

That error message indicates an SSL problem which is weird because Hydra can clearly access DogNZB to search.

You could try changing the "NZB adding type" for sabnzb in Hydra to "Send link" which will leave the downloading to sabnzbd.

agrudsky commented 5 years ago

Sorry about that, here's the ZIP. The error happens at line 2163. nzbhydra-debuginfos-2019-03-17-11-35.zip

I tried changing the NZB adding type and it was able to grab and download the NZB fine in Sab.

theotherp commented 5 years ago

I'll see what I can see out. The debug infos not only provide more infos but they also hide sensitive data. Your original post contained your dog API key which you would not want to be public.

I just noticed due to the URL format the API key is not hidden in the logs either. I'll fix that as soon as possible.

agrudsky commented 5 years ago

Appreciate the help; I will change the key as a precaution.

theotherp commented 5 years ago

I don't have an explanation. Have you tried setting the nzb adding type to "Send link"? You can also disable SSL verification for dognzb.cr in the main settings.

agrudsky commented 5 years ago

Yes, setting the adding type to Send link works. Guess I'll just stick with that in the meantime. I tried disabling SSL verification and the error persisted.

mauirixxx commented 5 years ago

Have you made any headway on this @theotherp ? I'm having the same issue as @agrudsky only I'm using nzbget (which looks like that doesn't matter). I'm running under CentOS 7 though - maybe that's part of the issue?

@agrudsky are you running under Linux or Windows?

agrudsky commented 5 years ago

@mauirixxx I'm running on Ubuntu 18.04.1.

mauirixxx commented 5 years ago

well now we just need someone who runs hydra under windows AND has an account with dog to see if they got the same issue :/

D0MF commented 5 years ago

I believe the SSL issue with dog is that some clients are trying to connect on less-secure protocols, and we only accept connections on tls1.2

mauirixxx commented 5 years ago

I believe the SSL issue with dog is that some clients are trying to connect on less-secure protocols, and we only accept connections on tls1.2

would this be something on the operating system level, or is it an old java library being used?

I'm currently using OpenJDK v1.8.0_212-b04 which looks to be Java Runtime Environment 8, but I see there's a v11 available ... guess I'll try that soon.

D0MF commented 5 years ago

Should be on the application level, afaik? I'm doing lots of testing on it because people have reported problems with the main site (which I don't have access to) and not with the API (which I have full access to the front end of)

mauirixxx commented 5 years ago

it appears the Windows version of nzbhydra works just fine with dog.

I downloaded it to my desktop and ran it, and copied the config from my CentOS install. Did a search on both instances for a recently uploaded show, and sure enough manually clicking on the "Download NZB" link on the Windows instance nets me a valid .nzb file, where as clicking the same release on Linux nets me the dreaded null.nzb file @ 0 bytes.

I guess the next step is for me to try a different jdk. @agrudsky what java setup did you use in Ubuntu?

agrudsky commented 5 years ago

Well, I had a huge brainfart and mixed up Organizr (which I run on Linux) and Hydra (which I actually run on Windows). So please ignore my earlier comment, I am actually running Hydra on Windows 10 1809. Java 8 update 201.

agrudsky commented 5 years ago

Updated Java to update 211 and the error persists. @mauirixxx any luck with a different JDK?

mauirixxx commented 5 years ago

@agrudsky When I ran it on Windows - which worked for me - I'm on Windows 10 1803 and my Java control panel says I'm on version 10.0.2. Apparently my Java is out of date just like my Windows 👎

I'm going to spin up a new CentOS virtual machine later today and take a stab at different JDK and report back.

theotherp commented 4 years ago

I'll consider this closes. Most if not all SSL related issues were resolved some time ago.

agrudsky commented 4 years ago

Yes, I believe this was fixed with the same resolution as #504. Thanks.