Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8672643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T19:15:20+00:00 2026-06-12T19:15:20+00:00

From this question ( Can't deploy my app to Google App Engine ), I

  • 0

From this question ( Can't deploy my app to Google App Engine ), I see that perhaps some imports aren’t allowed on production GAE. I’ve cut down to the following:

import webapp2 # Comes with latest GAE w/ Python 2.7
import os # for loading appropriate files on the server

from google.appengine.ext import db
from google.appengine.api import channel
from google.appengine.ext.webapp import template

I’m not directly linking to a website in my Python script. This is the only line where I refer to a file.

path = os.path.join(os.path.dirname(__file__), 'myfile.html')

I’m working at home, not behind a proxy. Despite all these things that I’ve seen as factors in other questions on SO and in various search results, I continue getting the following error.

2012-10-11 13:22:01,890 ERROR appcfg.py:2182 An error occurred processing file '':
<urlopen error [Errno 11004] getaddrinfo failed>. 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 4191, in <module>
main(sys.argv)

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 4182, in main
result = AppCfgApp(argv).Run()

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2579, in Run
self.action(self)

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3927, in __call__
return method()

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3041, in Update
self.UpdateVersion(rpcserver, self.basepath, appyaml)

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 3023, in UpdateVersion
lambda path: self.opener(os.path.join(basepath, path), 'rb'))

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 2152, in DoUpload
self.resource_limits = GetResourceLimits(self.rpcserver, self.config)

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 357, in GetResourceLimits
resource_limits.update(GetRemoteResourceLimits(rpcserver, config))

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py", line 328, in GetRemoteResourceLimits
version=config.version)

File "C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py", line 383, in Send
f = self.opener.open(req)

File "C:\Python27\lib\urllib2.py", line 400, in open
url = rest

File "C:\Python27\lib\urllib2.py", line 418, in _open
user_passwd = unquote(user_passwd)

File "C:\Python27\lib\urllib2.py", line 378, in _call_chain
"""Default error handler: close the connection and raise IOError."""

File "C:\Python27\lib\urllib2.py", line 1215, in https_open
s += unichr(int(item[:2], 16)) + item[2:]

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 11004] getaddrinfo failed>
2012-10-11 13:22:01 (Process exited with code 1)

So there’s the error, and I really don’t think it’s on my end because of how minimal I’ve made my code. To recap:

  • Unlike other questions and their unmarked solutions, I’m not behind a proxy;
  • I don’t have any internet URLs in my python script;
  • I’m using Python 2.7 and the Deploy button on the Google App Engine launcher.

One solution I haven’t tried is setting an environment variable (http_proxy, https_proxy) to my proxy because I don’t know what proxy to set it to; I don’t have one. In my project settings, I have https://myappname.appspot.com as the Deployment Server.

How do I proceed? Any red flags you can identify immediately from what I’ve described?

Note:

  • Since starting to write this and continually clicking on more suggestions from StackOverflow, I’ve tried setting a new environment variable http_proxy to my IP, my IP:8080, and “host_or_ip:port” (from question How can I disable the automatic checking for updates when Google App Engine Launcher is started?).
  • I’ll be trying the same values with https_proxy while you good folks read and put out your ideas.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T19:15:21+00:00Added an answer on June 12, 2026 at 7:15 pm

    Make sure you’re using the correct development server.

    It should be: http://appengine.google.com

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As I just learned from this question , .NET regexes can access individual matches
Question similar to this: select from two tables where linked column can be null
This was the question asked in interview. Can we call one constructor from another
This is a follow-on question from the one I asked here . Can constraints
My question originates from this question, where one of the comments suggests that a
I'm gleaning from this question [ Facebook Connect Won't Validate that using Facebook Connect
Recently, an app was released on the AppStore that secretly allowed wifi-tethering from your
From this question & the answers - What is the correct answer for cout
From this question I learned Double.NaN is not equal to itself. I was verifying
Continuing from this question : When I am trying to do fopen on Windows,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.