A quick test is if you can visit yourapp/remote_api in the web
browser--it should work if you log in as an admin, well it should say
"This request did not contain a necessary header" but not any other
errors.

On Dec 16, 2:52 pm, lembas <keremo...@gmail.com> wrote:
> I get exactly the same error when I try to bulkupload with this
> command:
> appcfg.py upload_data --auth_domain=mydomain.com --db_filename=skip --
> url=http://remote.latest.myprogram.appspot.com/remote_api--no_cookies
> --has_header --config_file=loader.py --filename=kind.csv --kind=Kind
> myprogram
>
> On Dec 17, 12:37 am, lembas <keremo...@gmail.com> wrote:
>
>
>
> > Hi,
>
> > I have a java app on myprogram.appspot.com.
> > I use google eclipse plugin to deploy it.(Eclipse 3.5, App Engine SDK
> > 1.3.0, GWT SDK 2.0.0)
> > I set the version to bulkload and deployed it.
> > Now I have bulkload.latest.myprogram.appspot.com as I can see 
> > onhttps://appengine.google.com/deployment?app_id=myprogram
>
> > I try to bulkdownload data to my app but cannot succeed.
>
> > I use:
> > bulkloader.py --dump --batch_size=5 --kind=Kind --
> > auth_domain=mydomain.com --url=http://
> > bulkload.latest.myprogram.appspot.com/remote_api --filename=dump.sql3
> > myprogram
>
> > when I execute this command it asks my an email and a password. I
> > enter ad...@mydomain.com and its password but the result is:
> > [ERROR   ] Exception during authentication
> > Traceback (most recent call last):
> >   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \bulkload
> > er.py", line 2985, in Run
> >     request_manager.Authenticate()
> >   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \bulkload
> > er.py", line 1152, in Authenticate
> >     remote_api_stub.MaybeInvokeAuthentication()
> >   File "C:\Program Files\Google\google_appengine\google\appengine\ext
> > \remote_api
> > \remote_api_stub.py", line 494, in MaybeInvokeAuthentication
> >     datastore_stub._server.Send(datastore_stub._path, payload=None)
> >   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \appengin
> > e_rpc.py", line 344, in Send
> >     f = self.opener.open(req)
> >   File "C:\Python26\lib\urllib2.py", line 389, in open
> >     response = meth(req, response)
> >   File "C:\Python26\lib\urllib2.py", line 502, in http_response
> >     'http', request, response, code, msg, hdrs)
> >   File "C:\Python26\lib\urllib2.py", line 427, in error
> >     return self._call_chain(*args)
> >   File "C:\Python26\lib\urllib2.py", line 361, in _call_chain
> >     result = func(*args)
> >   File "C:\Python26\lib\urllib2.py", line 510, in http_error_default
> >     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > HTTPError: HTTP Error 403: Forbidden
> > [INFO    ] Authentication Failed
>
> > I got exactly the same error above when I tried downloading with this
> > command:
> > appcfg.py download_data --auth_domain=mydomain.com --url=http://
> > bulkload.latest.myprogram.appspot.com/remote_api --
> > config_file=exporter.py --filename=kind_data_archive.csv --kind=Kind
> > myprogram
>
> > If I enter my gmail.com account and password, which I use to deploy
> > the app in google eclipse plugin, the error is:
> > Invalid username or password.
> > Please enter login credentials for
> > bukload.latest.myprogram.appspot.com
>
> > My app.yaml in myprogram folder is:
> > application: myprogram
> > version: bulkload
> > runtime: python
> > api_version: 1
>
> > handlers:
> > - url: /remote_api
> >   script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
> >   login: admin
>
> > Any help? Or should I ask it on google-appengine-python group or
> > google-appengine group?
>
> > Thanks.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to