[google-appengine] How to pull out my files back from the server?

2009-08-17 Thread Andrey

Hello.

I uploaded my app's files to the server and want to change the latest
version from another computer. Can I get them back from the server or
should I deliver them to another computer different way? I didn't find
such option in the administrator's console?

Thanks,
Andrey

--~--~-~--~~~---~--~~
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] Storing data from Excel files to db

2010-12-14 Thread Andrey
Hi all!

I have MS Excel file with data and I want to store data from this file
to db. Is there any easy way to do this?

Andrey

-- 
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-appeng...@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] Datastore Indexes still in building state

2011-07-01 Thread Andrey Nikitin
i created an app "acftws".
datastore indexes are still in building state but datastore is empty.
can it be a little faster or should i vacuum them and deploy one more
time?

-- 
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] Endpoints always return an object

2014-01-24 Thread Andrey Rychkov
Hi,

Why does my code return an object?

public List test()
{
  return Arrays.asList("one, "two", "three");
}

{
 "items": [
  "One",
  "Two",
  "Three"
 ]
}

I expect to receive the array ["one", "two", "three"]. 
Is it possible?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] endpoints always return an object

2014-01-24 Thread Andrey Rychkov
Hi,

I expected to receive the json array ["One", "Two", "Three"], but the 
endpoint returns the object
{
  "items": ["One", "Two", "Three"]
}

public List test()
{
  return Arrays.asList("One", "Two", "Three");
}

Is it possible to generate an array (or a collection) ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Endpoints always return an object

2014-01-27 Thread Andrey Rychkov
You are right!

I rewrote the code

public String[] test()
{
return new String[] {"a", "b", "c"};
}

but the endpoint still returns the object

{
  "items": [
"a",
"b",
"c"
  ]
}

I get this result in Google APIs Explorer.

On Saturday, January 25, 2014 7:50:03 AM UTC+4, Vinny P wrote:
>
> On Fri, Jan 17, 2014 at 9:23 AM, Andrey Rychkov 
> 
> > wrote:
>
>> Why does my code return an object?
>>
>> public List test()
>> {  return Arrays.asList("one, "two", "three"); }
>>
>> {  "items": [   "One",   "Two",   "Three"  ] }
>>
>> I expect to receive the array ["one", "two", "three"]. 
>> Is it possible?
>>
>  
>
>
> Arrays.asList returns an object implementing the interface List, so 
> what you're seeing is the correct behavior.
>
> Are you receiving this object text in the endpoint client, or somewhere 
> within the server code?
>  
>  
> -
> -Vinny P
> Technology & Media Advisor
> Chicago, IL
>
> App Engine Code Samples: http://www.learntogoogleit.com
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Permissions for taskqueue patch/update REST queries

2014-07-08 Thread Andrey Kuznetsov
Hi,

When looking for a way to extend task lease (or return task before lease 
expiry) from pull-queue using REST queries outside of GAE app, I found that 
`update` and `patch` requests needs some additional privileges besides 
those that are described at documentation.

Short descriptions at 
https://developers.google.com/appengine/docs/python/taskqueue/rest/ says, 
that `update` is for "Update the duration of a task lease",  and `patch` is 
for "Update tasks that are leased out of a TaskQueue". Both methods have 
`newLeaseSeconds` parameter, but `update` needs full task resource in body, 
so `patch` is preferred for updating lease time. Description for both 
methods says that `https://www.googleapis.com/auth/taskqueue` or `t
askqueue.consumer` scope may be used to authorize the request (and don't 
says that user should be in `write_email` or `user_email` ACL), but when I 
try to perform `patch` or `update` call, I got 403 response with "you are 
not allowed to make this api call" description. (At the same time I can 
execute `lease` and `delete` without any errors).

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Cloud Endpoints enable CORS

2014-10-23 Thread Andrey Rychkov


Hi,


How can i enable CORS for google endpoints (/_ah/api) ? I made a filter, it 
adds "Access-Control-*" headers. The filter works for all requests except 
google endpoints urls. It seems there are some setting to enable CORS, but I 
can't find this.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Caching a Cloud Endpoint response

2017-06-15 Thread Andrey Rychkov
Hi,

Could you give me any signs if there is any methods to set caching time of 
endpoints responses? I have several endpoints that return a huge list of 
objects (~1MB) and I need to cache them someway. I tried to cache data in 
memcache, but it didn't help much. 
Am I right that the only method is to create a servlet to set caching 
headers and manually convert data to json ? 
Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a4c5befa-dbbb-4c8c-b59c-e27a7069753d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] GAE local debugging of Spring application

2018-02-27 Thread Andrey Hudyakov

Hi everyone,

I've developed a web application based on Spring Framework 4 and local 
debugging had worked fine on Java 7 but after migrated to Java 8 I've got 
an exception on startup

SEVERE: Context initialization failed
java.lang.NoClassDefFoundError: java.lang.reflect.Parameter is a restricted 
class. Please see the Google  App Engine developer's guide for more details.
at 
com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:50)
at 
org.springframework.core.StandardReflectionParameterNameDiscoverer.getParameterNames(StandardReflectionParameterNameDiscoverer.java:56)
at 
org.springframework.core.PrioritizedParameterNameDiscoverer.getParameterNames(PrioritizedParameterNameDiscoverer.java:65)
at 
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:182)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
at 
org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:120)
at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:674)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)
at 
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at 
org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:843)
at 
org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
at 
org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)
at 
org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
at 
org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1406)
at 
org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1368)
at 
org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
at 
org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
at 
org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:522)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
at org.eclipse.jetty.server.Server.start(Server.java:422)
at 
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
at 
org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:389)
at 
org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at 
com.google.appengine.tools.development.jetty9.JettyConta

[google-appengine] Re: GAE local debugging of Spring application

2018-03-01 Thread Andrey Hudyakov
Hello, Yannick!

Yes, I use maven. Updated to the latest version of Spring Framework 4 and 
still getting the same error. I forgot to say that this application works 
fine in Google Cloud after deploy. The problem is reproducing only when 
starting app in local debug mode. I use Google App Engine SDK 1.9.60.
Thank you for help!

вторник, 27 февраля 2018 г., 23:53:53 UTC+5 пользователь Yannick (Cloud 
Platform Support) написал:
>
> Hello, are you developing using Maven? If so, could you please try to 
> update it to the latest release? Doing so has resolved this issue for 
> others.
>
> On Tuesday, February 27, 2018 at 9:02:02 AM UTC-5, Andrey Hudyakov wrote:
>>
>>
>> Hi everyone,
>>
>> I've developed a web application based on Spring Framework 4 and local 
>> debugging had worked fine on Java 7 but after migrated to Java 8 I've got 
>> an exception on startup
>>
>> SEVERE: Context initialization failed
>> java.lang.NoClassDefFoundError: java.lang.reflect.Parameter is a 
>> restricted class. Please see the Google  App Engine developer's guide for 
>> more details.
>> at 
>> com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:50)
>> at 
>> org.springframework.core.StandardReflectionParameterNameDiscoverer.getParameterNames(StandardReflectionParameterNameDiscoverer.java:56)
>> at 
>> org.springframework.core.PrioritizedParameterNameDiscoverer.getParameterNames(PrioritizedParameterNameDiscoverer.java:65)
>> at 
>> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:182)
>> at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
>> at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
>> at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
>> at 
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
>> at 
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
>> at 
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>> at 
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
>> at 
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
>> at 
>> org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:120)
>> at 
>> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:674)
>> at 
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)
>> at 
>> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
>> at 
>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
>> at 
>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
>> at 
>> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:843)
>> at 
>> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
>> at 
>> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)
>> at 
>> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
>> at 
>> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1406)
>> at 
>> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1368)
>> at 
>> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
>> at 
>> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandle

[google-appengine] Re: GAE local debugging of Spring application

2018-03-05 Thread Andrey Hudyakov
Updating Maven and Java 8 to the latest versions didn't help also. Still 
getting the same error.

четверг, 1 марта 2018 г., 21:16:41 UTC+5 пользователь Yannick (Cloud 
Platform Support) написал:
>
> Hello Andrey, to clarify I meant that Maven itself should be updated.
>
> On Thursday, March 1, 2018 at 4:19:06 AM UTC-5, Andrey Hudyakov wrote:
>>
>> Hello, Yannick!
>>
>> Yes, I use maven. Updated to the latest version of Spring Framework 4 and 
>> still getting the same error. I forgot to say that this application works 
>> fine in Google Cloud after deploy. The problem is reproducing only when 
>> starting app in local debug mode. I use Google App Engine SDK 1.9.60.
>> Thank you for help!
>>
>> вторник, 27 февраля 2018 г., 23:53:53 UTC+5 пользователь Yannick (Cloud 
>> Platform Support) написал:
>>>
>>> Hello, are you developing using Maven? If so, could you please try to 
>>> update it to the latest release? Doing so has resolved this issue for 
>>> others.
>>>
>>> On Tuesday, February 27, 2018 at 9:02:02 AM UTC-5, Andrey Hudyakov wrote:
>>>>
>>>>
>>>> Hi everyone,
>>>>
>>>> I've developed a web application based on Spring Framework 4 and local 
>>>> debugging had worked fine on Java 7 but after migrated to Java 8 I've got 
>>>> an exception on startup
>>>>
>>>> SEVERE: Context initialization failed
>>>> java.lang.NoClassDefFoundError: java.lang.reflect.Parameter is a 
>>>> restricted class. Please see the Google  App Engine developer's guide for 
>>>> more details.
>>>> at 
>>>> com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:50)
>>>> at 
>>>> org.springframework.core.StandardReflectionParameterNameDiscoverer.getParameterNames(StandardReflectionParameterNameDiscoverer.java:56)
>>>> at 
>>>> org.springframework.core.PrioritizedParameterNameDiscoverer.getParameterNames(PrioritizedParameterNameDiscoverer.java:65)
>>>> at 
>>>> org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:182)
>>>> at 
>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
>>>> at 
>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
>>>> at 
>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
>>>> at 
>>>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
>>>> at 
>>>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305)
>>>> at 
>>>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
>>>> at 
>>>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301)
>>>> at 
>>>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201)
>>>> at 
>>>> org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:120)
>>>> at 
>>>> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:674)
>>>> at 
>>>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:519)
>>>> at 
>>>> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446)
>>>> at 
>>>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328)
>>>> at 
>>>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
>>>> at 
>>>> org.eclipse.jetty.server.handler.Conte

[google-appengine] Unstable latency inside of the Google infrasturcture during execution requests to Google AppEngine Standard

2021-04-28 Thread Andrey Hudyakov
Hello,

I faced strange latencies during execution HTTP requests to a Java (Spring 
Web) application which is deployed on Google AppEngine Standard.

For testing purposes, I've used
- VM in GCP and located in *us-central1* region to make client requests
- Java Web App in Google AppEngine Standard and deployed in *us-east1* 
region

Made exactly the same GET request to my application multiple times from VM 
in GCP. Below you can see a couple of request details

*Attempt #1*

*curl output*
time_namelookup: 0.004209
time_connect: 0.005623
time_appconnect: 0.01674
time_pretransfer: 0.016828
time_starttransfer: 0.246101
size_request: 280

time_total: 0.24617


*Google AppEngine Wallclock time*
Total clock time in milliseconds spent by App Engine on the request. This 
time duration does not include time spent between the client and the server 
running the instance of your application (According to 
https://cloud.google.com/appengine/docs/standard/java/logs)

37ms

So I expect that latency on Google network can be calculated as
time_starttransfer - time_appconnect - warclock_time

Try to explan this formula: we subtract time to connect to Google Frontend 
Server and time of processing requst by GAE infrastructure from time to 
receive the first byte of a response

And we can see that we lost 192.361ms in Google Network

*Attempt #2*

*curl output*
time_namelookup: 0.012408
time_connect: 0.014181
time_appconnect: 0.024485
time_pretransfer: 0.024586
time_starttransfer: 0.107834
size_request: 280

time_total: 0.107901

*Google AppEngine Wallclock time*
Total clock time in milliseconds spent by App Engine on the request. This 
time duration does not include time spent between the client and the server 
running the instance of your application (According to 
https://cloud.google.com/appengine/docs/standard/java/logs)

46ms

Now we lost only 37.349ms in Google Network


The difference between ~192ms and ~37ms makes me confused a bit.

Could you please help me to understand this issue and may be suggest what I 
can do with it to make this latency low?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/90da98b2-929b-4a58-ab44-8f937e473a8dn%40googlegroups.com.


[google-appengine] AppEngine Standard - Connection reset by peer

2021-06-18 Thread Andrey Hudyakov
Hello all,

I have a spring web java application on Google App Enginge Standard (Java8) 
and I'm getting on a client side errors "Connection reset by peer" 
frequently.
I don't see potential problems in Google Logging which can cause this error.
Has anybody met such problem or can suggest what I can look at to find the 
root cause?
I'll be glad to hear any idea :)

Thanks,
Andrey.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/478226b1-55bb-4f8e-96b6-9f1825a260efn%40googlegroups.com.


[google-appengine] Re: AppEngine Standard - Connection reset by peer

2021-06-18 Thread Andrey Hudyakov
Update: I see that this problem has started appear since June 1 2021 when 
accessing to my app on different Google Projects.

пятница, 18 июня 2021 г. в 21:46:34 UTC+5, Andrey Hudyakov: 

> Hello all,
>
> I have a spring web java application on Google App Enginge Standard 
> (Java8) and I'm getting on a client side errors "Connection reset by peer" 
> frequently.
> I don't see potential problems in Google Logging which can cause this 
> error.
> Has anybody met such problem or can suggest what I can look at to find the 
> root cause?
> I'll be glad to hear any idea :)
>
> Thanks,
> Andrey.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9bde8bf3-bdf0-4064-b6dc-dd57ba0cdb22n%40googlegroups.com.


[google-appengine] Incoming mail for custom domain?

2009-10-22 Thread Andrey Petrov

Hi, I <3 the new incoming mail feature for appengine, but how can I
use it for my custom domain?

I presume I'd need to set my MX records to something... I tried
setting them to the default Google Apps GMail ones
(aspmx.l.google.com,alt1.aspmx.l.google.com, etc.) but when I send
mail whate...@mydomain.com it gets bounced:

550 550-5.1.1 The email account that you tried to reach does not
exist.

Instead of it being handled by the appengine app that I deployed on
the domain.

Does the same naked domain problem exist for emails too? Do I have to
send emails to whate...@www.mydomain.com? It seems when I do that,
emails just disappear into oblivion. Neither bounced nor handled by
the app.

Thanks in advance,

Andrey

--~--~-~--~~~---~--~~
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: Incoming mail for custom domain?

2009-10-22 Thread Andrey Petrov

You're correct, I just noticed this in the docs today:

http://code.google.com/appengine/docs/python/mail/overview.html#Receiving_Mail

> Note that even if your app is deployed on a custom domain, your app can't 
> receive email sent to addresses on that domain.

Your workaround does indeed work, though it is not ideal. I hope this
gets fixed someday (though preferably not before the naked domain
issue).

Thanks!

- Andrey

On Oct 22, 10:40 am, Wooble  wrote:
> I'm pretty sure this is unsupported.
>
> The workaround would be to use set up the account in Google Apps, log
> in to Gmail, and forward messages to your appspot email address.
>
> On Oct 22, 1:34 am, Andrey Petrov  wrote:
>
> > Hi, I <3 the new incoming mail feature for appengine, but how can I
> > use it for my custom domain?
>
> > I presume I'd need to set my MX records to something... I tried
> > setting them to the default Google Apps GMail ones
> > (aspmx.l.google.com,    alt1.aspmx.l.google.com, etc.) but when I send
> > mail whate...@mydomain.com it gets bounced:
>
> > 550 550-5.1.1 The email account that you tried to reach does not
> > exist.
>
> > Instead of it being handled by the appengine app that I deployed on
> > the domain.
>
> > Does the same naked domain problem exist for emails too? Do I have to
> > send emails to whate...@www.mydomain.com?itseems when I do that,
> > emails just disappear into oblivion. Neither bounced nor handled by
> > the app.
>
> > Thanks in advance,
>
> > Andrey
>
>
--~--~-~--~~~---~--~~
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: Custom domain for incoming email

2009-11-09 Thread Andrey Petrov

Forward all emails to one address (catchall), and in appengine just
read the TO field, which will have the correct address it was sent to
(even though it was redirected to a different address initially).

On Nov 9, 1:37 pm, Devon  wrote:
> I need to be able to receive any email sent to my domain with my
> google app engine app.  For example I need to be able to forward email
> from exam...@mydomain.com to exam...@appid.appspotmail.com, as well as
> t...@mydomain.com to t...@appid.appspotmail.com, etc.  I can set up a
> "catch-all" address in Google Apps, and forward mail, but the address
> to forward to is different depending on who it was sent to originally.
>
> Anyone have any idea how to do this?  There must be apps that people
> run on App Engine that are able to do this?
>
> Devon
>
> On Nov 9, 1:23 pm, Wooble  wrote:
>
> > Receiving email at non-appspotmail domains isn't supported; you'll
> > need to set up forwarding from an email server.  If you just want to
> > forward a limited number of addresses, it's probably easiest to set
> > them up as accounts in Google Apps, log in to Gmail and forward
> > messages to whatever appspotmail.com address you want to use.
>
> > Setting up MX records won't help; this just tells other sites' mailers
> > to send the messages to appspotmail's server, where it would have no
> > idea what to do with them.
>
> > On Nov 8, 11:36 pm, Devon  wrote:
>
> > > Hello. I have set up a custom domain for my application with Google
> > > Apps. My application uses the incoming mail service to receive mail.
> > > I would like to receive mail from my domain rather than from
> > > appspotmail.com.  For example, I would like my users to be able to
> > > send email to exam...@mydomain.com rather than
> > > exam...@appid.appspotmail.com.
>
> > > Is this possible? Do I need to change MX records for my domain?
>
> > > Thanks for the help!
> > > Devon
--~--~-~--~~~---~--~~
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: AppWrench 1.0 released: App Engine Profiler, Data Store Viewer and more

2009-12-16 Thread Andrey Tarantsov
Erem and all App Engine developers,

We want to thank everyone who's already using AppWrench. According to
our update checker logs, there were 20 runs of Eclipse with our
plugin, though unfortunately noone has tried it with production
servers yet.

We are offering a free license to everyone who tries AppWrench, posts
his/her experience on a blog (in any language) and sends a link to
andrey...@onpositive.com.

Regarding the coolness, AppWrench represents a few months of hard
work, but might lack some UI polish at the moment; we felt that
gathering feedback from real users earlier was more important. We
totally expect the community to suggest a direction/focus that we have
never anticipated. We are also working on a Python version of
AppWrench (note that the Data Store viewer can be made to work with
Python currently by deploying its servlet into an unused version of
your app).

Design stuff: Quite frankly I've designed the site myself, and as you
can see I'm as far from being a web designer as one can possibly get.
Hiring a real designer is certainly on our minds. If you think that
some areas are particularly unbearably terrible, please point us there
and we'll do our best to fix it right away.

Cheers!

Andrey,
AppWrench development team.

--

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-appeng...@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] GAE tools poll

2009-12-17 Thread Andrey Tarantsov
Hello, App Engine developers!

Two quick poll-style questions for you (interested in replies from
both Java and Python developers):

1) IDEs / editors: Are you Java guys using Eclipse or IDEA or
something else? Are you Python guys using PyDev, another IDE, Vim/
Emacs or a regular text editor?

2) If you could pick a single tool to be developed to help you write
App Engine apps, what would it be?

Your answers would provide a very interesting insight into our
community, and would also greatly help us at OnPositive to build more
App Engine tools as well as extend our AppWrench with more interesting
features.

If enough people reply, we'll sum up and post the results here after a
while.

Andrey.

--

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-appeng...@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: zipimport and no-end-of-line character at the end of python module

2008-12-17 Thread Andrey Lebedev
On Wed, Dec 17, 2008 at 11:12 PM, Andrey Lebedev
 wrote:
> I have found a difference in compiling python files inside zip archive
> between regular python' zipimport and GAE version: GAE zipimport
> feature fails to compile python module if it has no end-of-line (0x0A)
> character at the end of the .py file.  Testcase application is
> attached.

Here is the promised attachment.


-- 
Andrey Lebedev
Software engineer

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



zipimporttest.tar.gz
Description: GNU Zip compressed data


[google-appengine] zipimport and no-end-of-line character at the end of python module

2008-12-17 Thread Andrey Lebedev

I have found a difference in compiling python files inside zip archive
between regular python' zipimport and GAE version: GAE zipimport
feature fails to compile python module if it has no end-of-line (0x0A)
character at the end of the .py file.  Testcase application is
attached.

Importing such from zip archive module gives the following exception:

: unindent does not match any
outer indentation level (noeol.py, line 5)
Traceback (most recent call last):
  File 
"/base/data/home/apps/kedder-experiments/1-alpha.330054091195923889/start.py",
line 4, in 
from zipimporttest import noeol as eoltest
  File "/base/python_dist/lib/python2.5/py_zipimport.py", line 230, in
load_module
code = compile(source, fullpath, 'exec')

Note, that the same file, but with EOL at the end gets imported fine.
Both file version are imported from unzipped package file as well.

This behaviour makes impossible to bundle app with .egg versions of
some modules (like mako for example): they work well locally, but
stops working when deployed on GAE.

-- 
Andrey Lebedev
Software engineer

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