Closed danielb2 closed 4 years ago
You didn't add me the debug infos zip.
I guess you're sending links to sab? Try sending the nzb instead. Or use the full address instead of that shortcut.
How about this ?
Steps to repro:
/etc/hosts
called 'hydra' that points to the host of your nzbhydra server.add using sab
_note server having issues finding the host_ Again, be sure that the host doesn't have the alias in it's own `/etc/hosts` otherwise it will resolve just fine.
Out of curiosity, why doesn't hydra send the full link from the search result to sab instead of a link to itself ?
POST YOUR DEBUG INFOS. Jesus, is that so hard?
I thought the issue was self-explanatory with it not resolving the DNS. I do go through logs just to double-check, so it's absolutely more effort.
Well, there's a reason I ask for them in the first place and then asked again.
The point is that I need to see the config you're using. You've configured Hydra to send links to your downloader and to redirect the requests to the actual indexer. If I sent the actual link directly to the download Hydra would be unable to get notified of the actual download. You can select to upload the NZBs to the downloader instead of sending links. That way sab does not need to connect to hydra.
Ah, I got a workaround :) But it's still a bug, right ?
Not really, no. Hydra uses the URL you use to call it to determine its address. That address needs to be resolvable by your downloader if you want to send links instead of NZBs.
You could add a script or something to the downloader container to add the same hosts entry there.
@theotherp why does it use the URL vs the configured value?
After all, I am specifying it here. Clearly this is a case where it doesn't work using the URL in the browser. IS there a downside to using the configured value ?
The problem is with sab connecting to hydra. The connection from hydra to sab obviously works as you're successfully sending links to it.
On Wed, 22 Jul 2020, 18:55 Daniel Bretoi, notifications@github.com wrote:
@theotherp https://github.com/theotherp why does it use the URL vs the configured value?
[image: Screen Shot 2020-07-22 at 09 54 53] https://user-images.githubusercontent.com/26678/88205313-6df49300-cc01-11ea-941a-0aaee28552fc.png
After all, I am specifying it here
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/theotherp/nzbhydra2/issues/599#issuecomment-662568421, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADNUA6MAZ5HKGJLUIWZKYLTR44KZTANCNFSM4PD3KKHQ .
🤦 right
Just want to add something to the queue from a search. It's added to the queue just fine, but it's stuck indefiniately on WAIT.
Yes
Happens every time I try to add something
Yes, I figured it out.
So what's happening is that I'm using a dns shortcut to my server. It's been defined in /etc/hosts so instead of typing out the IP address of my server to access hydra, I use the shortname of the server. It appears Hydra uses that instead of the IP address specified in
/config/downloading
. When I switch to accessing hydra by IP, everything works just fine. However, the docker container hydra/sabnzbd lives in doesn't have access to the shortname so sab tries to access via shortname and is stuck forever more.