[google-appengine] app_identity_service

2012-04-10 Thread KT
Today app_identity_service always give DeadlineExceededError. I don't
change anything. It used to working well.



The API call app_identity_service.GetAccessToken() took too long to
respond and was cancelled.
Traceback (most recent call last):
  File "/base/python27_runtime/python27_lib/versions/third_party/
webapp2-2.3/webapp2.py", line 1511, in __call__
rv = self.handle_exception(request, response, e)
  File "/base/python27_runtime/python27_lib/versions/third_party/
webapp2-2.3/webapp2.py", line 1505, in __call__
rv = self.router.dispatch(request, response)
  File "/base/python27_runtime/python27_lib/versions/third_party/
webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
return route.handler_adapter(request, response)
  File "/base/python27_runtime/python27_lib/versions/third_party/
webapp2-2.3/webapp2.py", line 1077, in __call__
return handler.dispatch()
  File "/base/python27_runtime/python27_lib/versions/third_party/
webapp2-2.3/webapp2.py", line 547, in dispatch
return self.handle_exception(e, self.app.debug)
  File "/base/python27_runtime/python27_lib/versions/third_party/
webapp2-2.3/webapp2.py", line 545, in dispatch
return method(*args, **kwargs)
  File "/base/data/home/apps/s~mcmf-test2/p5.357919493843568405/
proxy_handler.py", line 80, in get
self.do_request(uri, 'GET')
  File "/base/data/home/apps/s~mcmf-test2/p5.357919493843568405/
proxy_handler.py", line 43, in do_request
authorization_token, _ = app_identity.get_access_token(scope)
  File "/base/python27_runtime/python27_lib/versions/1/google/
appengine/api/app_identity/app_identity.py", line 463, in
get_access_token
access_token, expires_at = get_access_token_uncached(scopes)
  File "/base/python27_runtime/python27_lib/versions/1/google/
appengine/api/app_identity/app_identity.py", line 438, in
get_access_token_uncached
return rpc.get_result()
  File "/base/python27_runtime/python27_lib/versions/1/google/
appengine/api/apiproxy_stub_map.py", line 592, in get_result
return self.__get_result_hook(self)
  File "/base/python27_runtime/python27_lib/versions/1/google/
appengine/api/app_identity/app_identity.py", line 412, in
get_access_token_result
rpc.check_success()
  File "/base/python27_runtime/python27_lib/versions/1/google/
appengine/api/apiproxy_stub_map.py", line 558, in check_success
self.__rpc.CheckSuccess()
  File "/base/python27_runtime/python27_lib/versions/1/google/
appengine/api/apiproxy_rpc.py", line 133, in CheckSuccess
raise self.exception
DeadlineExceededError: The API call
app_identity_service.GetAccessToken() took too long to respond and was
cancelled.

-- 
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.



[google-appengine] Re: app_identity_service

2012-04-12 Thread KT
I update the app to another apps pot and it is working perfectly.
After using long, it again give very similar error on next day. So I
use previous app, and it is working perfectly.

There must be some limit on using app_identity_service on free quota.

I am just using app_identity_service for updating our Google Sites.

KT


On Apr 10, 9:40 am, KT  wrote:
> Today app_identity_service always give DeadlineExceededError. I don't
> change anything. It used to working well.
>
> The API call app_identity_service.GetAccessToken() took too long to
> respond and was cancelled.
> Traceback (most recent call last):
>   File "/base/python27_runtime/python27_lib/versions/third_party/
> webapp2-2.3/webapp2.py", line 1511, in __call__
>     rv = self.handle_exception(request, response, e)
>   File "/base/python27_runtime/python27_lib/versions/third_party/
> webapp2-2.3/webapp2.py", line 1505, in __call__
>     rv = self.router.dispatch(request, response)
>   File "/base/python27_runtime/python27_lib/versions/third_party/
> webapp2-2.3/webapp2.py", line 1253, in default_dispatcher
>     return route.handler_adapter(request, response)
>   File "/base/python27_runtime/python27_lib/versions/third_party/
> webapp2-2.3/webapp2.py", line 1077, in __call__
>     return handler.dispatch()
>   File "/base/python27_runtime/python27_lib/versions/third_party/
> webapp2-2.3/webapp2.py", line 547, in dispatch
>     return self.handle_exception(e, self.app.debug)
>   File "/base/python27_runtime/python27_lib/versions/third_party/
> webapp2-2.3/webapp2.py", line 545, in dispatch
>     return method(*args, **kwargs)
>   File "/base/data/home/apps/s~mcmf-test2/p5.357919493843568405/
> proxy_handler.py", line 80, in get
>     self.do_request(uri, 'GET')
>   File "/base/data/home/apps/s~mcmf-test2/p5.357919493843568405/
> proxy_handler.py", line 43, in do_request
>     authorization_token, _ = app_identity.get_access_token(scope)
>   File "/base/python27_runtime/python27_lib/versions/1/google/
> appengine/api/app_identity/app_identity.py", line 463, in
> get_access_token
>     access_token, expires_at = get_access_token_uncached(scopes)
>   File "/base/python27_runtime/python27_lib/versions/1/google/
> appengine/api/app_identity/app_identity.py", line 438, in
> get_access_token_uncached
>     return rpc.get_result()
>   File "/base/python27_runtime/python27_lib/versions/1/google/
> appengine/api/apiproxy_stub_map.py", line 592, in get_result
>     return self.__get_result_hook(self)
>   File "/base/python27_runtime/python27_lib/versions/1/google/
> appengine/api/app_identity/app_identity.py", line 412, in
> get_access_token_result
>     rpc.check_success()
>   File "/base/python27_runtime/python27_lib/versions/1/google/
> appengine/api/apiproxy_stub_map.py", line 558, in check_success
>     self.__rpc.CheckSuccess()
>   File "/base/python27_runtime/python27_lib/versions/1/google/
> appengine/api/apiproxy_rpc.py", line 133, in CheckSuccess
>     raise self.exception
> DeadlineExceededError: The API call
> app_identity_service.GetAccessToken() took too long to respond and was
> cancelled.

-- 
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.



[google-appengine] Re: Mysterious problem with ajax get call only on GAE (maybe GAE/jquery bug ?)

2012-05-28 Thread KT
http://kiedynaurlop-konrad.appspot.com/ad/ is 404, i don't see any
problem. Have you setup app.yaml properly?

-- 
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.



[google-appengine] Optimized with ProGuard

2012-06-02 Thread KT
On cold start, my GAE/J may crash on Oauth2 URL fetch process due to
com.google.api.client.auth.oauth2.TokenResponseException: 500.
(ms=6558 cpu_ms=163). Since ms > 6000, scheduler terminate my process.
It is always will be fine, I request the same request again. So my
thinking is there are too many jar files that take long time to load.
Will it be help if I use ProGuard to optimized my code? Is anybody
successful with ProGuard on GAE?

-- 
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.



[google-appengine] Re: Java instance startup time out of control

2012-06-18 Thread KT
Hi Jeff,

How about optimizing with ProGuard (http://proguard.sourceforge.net/
index.htm). It preform death code elimination and repackage to single
jar file.

KT

On Jun 17, 5:56 am, Jeff Schnitzer  wrote:
> We're having a big problem with instance startup time.  It varies
> between 20s and 60+ seconds, and lately it's tending towards the high
> end.  We're starting to experience downtime because instances get
> deadlined before they go active.
>
> This app is well optimized for GAE.  There's no classpath scanning and
> it doesn't try to eagerly load data.  On a good day it starts in
> 20s... so at this point there's not really much I can do.
>
> I have a cron task that performs a db cleanup once a minute, and since
> crons can run over 60s I can eventually get one instance started,
> which is enough to serve traffic at the moment.  But at this point I
> can no longer deploy code over old versions because the appserver
> restart will fail.
>
> Please help.
>
> Jeff

-- 
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.



[google-appengine] where can i buy SNI SSL certificate?

2012-08-02 Thread KT
where can i buy SNI certificate?

-- 
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/-/yJpN3n1zkzwJ.
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.