[appengine-java] Re: bulk download error 403

2009-12-16 Thread lembas
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  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.




[appengine-java] Re: bulk download error 403

2009-12-18 Thread Matthew Blain
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  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  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.




[appengine-java] Re: bulk download error 403

2009-12-19 Thread lembas
First I visit https://www.google.com/a/cpanel/mydomain.com
then login as ad...@mydomain.com
and then I visit
http://remote.latest.myprogram.appspot.com/remote_api, which has
remoteapi definition in web.xml as stated in
http://groups.google.com/group/google-appengine-java/browse_thread/thread/af17ff6b9c9a4905/3319893030e5154a,
it says
Error: Forbidden
Your client does not have permission to get URL /remote_api from this
server.

but if i visit http://myprogram.appspot.com/remote_api, which is the
current version without any remoteapi definition in web.xml, it says
Error: Not Found
The requested URL /remote_api was not found on this server.

what should I do now?

On Dec 19, 2:24 am, Matthew Blain  wrote:
> 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  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  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 Error403: 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.




[appengine-java] Re: bulk download error 403

2009-12-23 Thread Matthew Blain
You need to log in to the application, not just the Google control
panel--do you have a login page you can visit on
http://remote.latest.myprogram.appspot.com/remote_api ?
What do the logs look like in the admin console for your app?

On Dec 19, 2:36 am, lembas  wrote:
> First I visithttps://www.google.com/a/cpanel/mydomain.com
> then login as ad...@mydomain.com
> and then I visithttp://remote.latest.myprogram.appspot.com/remote_api, which 
> has
> remoteapi definition in web.xml as stated 
> inhttp://groups.google.com/group/google-appengine-java/browse_thread/th...,
> it says
> Error: Forbidden
> Your client does not have permission to get URL /remote_api from this
> server.
>
> but if i visithttp://myprogram.appspot.com/remote_api, which is the
> current version without any remoteapi definition in web.xml, it says
> Error: Not Found
> The requested URL /remote_api was not found on this server.
>
> what should I do now?
>
> On Dec 19, 2:24 am, Matthew Blain  wrote:
>
>
>
> > 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  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  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 Error403: 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 rec

[appengine-java] Re: bulk download error 403

2009-12-23 Thread Matthew Blain
(Note that the log in page is only needed to test interactive login.)

On Dec 23, 6:53 pm, Matthew Blain  wrote:
> You need to log in to the application, not just the Google control
> panel--do you have a login page you can visit 
> onhttp://remote.latest.myprogram.appspot.com/remote_api?
> What do the logs look like in the admin console for your app?
>
> On Dec 19, 2:36 am, lembas  wrote:
>
>
>
> > First I visithttps://www.google.com/a/cpanel/mydomain.com
> > then login as ad...@mydomain.com
> > and then I visithttp://remote.latest.myprogram.appspot.com/remote_api, 
> > which has
> > remoteapi definition in web.xml as stated 
> > inhttp://groups.google.com/group/google-appengine-java/browse_thread/th...,
> > it says
> > Error: Forbidden
> > Your client does not have permission to get URL /remote_api from this
> > server.
>
> > but if i visithttp://myprogram.appspot.com/remote_api, which is the
> > current version without any remoteapi definition in web.xml, it says
> > Error: Not Found
> > The requested URL /remote_api was not found on this server.
>
> > what should I do now?
>
> > On Dec 19, 2:24 am, Matthew Blain  wrote:
>
> > > 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  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  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 Error403: 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: bulk

[appengine-java] Re: bulk download error 403

2009-12-24 Thread lembas
First of all, sorry for writing "remote" instead of "bulkload" in my
last 2 posts.
There is no "remote" version. The only version is "bulkload".
I created it with Python like I said in my first post in this thread.

I logged out my gmail.com account and mydomain.com account in my
browser.
Then I visit http://bulkload.latest.myprogram.appspot.com/remote_api.
There comes a login page of mydomain.com.
When I login with my admin account on mydomain.com, it says
Error: Forbidden
Your client does not have permission to get URL /remote_api from this
server.

I do not use GAE UserService anywhere in my code.
I do not have any  in my web.xml.

I looked at the logs as you said. I have the following in my request-
only-filtered log:
12-24 01:33AM 02.761 /remote_api 403 36ms 0cpu_ms 0kb Mozilla/5.0
(X11; U; Linux i686; en-US) AppleWebKit/532.6 (KHTML, like Gecko)
Chrome/4.0.266.0 Safari/532.6,gzip(gfe)
See details
193.xxx.yyy.zzz - myid [24/Dec/2009:01:33:02 -0800] "GET /remote_api
HTTP/1.1" 403 0 "https://www.google.com/a/mydomain.com/ServiceLogin?
service=ah&passive=true&continue=http://
bulkload.latest.myprogram.appspot.com/_ah/login%3Fcontinue%3Dhttp://
bulkload.latest.myprogram.appspot.com/
remote_api (Note that the log in page is only needed to test interactive login.)
>
> On Dec 23, 6:53 pm, Matthew Blain  wrote:
>
> > You need to log in to the application, not just the Google control
> > panel--do you have a login page you can visit 
> > onhttp://remote.latest.myprogram.appspot.com/remote_api?
> > What do the logs look like in the admin console for your app?
>
> > On Dec 19, 2:36 am, lembas  wrote:
>
> > > First I visithttps://www.google.com/a/cpanel/mydomain.com
> > > then login as ad...@mydomain.com
> > > and then I visithttp://remote.latest.myprogram.appspot.com/remote_api, 
> > > which has
> > > remoteapi definition in web.xml as stated 
> > > inhttp://groups.google.com/group/google-appengine-java/browse_thread/th...,
> > > it says
> > > Error: Forbidden
> > > Your client does not have permission to get URL /remote_api from this
> > > server.
>
> > > but if i visithttp://myprogram.appspot.com/remote_api, which is the
> > > current version without any remoteapi definition in web.xml, it says
> > > Error: Not Found
> > > The requested URL /remote_api was not found on this server.
>
> > > what should I do now?
>
> > > On Dec 19, 2:24 am, Matthew Blain  wrote:
>
> > > > 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  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  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
> > 

[appengine-java] Re: bulk download error 403

2010-02-16 Thread Matthew Blain
The Google Apps control panel does not affect who is a admin on  a
particular app engine application. That's controlled by the App Engine
admin console, e.g. http://appengine.google.com/permissions?&app_id=myprogram
. For remote_api to work you also need the admin to match the
authentication option of the application, e.g. whatever it says on
http://appengine.google.com/domain?&app_id=myprogram for
"Authentication Options". If it says "anyone with a valid Google
Account" then you need to use a non-Google Apps account for the admin
with remote API. This is often simplest to do with a Gmail account. If
it says "anyone with a valid *yourdomain* Google Apps domain", then
only admins on the Permissions page with Google Apps account in that
domain will work.

Hopefully this clarifies things--it's confusing because there are so
many different places to check.

--Matthew

On Dec 24 2009, 1:48 am, lembas  wrote:
> First of all, sorry for writing "remote" instead of "bulkload" in my
> last 2 posts.
> There is no "remote" version. The only version is "bulkload".
> I created it with Python like I said in my first post in this thread.
>
> I logged out my gmail.com account and mydomain.com account in my
> browser.
> Then I visithttp://bulkload.latest.myprogram.appspot.com/remote_api.
> There comes a login page of mydomain.com.
> When I login with my admin account on mydomain.com, it says
> Error: Forbidden
> Your client does not have permission to get URL /remote_api from this
> server.
>
> I do not use GAE UserService anywhere in my code.
> I do not have any  in my web.xml.
>
> I looked at the logs as you said. I have the following in my request-
> only-filtered log:
> 12-24 01:33AM 02.761 /remote_api 403 36ms 0cpu_ms 0kb Mozilla/5.0
> (X11; U; Linux i686; en-US) AppleWebKit/532.6 (KHTML, like Gecko)
> Chrome/4.0.266.0 Safari/532.6,gzip(gfe)
> See details
> 193.xxx.yyy.zzz - myid [24/Dec/2009:01:33:02 -0800] "GET /remote_api
> HTTP/1.1" 403 0 "https://www.google.com/a/mydomain.com/ServiceLogin?
> service=ah&passive=true&continue=http://
> bulkload.latest.myprogram.appspot.com/_ah/login%3Fcontinue%3Dhttp://
> bulkload.latest.myprogram.appspot.com/
> remote_api "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.6 (KHTML,
> like Gecko) Chrome/4.0.266.0 Safari/532.6,gzip(gfe)"
>
> How can I check if my admin account on mydomain.com is really an admin
> forhttp://bulkload.latest.myprogram.appspot.com/remote_api?
> I checked it by logging inhttps://www.google.com/a/cpanel/kavancha.com/Users
> and see that "admin" is an "Administrator" as stated in "Status"
> column next to "Username" column. Am I right?
>
> Thanks for your help.
> Now what should I do next?
>
> On Dec 24, 4:54 am, Matthew Blain  wrote:
>
>
>
> > (Note that the log in page is only needed to test interactive login.)
>
> > On Dec 23, 6:53 pm, Matthew Blain  wrote:
>
> > > You need to log in to the application, not just the Google control
> > > panel--do you have a login page you can visit 
> > > onhttp://remote.latest.myprogram.appspot.com/remote_api?
> > > What do the logs look like in the admin console for your app?
>
> > > On Dec 19, 2:36 am, lembas  wrote:
>
> > > > First I visithttps://www.google.com/a/cpanel/mydomain.com
> > > > then login as ad...@mydomain.com
> > > > and then I visithttp://remote.latest.myprogram.appspot.com/remote_api, 
> > > > which has
> > > > remoteapi definition in web.xml as stated 
> > > > inhttp://groups.google.com/group/google-appengine-java/browse_thread/th...,
> > > > it says
> > > > Error: Forbidden
> > > > Your client does not have permission to get URL /remote_api from this
> > > > server.
>
> > > > but if i visithttp://myprogram.appspot.com/remote_api, which is the
> > > > current version without any remoteapi definition in web.xml, it says
> > > > Error: Not Found
> > > > The requested URL /remote_api was not found on this server.
>
> > > > what should I do now?
>
> > > > On Dec 19, 2:24 am, Matthew Blain  wrote:
>
> > > > > 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  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  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 se

[appengine-java] Re: bulk download error 403

2010-02-22 Thread lembas
Matthew I think I am close but...

I logged in to https://appengine.google.com/permissions?&app_id=myprogram
My gmail address is developer on this account.
Now I want to add m...@mydomain.com as a developer.

I add m...@mydomain.com to the developers list. It says it sent a mail
to confirm to m...@mydomain.com and its status is pending.
I logged into may mail on m...@mydomain.com and click on the link to
confirm but it asks my phone number and want me to create new app.

How can I add m...@mydomain.com as a developer?

On Feb 17, 1:04 am, Matthew Blain  wrote:
> The Google Apps control panel does not affect who is a admin on  a
> particular app engine application. That's controlled by the App Engine
> admin console, e.g.http://appengine.google.com/permissions?&app_id=myprogram
> . For remote_api to work you also need the admin to match the
> authentication option of the application, e.g. whatever it says 
> onhttp://appengine.google.com/domain?&app_id=myprogramfor
> "Authentication Options". If it says "anyone with a valid Google
> Account" then you need to use a non-Google Apps account for the admin
> with remote API. This is often simplest to do with a Gmail account. If
> it says "anyone with a valid *yourdomain* Google Apps domain", then
> only admins on the Permissions page with Google Apps account in that
> domain will work.
>
> Hopefully this clarifies things--it's confusing because there are so
> many different places to check.
>
> --Matthew
>
> On Dec 24 2009, 1:48 am, lembas  wrote:
>
> > First of all, sorry for writing "remote" instead of "bulkload" in my
> > last 2 posts.
> > There is no "remote" version. The only version is "bulkload".
> > I created it with Python like I said in my first post in this thread.
>
> > I logged out my gmail.com account and mydomain.com account in my
> > browser.
> > Then I visithttp://bulkload.latest.myprogram.appspot.com/remote_api.
> > There comes a login page of mydomain.com.
> > When I login with my admin account on mydomain.com, it says
> > Error: Forbidden
> > Your client does not have permission to get URL /remote_api from this
> > server.
>
> > I do not use GAE UserService anywhere in my code.
> > I do not have any  in my web.xml.
>
> > I looked at the logs as you said. I have the following in my request-
> > only-filtered log:
> > 12-24 01:33AM 02.761 /remote_api 403 36ms 0cpu_ms 0kb Mozilla/5.0
> > (X11; U; Linux i686; en-US) AppleWebKit/532.6 (KHTML, like Gecko)
> > Chrome/4.0.266.0 Safari/532.6,gzip(gfe)
> > See details
> > 193.xxx.yyy.zzz - myid [24/Dec/2009:01:33:02 -0800] "GET /remote_api
> > HTTP/1.1" 403 0 "https://www.google.com/a/mydomain.com/ServiceLogin?
> > service=ah&passive=true&continue=http://
> > bulkload.latest.myprogram.appspot.com/_ah/login%3Fcontinue%3Dhttp://
> > bulkload.latest.myprogram.appspot.com/
> > remote_api > "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.6 (KHTML,
> > like Gecko) Chrome/4.0.266.0 Safari/532.6,gzip(gfe)"
>
> > How can I check if my admin account on mydomain.com is really an admin
> > forhttp://bulkload.latest.myprogram.appspot.com/remote_api?
> > I checked it by logging inhttps://www.google.com/a/cpanel/kavancha.com/Users
> > and see that "admin" is an "Administrator" as stated in "Status"
> > column next to "Username" column. Am I right?
>
> > Thanks for your help.
> > Now what should I do next?
>
> > On Dec 24, 4:54 am, Matthew Blain  wrote:
>
> > > (Note that the log in page is only needed to test interactive login.)
>
> > > On Dec 23, 6:53 pm, Matthew Blain  wrote:
>
> > > > You need to log in to the application, not just the Google control
> > > > panel--do you have a login page you can visit 
> > > > onhttp://remote.latest.myprogram.appspot.com/remote_api?
> > > > What do the logs look like in the admin console for your app?
>
> > > > On Dec 19, 2:36 am, lembas  wrote:
>
> > > > > First I visithttps://www.google.com/a/cpanel/mydomain.com
> > > > > then login as ad...@mydomain.com
> > > > > and then I 
> > > > > visithttp://remote.latest.myprogram.appspot.com/remote_api, which has
> > > > > remoteapi definition in web.xml as stated 
> > > > > inhttp://groups.google.com/group/google-appengine-java/browse_thread/th...,
> > > > > it says
> > > > > Error: Forbidden
> > > > > Your client does not have permission to get URL /remote_api from this
> > > > > server.
>
> > > > > but if i visithttp://myprogram.appspot.com/remote_api, which is the
> > > > > current version without any remoteapi definition in web.xml, it says
> > > > > Error: Not Found
> > > > > The requested URL /remote_api was not found on this server.
>
> > > > > what should I do now?
>
> > > > > On Dec 19, 2:24 am, Matthew Blain  wrote:
>
> > > > > > 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

[appengine-java] Re: bulk download error 403

2010-02-23 Thread lembas
Thank you. I have managed to add myself as developer. I am now
downloading all the data.

On Feb 23, 9:29 am, lembas  wrote:
> Matthew I think I am close but...
>
> I logged in tohttps://appengine.google.com/permissions?&app_id=myprogram
> My gmail address is developer on this account.
> Now I want to add m...@mydomain.com as a developer.
>
> I add m...@mydomain.com to the developers list. It says it sent a mail
> to confirm to m...@mydomain.com and its status is pending.
> I logged into may mail on m...@mydomain.com and click on the link to
> confirm but it asks my phone number and want me to create new app.
>
> How can I add m...@mydomain.com as a developer?
>
> On Feb 17, 1:04 am, Matthew Blain  wrote:
>
> > The Google Apps control panel does not affect who is a admin on  a
> > particular app engine application. That's controlled by the App Engine
> > admin console, e.g.http://appengine.google.com/permissions?&app_id=myprogram
> > . For remote_api to work you also need the admin to match the
> > authentication option of the application, e.g. whatever it says 
> > onhttp://appengine.google.com/domain?&app_id=myprogramfor
> > "Authentication Options". If it says "anyone with a valid Google
> > Account" then you need to use a non-Google Apps account for the admin
> > with remote API. This is often simplest to do with a Gmail account. If
> > it says "anyone with a valid *yourdomain* Google Apps domain", then
> > only admins on the Permissions page with Google Apps account in that
> > domain will work.
>
> > Hopefully this clarifies things--it's confusing because there are so
> > many different places to check.
>
> > --Matthew
>
> > On Dec 24 2009, 1:48 am, lembas  wrote:
>
> > > First of all, sorry for writing "remote" instead of "bulkload" in my
> > > last 2 posts.
> > > There is no "remote" version. The only version is "bulkload".
> > > I created it with Python like I said in my first post in this thread.
>
> > > I logged out my gmail.com account and mydomain.com account in my
> > > browser.
> > > Then I visithttp://bulkload.latest.myprogram.appspot.com/remote_api.
> > > There comes a login page of mydomain.com.
> > > When I login with my admin account on mydomain.com, it says
> > > Error: Forbidden
> > > Your client does not have permission to get URL /remote_api from this
> > > server.
>
> > > I do not use GAE UserService anywhere in my code.
> > > I do not have any  in my web.xml.
>
> > > I looked at the logs as you said. I have the following in my request-
> > > only-filtered log:
> > > 12-24 01:33AM 02.761 /remote_api 403 36ms 0cpu_ms 0kb Mozilla/5.0
> > > (X11; U; Linux i686; en-US) AppleWebKit/532.6 (KHTML, like Gecko)
> > > Chrome/4.0.266.0 Safari/532.6,gzip(gfe)
> > > See details
> > > 193.xxx.yyy.zzz - myid [24/Dec/2009:01:33:02 -0800] "GET /remote_api
> > > HTTP/1.1" 403 0 "https://www.google.com/a/mydomain.com/ServiceLogin?
> > > service=ah&passive=true&continue=http://
> > > bulkload.latest.myprogram.appspot.com/_ah/login%3Fcontinue%3Dhttp://
> > > bulkload.latest.myprogram.appspot.com/
> > > remote_api > > "Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.6 (KHTML,
> > > like Gecko) Chrome/4.0.266.0 Safari/532.6,gzip(gfe)"
>
> > > How can I check if my admin account on mydomain.com is really an admin
> > > forhttp://bulkload.latest.myprogram.appspot.com/remote_api?
> > > I checked it by logging 
> > > inhttps://www.google.com/a/cpanel/kavancha.com/Users
> > > and see that "admin" is an "Administrator" as stated in "Status"
> > > column next to "Username" column. Am I right?
>
> > > Thanks for your help.
> > > Now what should I do next?
>
> > > On Dec 24, 4:54 am, Matthew Blain  wrote:
>
> > > > (Note that the log in page is only needed to test interactive login.)
>
> > > > On Dec 23, 6:53 pm, Matthew Blain  wrote:
>
> > > > > You need to log in to the application, not just the Google control
> > > > > panel--do you have a login page you can visit 
> > > > > onhttp://remote.latest.myprogram.appspot.com/remote_api?
> > > > > What do the logs look like in the admin console for your app?
>
> > > > > On Dec 19, 2:36 am, lembas  wrote:
>
> > > > > > First I visithttps://www.google.com/a/cpanel/mydomain.com
> > > > > > then login as ad...@mydomain.com
> > > > > > and then I 
> > > > > > visithttp://remote.latest.myprogram.appspot.com/remote_api, which 
> > > > > > has
> > > > > > remoteapi definition in web.xml as stated 
> > > > > > inhttp://groups.google.com/group/google-appengine-java/browse_thread/th...,
> > > > > > it says
> > > > > > Error: Forbidden
> > > > > > Your client does not have permission to get URL /remote_api from 
> > > > > > this
> > > > > > server.
>
> > > > > > but if i visithttp://myprogram.appspot.com/remote_api, which is the
> > > > > > current version without any remoteapi definition in web.xml, it says
> > > > > > Error: Not Found
> > > > > > The requested URL /remote_api was not found on this server.
>
>