Forums

Not accessing even whitelisted sites

Hi giles, Please enable white-listed sites also.Am not able to access "https://www.googleapis.com" please help...

If you were to provide any sort of demo code that is failing for you I'd be glad to confirm that it works for a paying account. As you can see .googleapis.com is already listed on the whitelist.

hi.. same problem here.. my simple script couldn't access Twitter now (.twitter.com is in whitelist for free account).. is it blocked or a network connection problem? I use OAuth authenticator to connect to Twitter.. before last night it was okay and it could communicate with twitter for 2 days, but https connection refused after that..

---------->8 File "/usr/lib/python2.6/urllib2.py", line 1178, in https_open return self.do_open(httplib.HTTPSConnection, req) File "/usr/lib/python2.6/urllib2.py", line 1145, in do_open raise URLError(err) urllib2.URLError: <urlopen error [Errno 111] Connection refused>

This should be automatically diverted via the proxy server specified by the environment variable https_proxy which should be defined as http://proxy.server:3128, as far as I'm aware.

However, having just tried this myself it appears that the proxy server is currently refusing connections:

>>> import socket
>>> sock = socket.socket()
>>> sock.connect(("proxy.server", 3128))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<string>", line 1, in connect
socket.error: [Errno 111] Connection refused

Perhaps the server is experiencing issues right now. Hopefully this is just a transient problem?

Our Squid proxy does seem to have been misbehaving over the course of the weekend -- apologies for that. It's OK now, but we'll take a good look on Monday -- there's something that looks a little suspicious to me in the logs.

If you're not using the caching facilities of Squid, it occurs to me that something like Tinyproxy might be less likely to suffer from issues due to its simpler codebase. Also, I believe nginx has a proxy module, but I've never used it.

Of course, all software has issues from time to time, and Squid has always seemed relatively stable when I've used it in the past. However, if you find these problems become frequent, the above alternatives might be useful.

It looks like it was taken down by someone really hammering it (>100 hits to the same address per second), which is sub-optimal but perhaps we can limit that some other way. But if it turns into a long-term problem then it's great to have alternatives -- thanks!

Problem not yet solved.Request to whitelisted sites also showing <urlopen error [Errno 111] Connection refused> URL="https://www.googleapis.com".

I get a 404 from www.googleapis.com. How are you trying to access the site?