My problem was that I had environment variables named `http_proxy` and 
`https_proxy` set that Python's urllib2 uses to route all connections 
through a proxy. Removing those environment variables fixes the issue.

On Wednesday, January 23, 2013 12:13:05 AM UTC-5, Kai Skye wrote:
>
> My website has been running fine for a month. There isn't anything 
> abnormal in the admin console or server logs. However, since early today, 
> whenever I try to deploy my website from Launcher, I receive this error:
>
> 12:03 AM Getting current resource limits.
> 2013-01-23 00:03:31,413 ERROR appcfg.py:2203 An error occurred processing 
> file '': <urlopen error [Errno 10061] No connection could be made because 
> the target machine actively refused it>. Aborting. 
> Traceback (most recent call last):
>   File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 
> 171, in <module>
>     run_file(__file__, globals())
>   File "C:\Program Files (x86)\Google\google_appengine\appcfg.py", line 
> 167, in run_file
>     execfile(script_path, globals_)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 4377
> , in <module>
>     main(sys.argv)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 4368
> , in main
>     result = AppCfgApp(argv).Run()
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2605
> , in Run
>     self.action(self)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 4103
> , in __call__
>     return method()
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3115
> , in Update
>     self.UpdateVersion(rpcserver, self.basepath, appyaml)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3097
> , in UpdateVersion
>     return appversion.DoUpload(paths, openfunc)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2173
> , in DoUpload
>     self.resource_limits = GetResourceLimits(self.rpcserver, self.config)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 358, 
> in GetResourceLimits
>     resource_limits.update(GetRemoteResourceLimits(rpcserver, config))
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 329, 
> in GetRemoteResourceLimits
>     version=config.version)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py",line 
> 391, in Send
>     f = self.opener.open(req)
>   File "C:\Python27\lib\urllib2.py", line 400, in open
>     response = self._open(req, data)
>   File "C:\Python27\lib\urllib2.py", line 418, in _open
>     '_open', req)
>   File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
>     result = func(*args)
>   File "C:\Python27\lib\urllib2.py", line 1215, in https_open
>     return self.do_open(httplib.HTTPSConnection, req)
>   File "C:\Program Files 
> (x86)\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py",line 
> 383, in do_open
>     raise url_error
> urllib2.URLError: <urlopen error [Errno 10061] No connection could be 
> made because the target machine actively refused it>
> 2013-01-23 00:03:31 (Process exited with code 1)
>
> In fact, I can't even run the Help -> Check For Updates... in Launcher 
> without receiving these warnings:
>
> Cannot perform proper version check.
> cannot_contact_server
> release: "1.7.4"
> timestamp: 1352314290
> api_versions: ['1']
>
> I had a friend test on a different computer, using the Mac client, and he 
> had the same problem. Is anybody else having this issue, or know a solution 
> to this issue?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/ttu0b3Q5hjcJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to