Comments (28)
That was fixed two days ago. Are you sure you're running the latest version?
from nzbhydra2.
Yes running version v1.0.14
from nzbhydra2.
Can't really explain that. It should work... Wait for the next release.
from nzbhydra2.
1.0.15 is out, try that one.
from nzbhydra2.
Should be fixed now.
from nzbhydra2.
hi,
im now seeing a search by mylar yet it doesn't download the result. i dont know if i should send this to mylar.
2018-01-11 18:23:14 | ERROR | Unable to download nzb from link: https://127.0.0.1/nzbhydra/api?apikey=myapi&t=get&id=3 [http://127.0.0.1:5075/nzbhydra/getnzb/api/-6802808242181296776?apikey=myapi] |
---|---|---|
2018-01-11 18:23:14 | INFO | download-retrieved headers: {'content-length': '70', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'set-cookie': 'XSRF-TOKEN=fff4c5ca-6af0-4483-9360-f3464c66c283; Path=/nzbhydra', 'expires': '0', 'server': 'nginx/1.8.0', 'connection': 'keep-alive', 'pragma': 'no-cache', 'cache-control': 'no-cache, no-store, max-age=0, must-revalidate', 'date': 'Thu, 11 Jan 2018 18:23:14 GMT', 'content-type': 'application/xml;charset=UTF-8'} |
2018-01-11 18:23:14 | INFO | Download URL: https://127.0.0.1/nzbhydra/api?apikey=myapi&t=get&id=3 [VerifySSL:False] |
from nzbhydra2.
There's no port there
from nzbhydra2.
And ffs, post your debug infos like it says in the issue template.
from nzbhydra2.
apologise
here is the debug.
i use nginx to reverse proxy which works with all my other programs. all use http://
nzbhydra-debuginfos-2018-01-11-18-47.zip
12.0.0.1/nzbhydra, exepct for lazylibrarian which uses https://mydomain.com/nzbhydra
trying both on mylar cause the same error.
from nzbhydra2.
Here's how I interpret Mylar's log:
Mylar accesses Hydra at https://127.0.0.1/nzbhydra/...
to search but finds a download that links to http://127.0.0.1:5075/nzbhydra/...
. Note the difference in scheme. I guess that could cause problems.
Try setting the external URL to https://127.0.0.1/nzbhydra/
(in Hydra's main config section).
from nzbhydra2.
I'll probably disable the XSRF protection in the next version because it only causes problems and is rarely needed.
from nzbhydra2.
added the url but still getting the same error
from nzbhydra2.
I'm gonna suggest using your reverse proxy harder. I have mine setup so that sub.domain.com
points at my external ip via real DNS. But inside my network, my router points sub.domain.com
to the server's internal ip. That way, I can just use that everywhere. This could fix your issue because now you can point everything at https://sub.domain.com/nzbhydra2
(or whatever) and everything will just "work". Magically. Hopefully.
from nzbhydra2.
With lazylibrarian I have to use https://mydomain.com/nzbhydra which works fine. Trying this in Mylar comes up with the same errror as using http://127.0.0.1/nzbhydra (this is used by sonarr and radarr)
from nzbhydra2.
Does your mydomain.com work correctly internally? With routers and port forwards and stuff, it can be a little weird to get working. I assume it does, since LL is working. I've never added Hydra to either, let me try now and see what it does.
Edit: It turns out both Mylar and LL were using my old NZBHydra, so I've switched them to the new. I see a search query go through fine from LL to NZBHydra. The Mylar queries make it through too, but I don't have anything good to search for and nothing is found. :/
from nzbhydra2.
'LL works fine searches and results are sent to nzbget.
Mylar again searches but I get the error you see in my third post.
When I look into NZBHydra search history and run it again it pull results.
from nzbhydra2.
hi,
i updated to the latest version v1.0.16 and i’m still seeing the following error
2018-01-12 14:53:21 | ERROR | Unable to download nzb from link: http://127.0.0.1/nzbhydra/api?apikey=MYAPI&t=get&id=3 [http://127.0.0.1:5075/nzbhydra/getnzb/api/4065993004411482480?apikey=MYAPI] |
---|---|---|
2018-01-12 14:53:21 | INFO | download-retrieved headers: {'content-length': '70', 'x-xss-protection': '1; mode=block', 'x-content-type-options': 'nosniff', 'expires': '0', 'server': 'nginx/1.8.0', 'connection': 'keep-alive', 'pragma': 'no-cache', 'cache-control': 'no-cache, no-store, max-age=0, must-revalidate', 'date': 'Fri, 12 Jan 2018 14:53:21 GMT', 'content-type': 'application/xml;charset=UTF-8'} |
2018-01-12 14:53:20 | INFO | Download URL: http://127.0.0.1/nzbhydra/api?apikey=MYAPI&t=get&id=3 [VerifySSL:False] |
here are the debug logs
nzbhydra-debuginfos-2018-01-12-14-53.zip
I’ve made connect with @evilhero to see if he could assist from a Mylar point of view.
from nzbhydra2.
from nzbhydra2.
It does at the search level - the problem is that it's getting some kind of response from the 127.0.0.1/nzbhydra
and is returning the retrieved headers response. So there's no error per-se from the response (there might be an error code, it doesn't trap that), but the response being retrieved doesn't contain the nzb.
Has nzbhydra2 changed the returning nzb url so that it doesn't have a 'searchresultid' anymore ? (that's what Mylar looks for to distinguish hydra from newznab queries in the past - it looks like the nzb trying to be retrieved above is just using the id
field now)
from nzbhydra2.
@phairplay What you get in the browser when you call http://127.0.0.1:5075/nzbhydra/getnzb/api/4065993004411482480?apikey=MYAPI
?
@evilhero Why does Mylar need to distinguish between newznab and Hydra? No, there's not searchresultid parameter anymore. I was not aware there were any programs that handled Hydra differently (or needed to do so in the first place).
from nzbhydra2.
I can see errors in the log that indicate that some tool is trying to make an API call with the parameter t=7030 which doesn't make sense. Mylar seems to make queries using that category. Could that be related?
from nzbhydra2.
Ahhh... Sorry, I'm blind.
http://127.0.0.1/nzbhydra/api?apikey=MYAPI&t=get&id=3
is not a a valid NZB URL. The ID would need to look like the one in http://127.0.0.1:5075/nzbhydra/getnzb/api/4065993004411482480?apikey=MYAPI
(in that case 4065993004411482480).
Why does Mylar use that ID?
from nzbhydra2.
It doesn't need to distinguish normally - but at some point (can't recall exactly when), the returning of the searchresultid was only occuring with nzbhydra, so I had to make an exception for the return call to be handled properly. Probably why it was trying to use the id of 3 instead of the other id.
If it's no longer needed, I can remove the searchresultid check and it should be able to retrieve it normally provided @phairplay can figure out his reverse proxy stuff.
from nzbhydra2.
Weird, it seems to work with all the other tools. If you need my support let me know.
from nzbhydra2.
No worries - this is all because I thought it'd be a good idea to allow for dynamic API replacement within the existing API download calls because of some edge case.
So Mylar basically just stores the id and then dynamically generates the url from the other info. Turns out to be more of a PITA than anything else - so now's the excuse for me to just remove that stuff entirely. I'll have this pushed out within the hour for @phairplay to try...
from nzbhydra2.
Hi guys,
Many thanks for taking the time to review this, I’ll report back ASAP
from nzbhydra2.
Winner winner chicken dinner.....
Thank you so much guys, I really appreciate it.
David
from nzbhydra2.
Great to hear.
from nzbhydra2.
Related Issues (20)
- Does not start after the update v5.3.1 HOT 52
- results preceded by a space character HOT 3
- Bitdefender Security flagging exe in latest Windows version - NZBHydra2.exe is infected with Trojan.GenericKD.70500498 HOT 11
- Custom mapping: reorder/multiple lines/save Examples for each pattern/enable button HOT 5
- Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [140] milliseconds. HOT 4
- Handling non-ascii charset for `Save torrent to black hole or send magnet link` HOT 3
- API and download Hits won't be cleared in 5.3.5 HOT 11
- upgrades from 5.1.10 fails HOT 8
- Hash passwords in the config file when authentication is enabled. HOT 1
- Error while getting latest version: Cannot assign requested address: no further information HOT 9
- Option to apply Load Limiting to RSS searches only HOT 2
- period substitution with spaces not consistent HOT 3
- Allow certain Tasks to be disabled or configured HOT 2
- Error filtering download history by date
- Make slow queries more pleasant within the UI HOT 9
- History disapearing, only one very old history line remains HOT 7
- Restoring into docker hangs HOT 4
- High disk I/O usage HOT 2
- Desperately need help installing on MAC HOT 2
- [Binsearch] Unable to find main table in binsearch page. This happens sometimes ;-) (HAPPENS ALWAYS)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nzbhydra2.