So here's a head scratcher for the Linux gurus out there 
So I have a Ubuntu 13.10 box sitting behind a proxy that makes use of Active Directory for Authentication. The Ubuntu is running Sickbeard/Couchpotato. To make my life easier on the authentication side I just installed a transparent proxy that Ubuntu talks to and then it obviously handles the authentication etc.
So it goes HTTP Request -> localhost:3128 -> proxy:8080
I first tried cntlm and for the most part I got that to work with everything except SB/CP. Basically everything can see the internet but the moment SB/CP tries to do a search the logs will show Access Denied and then I tried squid and exact same result.
CP Server Thread-5 :: URL error [Errno 111] Connection refused while loading URL https://api.github.com/repos/midgetspy/Sick-Beard/commits?per_page=100&sha=development
WARNING SHOWQUEUE-FORCE-UPDATE :: Unable to contact TVDB, aborting: We recently timed out, so giving up early this time
I've tried setting the environment variables, updating .bashrc file, checking that I can make a simple get call from a python terminal (which I can) and updating the ip tables to route all 80 traffic to 3128 but still can't get SB/CP to work. My guess is maybe the python process that spawns to run SB/CP isn't aware of the transparent proxy settings or is somehow ignoring the environment variables for HTTP_PROXY/HTTPS_PROXY.
Sooooo....Any ideas after that dump of information?
Kind Regards,
S1ght
So I have a Ubuntu 13.10 box sitting behind a proxy that makes use of Active Directory for Authentication. The Ubuntu is running Sickbeard/Couchpotato. To make my life easier on the authentication side I just installed a transparent proxy that Ubuntu talks to and then it obviously handles the authentication etc.
So it goes HTTP Request -> localhost:3128 -> proxy:8080
I first tried cntlm and for the most part I got that to work with everything except SB/CP. Basically everything can see the internet but the moment SB/CP tries to do a search the logs will show Access Denied and then I tried squid and exact same result.
CP Server Thread-5 :: URL error [Errno 111] Connection refused while loading URL https://api.github.com/repos/midgetspy/Sick-Beard/commits?per_page=100&sha=development
WARNING SHOWQUEUE-FORCE-UPDATE :: Unable to contact TVDB, aborting: We recently timed out, so giving up early this time
I've tried setting the environment variables, updating .bashrc file, checking that I can make a simple get call from a python terminal (which I can) and updating the ip tables to route all 80 traffic to 3128 but still can't get SB/CP to work. My guess is maybe the python process that spawns to run SB/CP isn't aware of the transparent proxy settings or is somehow ignoring the environment variables for HTTP_PROXY/HTTPS_PROXY.
Sooooo....Any ideas after that dump of information?
Kind Regards,
S1ght