dude ramu... thanks a LOT ... it works now !!!
On Jan 30, 12:27 am, ramu <rslet...@gmail.com> wrote: > I had even much bigger problem, my proxy server required > authentication ... Well lot's of serching and reading got me a way > out .Your's is easier. > > >>> PROCEED ON YOUR OWN RISK AND KNOWLEDGE. IT WORKED FOR ME DOESN'T MEAN > >>> SHOULD WORK """ HARMLESSLY """ TO ALL.. > > Follow the instructions in my 2nd post at :- > > http://groups.google.co.in/group/google-appengine/browse_thread/threa... > > A brief is like followng :- > > 1. Open Notepad and save the file as "getToken.html"...... yes It > should be saved as html page. Get the content from above post of mine. > 2. Open this page in firefox and enter your credential. You would get > the *Famous* auth token . copy it. > 3. Go to your file :- File "C:\Program Files\Google\google_appengine > \google\appengine\tools\appengine_rpc.py", , create a backup of it in > case you mess up this . > 3. Go to around line number 177 of this file and remove all inner > content of function "_GetAuthToken" by :- > return "THE_AUTH_TOKEN_YOU_COPIED_FROM_FIREFOX_USING_ABOVE_FILE". > 4. Save and exit. Go and upload your app. > > >>> This is a must for you to do because your proxy doesn't support https . > >>> For me the limitation was that even though proxy supported https, python > >>> library didn't support authenticated proxy for https. Your's doesn't seem > >>> to require authentication. > >>> This method works only once. One Auth Toke can be used only once. You > >>> will have to change it again while uploading the app 2nd time . > > On Jan 29, 10:12 am, "siva...@gmail.com" <siva...@gmail.com> wrote: > > > Please help me !! > > > I am not able to upload my app.. > > > urllib2.URLError: <urlopen error (11001, 'getaddrinfo failed')> > > > I am behind my college proxy ..whose address is proxy.ssn.net and port > > 8080 > > We have few restrictions like , FTP,SSL are blocked.. and upload or > > download limits > > set max 20 mb. > > > I am using .. > > App Engine SDK - Release Notes > > > Version 1.1.8 - January 7, 2008 > > and > > Python version 2.5.4 > > > and i am just a beginner in python and app engine > > > Please help me out .. > > > This is what i get ... > > > Microsoft Windows XP [Version 5.1.2600] > > (C) Copyright 1985-2001 Microsoft Corp. > > > C:\Documents and Settings\v.sivaprakash>cd C:\Program Files\Google > > \google_appeng > > ine > > > C:\Program Files\Google\google_appengine>set HTTP_PROXY=http:// > > proxy.ssn.net:808 > > 0 > > > C:\Program Files\Google\google_appengine>appcfg.py update hello > > Scanning files on local disk. > > Initiating update. > > Email: siva...@gmail.com > > Password for siva...@gmail.com: > > 2009-01-29 23:25:49,233 ERROR appcfg.py:1148 An unexpected error > > occurred. Abort > > ing. > > Traceback (most recent call last): > > File "C:\Program Files\Google\google_appengine\appcfg.py", line 60, > > in <module > > > run_file(__file__, globals()) > > File "C:\Program Files\Google\google_appengine\appcfg.py", line 57, > > in run_fil > > e > > execfile(script_path, globals_) > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.p > > y", line 1886, in <module> > > main(sys.argv) > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.p > > y", line 1877, in main > > result = AppCfgApp(argv).Run() > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.p > > y", line 1328, in Run > > self.action(self) > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.p > > y", line 1789, in __call__ > > return method() > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.p > > y", line 1579, in Update > > lambda path: open(os.path.join(basepath, path), "rb")) > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.p > > y", line 1127, in DoUpload > > missing_files = self.Begin() > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appcfg.p > > y", line 980, in Begin > > version=self.version, payload=self.config.ToYAML()) > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appengin > > e_rpc.py", line 312, in Send > > self._Authenticate() > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appengin > > e_rpc.py", line 344, in _Authenticate > > super(HttpRpcServer, self)._Authenticate() > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appengin > > e_rpc.py", line 233, in _Authenticate > > auth_token = self._GetAuthToken(credentials[0], credentials[1]) > > File "C:\Program Files\Google\google_appengine\google\appengine\tools > > \appengin > > e_rpc.py", line 177, in _GetAuthToken > > response = self.opener.open(req) > > File "C:\Python25\lib\urllib2.py", line 381, in open > > response = self._open(req, data) > > File "C:\Python25\lib\urllib2.py", line 399, in _open > > '_open', req) > > File "C:\Python25\lib\urllib2.py", line 360, in _call_chain > > result = func(*args) > > File "C:\Python25\lib\urllib2.py", line 1115, in https_open > > return self.do_open(httplib.HTTPSConnection, req) > > File "C:\Python25\lib\urllib2.py", line 1082, in do_open > > raise URLError(err) > > urllib2.URLError: <urlopen error (11001, 'getaddrinfo failed')> > > > C:\Program Files\Google\google_appengine> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. 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 -~----------~----~----~----~------~----~------~--~---