NZBUnity issues on Sab
Forum rules
Help us help you:
Help us help you:
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
NZBUnity issues on Sab
I use the Android App Nzb Unity that can be found at Livingtype.net. I like it, it works well. Except now it's broken.
Last night everything was running fine. This morning, Sab won't log in from Unity. I can access Sab fine via the web interface.
I'm running Unity 4.0, Sab 0.7.0Beta3, Zentyal 2.2/Ubuntu 10.04. It is possible that my automatic update scripts ran last night and updated from Beta2 to Beta3 on Sab, but I'm not sure. I know earlier this week I was running Beta2 tho.
Any thoughts?
Last night everything was running fine. This morning, Sab won't log in from Unity. I can access Sab fine via the web interface.
I'm running Unity 4.0, Sab 0.7.0Beta3, Zentyal 2.2/Ubuntu 10.04. It is possible that my automatic update scripts ran last night and updated from Beta2 to Beta3 on Sab, but I'm not sure. I know earlier this week I was running Beta2 tho.
Any thoughts?
Re: NZBUnity issues on Sab
Do you update straight from the github develop branch?
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
Re: NZBUnity issues on Sab
shypike wrote:Do you update straight from the github develop branch?
No, I update from the ppa. Also, on the Unity forum the author has stated he is having issues w/ Beta3 as well.
Re: NZBUnity issues on Sab
There is a small difference in the AUTH API-call.
It previously returned "login" when you set a username and password for the web-interface.
It should have returned "apikey", which Beta3 now does.
This reflects the behaviour of the actual API, which always accepts the bare api-key without username/password.
Did you enter a username/password in Unity?
If so, remove those and only enter SABnzbd's api-key (to be found on Config->General).
It previously returned "login" when you set a username and password for the web-interface.
It should have returned "apikey", which Beta3 now does.
This reflects the behaviour of the actual API, which always accepts the bare api-key without username/password.
Did you enter a username/password in Unity?
If so, remove those and only enter SABnzbd's api-key (to be found on Config->General).
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
Re: NZBUnity issues on Sab
shypike wrote:There is a small difference in the AUTH API-call.
It previously returned "login" when you set a username and password for the web-interface.
It should have returned "apikey", which Beta3 now does.
This reflects the behaviour of the actual API, which always accepts the bare api-key without username/password.
Did you enter a username/password in Unity?
If so, remove those and only enter SABnzbd's api-key (to be found on Config->General).
I did this, but it didn't work. However, I cross posted your suggestion to Unity's forum in order to help the developer.
Re: NZBUnity issues on Sab
Are you using a username and password for the web interface?
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
Re: NZBUnity issues on Sab
Yes I am, b/c I have the web interface facing the world - aka accessable from the internet.shypike wrote:Are you using a username and password for the web interface?
Re: NZBUnity issues on Sab
FWIW:
I just installed NZBunity, and it works with my 070b2 with both API key and username/password filled out.
I also tested against 070b3, and no problems at all.
A look at the stdout of SABnzbd shows that only the apikey is used (and not username/password), so I don't understand shypike's question and I don't understand why NZBunity's fill out form wants the SAB password/username...
I just installed NZBunity, and it works with my 070b2 with both API key and username/password filled out.
I also tested against 070b3, and no problems at all.
A look at the stdout of SABnzbd shows that only the apikey is used (and not username/password), so I don't understand shypike's question and I don't understand why NZBunity's fill out form wants the SAB password/username...
Code: Select all
::ffff:blablaba - - [19/Apr/2012:08:03:26] "GET /sabnzbd/api?apikey=blabla&output=json&mode=queue&start=0&limit=1 HTTP/1.1" 200 1084 "" "Mozilla/5.0 (Linux; U; Android 2.3.7; en-us; HTC Wildfire Build/GRI40; CyanogenMod-7.2.0) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
Re: NZBUnity issues on Sab
When you don't have a username/password, the AUTH API-call will always return "apikey".
When you do have them, AUTH will return "login" (Beta2 and earlier) or "apikey" (Beta3).
I can imagine that an app will start behaving differently when it now gets "apikey" instead of "login".
Its logic would be flawed, but it is a possibility.
When you do have them, AUTH will return "login" (Beta2 and earlier) or "apikey" (Beta3).
I can imagine that an app will start behaving differently when it now gets "apikey" instead of "login".
Its logic would be flawed, but it is a possibility.
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
Re: NZBUnity issues on Sab
The developer has fixed the issue in Unity, however due to issues beyond his control it is taking longer than average to post the update to google play.
http://livingtype.net/?p=115 for details.
http://livingtype.net/?p=115 for details.
Re: NZBUnity issues on Sab
I'm new to all of this and it's probably something incredibly simple, but I cant get NZB Unity to connect to sabnzbd. I enter all of the info from General menu in "Config" and all I get is "Testing SabNZBd Connection". I never get passed that. I connected NZBMatrix just fine but I can't get this to work. Any help will be greatly appreciated.
Thanks.
Thanks.
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
Re: NZBUnity issues on Sab
Piznablo wrote:I'm new to all of this and it's probably something incredibly simple, but I cant get NZB Unity to connect to sabnzbd. I enter all of the info from General menu in "Config" and all I get is "Testing SabNZBd Connection". I never get passed that. I connected NZBMatrix just fine but I can't get this to work. Any help will be greatly appreciated.
Thanks.
Are you trying to use Unity on your local network (wireless), or are you connecting thru your cell network (normal data)? If thru your cell network, try via your wireless. If that works, then what you need to do is port forward from your router to your sab server.
Re: NZBUnity issues on Sab
Thank you for the reply. I tried connecting through my local wireless network just now and I get the same results: "Testing SabNZBd Connection". Maybe there's something I'm missing when entering the information for Host and Port.
So far I enter in the info exactly as it appears under the General Menu:
Host:
127.0.0.1
Port:
8080
Then I copy and paste the API, and I enter the user name and password for SABnzbd.
So far I enter in the info exactly as it appears under the General Menu:
Host:
127.0.0.1
Port:
8080
Then I copy and paste the API, and I enter the user name and password for SABnzbd.
-
- Jr. Member
- Posts: 74
- Joined: March 6th, 2012, 9:35 pm
Re: NZBUnity issues on Sab
Host 127.0.0.1 ALWAYS means the computer you are typing it into. In this case, your cell phone.
If you only want to use Unity on your internal/wireless network, on your sab server get the IP address. If it's a windows machine, open a command prompt & type "ipconfig". The most likely address will be something like 192.168.1.xxx. Try that in your Unity settings.
If you only want to use Unity on your internal/wireless network, on your sab server get the IP address. If it's a windows machine, open a command prompt & type "ipconfig". The most likely address will be something like 192.168.1.xxx. Try that in your Unity settings.
Re: NZBUnity issues on Sab
Thanks again for the quick response. I found my IPv4 Address and my Router IP address, tried both and it still will not connect. I am trying both using my local wireless connection and my cell network. Ideally I would want to connect through my cell network so that I can control it remotely. Any other suggestions? Apparently I have no idea what I'm doing. Thanks for all of the help so far.tymanthius wrote:Host 127.0.0.1 ALWAYS means the computer you are typing it into. In this case, your cell phone.
If you only want to use Unity on your internal/wireless network, on your sab server get the IP address. If it's a windows machine, open a command prompt & type "ipconfig". The most likely address will be something like 192.168.1.xxx. Try that in your Unity settings.
Edit:
I'm also using a Apple Computer.