Kodi Community Forum

Full Version: [WIP] HTPC-Manager Beta, Manage XBMC, Sabnzbd, SickBeard with one app
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Someone other then me needed a way :to reset auth Big Grin it's located in the db. But you can wipe it by starting htpc manger with command line parameter --resetauth
(2014-08-12, 00:33)Dec64 Wrote: [ -> ]I set HTPC Manager to need a username/password. Now i have forgotton what details i set...Where is the info stored on localy so i can go reset it?

You can use the resetAuth options on the command line.

Code:
python Htpc.py --resetauth
get no access from behind a VPN. Of course I have the port forward with my VPN service and on my local firewall. It will work if I turn off the VPN and use its standard IP address which is NATed. Sickbread, Couchpotato and transmission work fine over a VPN but not your software? Any ideas?
It's not really an answer as to why this is happening, but I've been using an Apache "reverse proxy" setup for several years specifically because of this kind of stuff. This allows me to only have ports 80 and 443 open, and I don't have to bother with SSH/Tunnel or VPN setups (which I really don't wanna deal with on a mobile device). I figure you may not have heard of this solution, so it would be worth knowing about.

Is the VPN server hosted in your main gateway / router on the LAN where the machine running your services is setup, or is the VPN server running on the same box as everything else? Or some other arrangement?

Its a pretty weird issue, given that (unless I'm mistaken) all of the services mentioned use CherryPy to serve up their interfaces.
yeah I've used a reserve proxy before.

I'm not vpn'ing into my NAS. I am using the VPN to hide by BT traffic. I.E. I am using AIRVPN.org to send my traffic encrypted to the synology NAS box to bypass my ISP and anyone watching my traffic from seeing what I am downloading. So the VPN server is in the cloud and they securely route my traffic to me.
yeah I am looking into the reserve proxy and I now have it working for sick beard, TVHeadend, etc but guess what HTPC manager fails with this error message


service temporarily unavailable


Any better sparks out there with any suggestions?

If I remove the VPN tunnel then HTPC manager will work via port forwarding on a NAT router or reverse ports on Apache but not with the VPN on.
Where do you get that message? What http code. Post a log. You can't expect any help with the info you have provided.
(2014-08-21, 00:59)hellow Wrote: [ -> ]Where do you get that message? What http code. Post a log. You can't expect any help with the info you have provided.

yes indeed, however at first I thought it was my setup but now I am being pushed towards it be a problem in the software. How do I get a log from the software so someone can track the exact issue?

I got the error message "service temporarily unavailable" from my iPhone using sarfai on 3G.


Out of intrest here is the code I used in Apchae to get the reverse proxy working.

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
ProxyRequests Off
ProxyPreserveHost On

<Location /htpc>
ProxyPass http://localhost:8955/htpc
ProxyPassReverse http://localhost:8955/htpc
</Location>


<Location /sickbeard>
ProxyPass http://localhost:8081/sickbeard
ProxyPassReverse http://localhost:8081/sickbeard
</Location>

sickbeard works but not htpc Manager, wierd no?
is it with the comand --debug? at work at moment so I can not test.
I mean the log in user data folder.
having trouble finding the log on my Synology NAS but I can use the find -name command if you can supply the exact name of the log

Thanks Tom.
lol, it turns out it was my crappy coding skills . When I played with my reverse proxy setting for a second time it all worked a treat. What a fool I am!

think it might have been the reference to localhost, which this time I replaced with my local internal IP. Thanks everyone for the encouragement to carry on with this.
what I am I doing wrong? Wake on LAN is not working on my XBMCbuntu using HTPC manager running on a synology?

From my Mac I issue the wake on lan command with mac address of xbmcbutnu and it wakes up but from HTPC manager no joy any ideas?
Check your xbmc settings ip, mac, port in both htpc manager and xbmc. Does normal commands from htpc manager to xbmc work? It of still don't work post a log (htpcmanager.log)
checked setting and I can do everything else from with in HTPC manager but not wake up.