Page 1 of 1

Remote Control Error

PostPosted: Sat Mar 04, 2017 5:22 am
by dougm1
A long time ago in a galaxy far, far away I got newsbin and sickrage talking. Then, something happen somewhere and the connection between the two failed. It's not a firewall issue, and reinstalling both applications didn't remedy the situation. Trying http://localhost:8000 returns
Code: Select all
{
"status":"false"
}

Whatever that means...

Trying http://localhost:118/ returns
Code: Select all
414 Newsbin Server 6.73RC1 - Remote control disabled - Newsbin isn't registered 


Even though Remote Control is enabled. I think that is my issue. The questions are
    1) Why is Remote Control showing as disabled?
    2) How do I (re)"register" Newsbin?

Re: Remote Control Error

PostPosted: Sat Mar 04, 2017 9:54 am
by Quade
414 Newsbin Server 6.73RC1 - Remote control disabled - Newsbin isn't registered


Help/Register Update Key menu. Re-submit or add and submit the key.

See what happens.

Re: Remote Control Error

PostPosted: Sat Mar 04, 2017 6:10 pm
by dougm1
Did it. Looks like newsbn is registered now... (Browser output of Remote Control port 118 shown below). Sickrage connection still fails though. SR SABnzb Test Connection returns "Unable to connect to host".

http://localhost:118/

Code: Select all
200 Newsbin Server 6.73RC1
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized
400 Command not Recognized


http://localhost:8000/ still returns
Code: Select all
{
"status":"false"
}
json error?

I've seen this error before when trying to access Sickrage after the noble SR devs put out a commit that chowdered my SR set up. I'll dink with SR and let you know if I get it to work. Maybe authentication via https will do it, else - its back to blackhole.

Re: Remote Control Error

PostPosted: Sun Mar 05, 2017 12:23 am
by Quade
I think you're mixing up remote control with remote NZB. SickRage and the like need to use the Remote NZB settings, not remote control.

They both need to be on different ports.

Re: Remote Control Error

PostPosted: Sun Mar 05, 2017 5:38 am
by dougm1
SR url is http://localhost:8081/
SR SABnzbd server url is set to http://localhost:8000/

NB Remote Control Port is set to 118
NB Remote NZB Integration is set to Port 8000.
NB Remote Post Processing Remote Address is set to http://localhost:8081/

I think those are the instructions that you gave.
Fails with or without uname and pw or API key in any combination.
I actually just tried to manually change the SR port both in the settings page and directly the config.ini - SR won't change ports! It stays 8081 no matter what I change it to.
I'll keep working on it. Any ideas what might be going on?

Re: Remote Control Error

PostPosted: Sun Mar 05, 2017 10:03 am
by Quade
200 Newsbin Server 6.73RC1
400 Command not Recognized
400 Command not Recognized


Is normal if you're connecting with a browser. Port 118 isn't an HTML interface so what the browser is sending is just garbage to this interface.

{
"status":"false"
}


Is normal if you're not sending the correct Json command to this interface. Which apparently you aren't.

You shouldn't be connecting to Newsbin with a web browser.

[Browser]<----->[SickRage/SB/Sonarr]<------>[Newsbin port 8000ish]

So, you need to configure Rage to connect to Newsbin and you need to use the browser to connect to Rage.

Re: Remote Control Error

PostPosted: Sun Mar 05, 2017 10:06 am
by dougm1
Thanks. I knew that. I was using the browser to troubleshoot. I think it is an issue with SR porting. I opened an issue with SR.

Re: Remote Control Error

PostPosted: Sun Mar 05, 2017 11:27 am
by Quade
Yeah you need to make sure there are no port conflicts.

Re: Remote Control Error

PostPosted: Sun Mar 05, 2017 4:36 pm
by dougm1
Ran netstat -ano -p tcp. No port conflicts. Something is f'ed up somewhere. I'll find it. The SickRage Windows installer includes NSSM so that SickRage runs as a service on port 8081 - porting can't be changed from SR or direct modification of the SR confg.ini. One of the SR developers, sharkykh, helped me out: had to open the NSSM service editor to change the SR port. Integration still doesn't function, but at least I have something to work on in my spare time. Thanks for your help.