[google-appengine] Weird scheduler behavior (again)
Could someone from Google explain why a new dynamic instance was started though an existing one was still alive a served only 1 request for the last 15 minutes ? https://lh5.googleusercontent.com/-jKN7PFnKKSE/UP51xcWhoOI/0FA/keeSdM_yyDM/s1600/Instances+-+VinoCities+-+Google+Chrome.jpg Really looks like a waste of resources (and money). Thanx for your answer. François -- 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/-/wZs7GyY8z1sJ. 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: Security for Web service deployed over GAE
Please do reply On Tuesday, 8 January 2013 12:06:57 UTC+5:30, Gaurav Bansal wrote: Hi I have created a REST service and deployed over cloud using GAE. I don't want it to be accessed by any one just by using the URL. I should have some control over there to provide the authentication, may be along with the request. I explored and got some OAuth related tutorials, but could not understand properly. Please help me regarding this. Thanks in advance. -- 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/-/GI-iAZBOa_sJ. 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: Anyone interested in Java AppEngine Example Code?
Hi I have created a REST service and deployed over cloud using GAE. I don't want it to be accessed by any one just by using the URL. I should have some control over there to provide the authentication, may be along with the request. I explored and got some OAuth related tutorials, but could not understand properly. Please help me regarding this. Thanks in advance. On Saturday, 19 January 2013 02:37:30 UTC+5:30, Vinny P wrote: * * *TLDR: Would people be interested in a repository of example Java AppEngine code? Code that demonstrates frequently-done tasks (connecting to Twitter/Youtube, basic usage of Task Queue/Images/GAE APIs, etc) and miscellaneous useful tools?* * * On occasion, I see people post on this group or Stack Overflow asking for help on simple code problems; for instance, they need help configuring backends, or a code example of how to use task queues, or even just a short example of how to access and search the datastore. Would people be interested if I put up some sample code on Github/Google code, demonstrating how to use GAE APIs? Essentially, I'll be writing code that tries to be newbie-friendly. I'll try to stick to using low-level APIs, and adding in plenty of comments. Obviously, seasoned veterans of this list wouldn't benefit from this; it would just be for Java newbies on GAE. I wrote up a quick example application to demonstrate: it's a Twitter robot located at https://twitter.com/invalidmail It's a simple robot; if you follow it (important!) and tweet at it, it'll reply back with a direct message (not a tweet, but direct message) stating your tweet's ID in a few minutes. If you attach an image to the tweet, the robot will reply back with the image's dimensions. However, this simple robot uses many GAE APIs: Task Queue and cron to schedule Twitter communications, ImageService and Blobstore to analyze and store a copy of images, URLFetch to download copies of images, Datastore to remember past tweets, Logging to check for errors, and Email to post reports to admins. Essentially, my question is: would people benefit from this? Are there Java people out there interested in example code? What examples would you like to see? Thanks. -- 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/-/8hxasjNlck8J. 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: Security for Web service deployed over GAE
Hello, Maybe the best solution, if you don't want to complicate your code, is to use CORS, allowing cross-requests only for the domains that you want to allow access to your RESTful API. Take a look at this: http://www.html5rocks.com/en/tutorials/cors/ El martes, 8 de enero de 2013 07:36:57 UTC+1, Gaurav Bansal escribió: Hi I have created a REST service and deployed over cloud using GAE. I don't want it to be accessed by any one just by using the URL. I should have some control over there to provide the authentication, may be along with the request. I explored and got some OAuth related tutorials, but could not understand properly. Please help me regarding this. Thanks in advance. -- 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/-/bqhazWy8jI8J. 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: increased datastore latency
Just following up on my own post ... about 8 to 10 hours after the high latency started for this app, things went back to normal. On Monday, January 21, 2013 5:48:23 PM UTC-6, Jay wrote: I intended to also include the following: app id : galtsgulchonline I only had two instances serving just a bit ago and I terminated them both and let the scheduler start new ones. This had no impact on the latency though. On Monday, January 21, 2013 5:46:40 PM UTC-6, Jay wrote: Anyone else noticing sudden increased datastore latency? We have an app that has been behaving just fine and all of sudden (at least some) datastore queries have this large latency. This is using python2.7 with ndb. I can quickly tell that is the datastore because being logged in/out makes a huge difference. And this difference comes from two additional per user datastore queries. I also turned on appstats. Interestingly, each of these two queries shows as 3 parallel queries of almost the same exact duration. And these latencies are ranging between 5 seconds and 10 seconds on these queries. The status dashboard says all green. -- 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/-/47xs6OeV7twJ. 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: Lots of user-facing loading requests
This is a major issue for us too. Can somebody from google give some official reply to this? or can they at least acknowledge this as a problem. Huseyn Gulilyev On Thursday, 17 January 2013 16:56:42 UTC, Francois Masurel wrote: For my low traffic website I have found that 50 new instances were started during the last 2 hours and 22 minutes (taken from logs searching for new process). Seems quite a lot for me as I already have a resident instance. But what annoys me the most is that, among those 50 loading requests, 20 were user-facing requests (40%) and 5 were cron requests (10%). Is it normal behavior ? Thanx for your help. François -- 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/-/a9bOJRdJFYYJ. 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: Lots of user-facing loading requests
For the record: Now my app is running so smooth on a single instance. No new instances being created. Latency is low. My depression is gone. Now, I am truly gobsmacked. David -- 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/-/56uC9hvnQ78J. 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] endpoint apimethod return type as a dependency
Hi there, I'm using Google Endpoint's @ApiMethod on a method which returns a list of House objects. the House class lives in a jar file (it's part of my common domain and in another project) and has been added as a maven dependency in the pom.xml. Everything compiles but when I try to generate the API file I get something like this: [INFO] --- endpoint-maven-plugin:0.0.2-SNAPSHOT:generate (default) @ gatecontrolweb --- [INFO] Generating api-file for appId gatecontrolweb with classes be.klak.gatecontrolweb.DevicesController interface com.google.api.server.spi.config.Api [ERROR] java.lang.TypeNotPresentException: Type be.klak.gatecontrol.domain.House not present at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:117) at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:125) at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49) at sun.reflect.generics.visitor.Reifier.reifyTypeArguments(Reifier.java:68) at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:138) at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:49) at sun.reflect.generics.repository.MethodRepository.getReturnType(MethodRepository.java:68) at java.lang.reflect.Method.getGenericReturnType(Method.java:244) at com.google.api.server.spi.EndpointMethod.getReturnType(EndpointMethod.java:137) at com.google.api.server.spi.EndpointMethod.create(EndpointMethod.java:160) at com.google.api.server.spi.MethodHierarchyReader.addServiceMethods(MethodHierarchyReader.java:182) at com.google.api.server.spi.MethodHierarchyReader.readMethodHierarchyIfNecessary(MethodHierarchyReader.java:44) at com.google.api.server.spi.MethodHierarchyReader.getEndpointOverrides(MethodHierarchyReader.java:99) at com.google.api.server.spi.config.annotationreader.ApiConfigAnnotationReader.readApiMethods(ApiConfigAnnotationReader.java:184) at com.google.api.server.spi.config.annotationreader.ApiConfigAnnotationReader.readEndpoint(ApiConfigAnnotationReader.java:82) at com.google.api.server.spi.tools.AnnotationApiConfigGenerator.generateForService(AnnotationApiConfigGenerator.java:242) at com.google.api.server.spi.tools.AnnotationApiConfigGenerator.generateConfigObjects(AnnotationApiConfigGenerator.java:227) at com.google.api.server.spi.tools.AnnotationApiConfigGenerator.generateConfig(AnnotationApiConfigGenerator.java:176) at com.mic.endpoint.api.EndpointApiGenerator.generateApiConfigs(EndpointApiGenerator.java:26) at com.mic.endpoint.api.EndpointApiMojo.execute(EndpointApiMojo.java:58) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) When I include the House class within the google app project everything works fine. So is there a possibility to use class files from jars? thanks! -- 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/-/oRyM7xV4uFoJ. 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: All my users are getting Please use https://accounts.google.com/ServiceLogin instead. Infinite loop
Im getting this too, as of this week. It must be Firefox related, because IE can still log in. On Friday, January 18, 2013 3:50:08 PM UTC+1, Matt Sullivan wrote: https://dl.dropbox.com/u/2334191/Screen%20Shot%202013-01-18%20at%209.46.09%20AM.png I have an app that has been stable and running for some time and starting sometime at about 12am EST yesterday all my users started getting a accounts message / infinite loop. I am using the pythons api to generate the login url: from google.appengine.api import users.create_login_url any ideas? -- 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/-/TY-BExVid0cJ. 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] Faild to Change from String to Text to store more characters
I replaced String with Text for one field. And when searching for old data, it came back with below exception. And idea? Based on http://groups.google.com/group/google-appengine/browse_thread/thread/282dc825f9c46684, it should have no problem. stderr: java.lang.ClassCastException: java.lang.String cannot be cast to com.google.appengine.api.datastore.Text at XXX.jdoReplaceField at XXX.jdoReplaceFields at org.datanucleus.state.JDOStateManagerImpl.replaceFields(JDOStateManagerImpl.java:2772) at org.datanucleus.state.JDOStateManagerImpl.replaceFields(JDOStateManagerImpl.java:2791) at org.datanucleus.store.appengine.DatastorePersistenceHandler.fetchObject(DatastorePersistenceHandler.java:519) at org.datanucleus.store.appengine.query.DatastoreQuery.entityToPojo(DatastoreQuery.java:649) at org.datanucleus.store.appengine.query.DatastoreQuery.entityToPojo(DatastoreQuery.java:603) at org.datanucleus.store.appengine.query.DatastoreQuery.access$300(DatastoreQuery.java:119) at org.datanucleus.store.appengine.query.DatastoreQuery$6.apply(DatastoreQuery.java:783) at org.datanucleus.store.appengine.query.DatastoreQuery$6.apply(DatastoreQuery.java:774) at org.datanucleus.store.appengine.query.LazyResult.resolveNext(LazyResult.java:94) at org.datanucleus.store.appengine.query.LazyResult$LazyAbstractListIterator.computeNext(LazyResult.java:215) at org.datanucleus.store.appengine.query.AbstractIterator.tryToComputeNext(AbstractIterator.java:132) at org.datanucleus.store.appengine.query.AbstractIterator.hasNext(AbstractIterator.java:127) at org.datanucleus.store.appengine.query.LazyResult$AbstractListIterator.hasNext(LazyResult.java:169) -- 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/-/0K5GRW1ZqRAJ. 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] Implementing Security On GAE
Hi, I'm new to Google App Engine and have some question which doesn't seem to get any answers on Stack Overflow. I'd like to implement Spring Security on my GAE application, but don't want to bring along the whole Spring + Spring Beans + Spring MVC stack (they slow down startup times and use up resources) Does GAE and Spring Security work well together? What are my options if I want to implement proper security on my GAE application using normal / custom authentication, Google authentication, Facebook authentication, etc without using Spring Security? Does anyone have sample code available showing how to build a general authentication system that integrates with other providers? -- 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/-/JpAizL_fetgJ. 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] xml file
Hello everybody, i want to produce xml file with appengine. Is someone know how to do it? Thank's -- 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/-/MRbSeh8mdQcJ. 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] Serious HRD Migration Problem: Mail Recipients Limited
I migrated my paid app (app id = happyrituals) from Master/Slave to HRD. Since that time my app has been seriously broken due to a Mail limit of 100. Beside the limit it indicates in red Limited - which appears to indicate a Safety Limit of some kind. I don't understand why this limit cropped up. I do have a task queue from which those calls make mail calls. I have tried setting stronger limits on the queues, setting retry limits on the queue, to no avail. Any suggestions? With each passing day this is becoming a bigger headache for my customers. Is it possible to pay for developer support to get help with a show stopper issue like this? -- 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/-/8SXm9v_Ws2IJ. 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] Google Datastore viewer doesn't show lists
public class User { @Id private Long id; private String account; private String password; private String logged_in; private ListString likes = new ArrayListString(); } The strings show up in the datastore viewer but the list doesn't! Thx for any help -- 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/-/DttypWHYVxEJ. 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.
Re: [google-appengine] Serious HRD Migration Problem: Mail Recipients Limited
Hi David, Have you requested a quota increase with the following form? https://docs.google.com/spreadsheet/viewform?formkey=dENESzEwNzJiZEdpQkRzTl9RNElVWUE6MQ#gid=0 For developer support, consider signing up to the premier account: https://developers.google.com/appengine/docs/premier/ On Tue, Jan 22, 2013 at 8:18 AM, David Hogg davidwh...@gmail.com wrote: I migrated my paid app (app id = happyrituals) from Master/Slave to HRD. Since that time my app has been seriously broken due to a Mail limit of 100. Beside the limit it indicates in red Limited - which appears to indicate a Safety Limit of some kind. I don't understand why this limit cropped up. I do have a task queue from which those calls make mail calls. I have tried setting stronger limits on the queues, setting retry limits on the queue, to no avail. Any suggestions? With each passing day this is becoming a bigger headache for my customers. Is it possible to pay for developer support to get help with a show stopper issue like this? -- 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/-/8SXm9v_Ws2IJ. 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. -- Takashi Matsuo | Developers Advocate | tmat...@google.com -- 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.
Re: [google-appengine] Re: TOS question - may I add a dial button
Hello All, Please take my comment as a comment and not legal guidance as any legal guidance needs to come from your own legal counsel based on our terms of service. But, that clause is in our ToS as App Engine is not built to be or regulated as a telecommunication service and as such anyone who would fall under telecommunication regulations would likely not pass an audit. I know that sounded cryptic but I'm trying to be as precise as possible without telling you what to do :) I hope that helps and I hope you'll understand if you want more clarification it might be hard to give, Greg D'Alesandre Senior Product Manager, Google App Engine On Mon, Jan 21, 2013 at 11:21 PM, Kalle Pokki kallepo...@gmail.com wrote: Perhaps the legal wording is there only because telecommunications operators may also be required to provide emergency calls, which probably cannot be guaranteed with enough certainty with app engine sitting in the middle of the system. And by providing access to PSTN you may be considered as a telecommunications operator. I doubt google would try to stop the original poster from implementing the call back button. On Tuesday, January 22, 2013 6:54:59 AM UTC+2, Sologoub wrote: What's weird is the story on app engine blog seems to contradict this: http://googleappengine.**blogspot.com/2012/12/** developer-insights-mobile-**voucher-sales.htmlhttp://googleappengine.blogspot.com/2012/12/developer-insights-mobile-voucher-sales.html URL Fetch API to link to third-party API’s such as sending SMS’s and integration to mobile networks for airtime voucher purchase This is exactly how one would work with Twilio/Troop/Plivo in order to send SMS or make calls. I've been focusing on App Engine without realizing such use cases are not welcome, but the REST APIs seem like such a good fit here. Hope someone from GAE team can clarify. On Sunday, January 20, 2013 11:51:11 PM UTC-8, Marc Heinken wrote: In earlier (around 2009) versions of the ToS that section reads like this: You agree not to use the XMPP API to operate or to enable any telecommunications service or in connection with any applications that allow users to place calls to or receive calls from any public switched telephone network. That seems reasonable to me. After all, looking at the heavy usage restrictions of the channel API, realtime-communication isn't the infrastructure's biggest forte and running a telephony system on top of XMPP could be considered misuse. I don't think Google Voice is that big a profit center to justify such restrictions. Maybe it's some kind of regulation I don't know about. Does that section really disallow ANY type of interaction of an appengine hosted site with ANY other web based application that connects to the PSTN even if that interaction is only part of the client side HTML/Javascript code and does NOT happen inside appengine? If so, would that include interacting with Google Voice? How about embedding a skype call button or a SIP-URL in my HTML? -- 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/-/l6CfaNFanIYJ. 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. -- 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.
Re: [google-appengine] Weird scheduler behavior (again)
Hi François, The basic rule to determine a need for a new instance is described here: http://stackoverflow.com/questions/11525717/when-does-the-app-engine-scheduler-use-a-new-thread-vs-a-new-instance Other than that, there can be some rare-case scenarios where the scheduler need to spawn a new instance due to some transient issues within the underlying infrastructure, which are not surfaced to developers, and handled automatically by the scheduler. I think it's a nature of a distributed and shared system like App Engine. I assume you already have starred the following issues, but please star them if you haven't. https://code.google.com/p/googleappengine/issues/detail?id=7865 https://code.google.com/p/googleappengine/issues/detail?id=5858 On Tue, Jan 22, 2013 at 3:22 AM, Francois Masurel f.masu...@gmail.comwrote: Could someone from Google explain why a new dynamic instance was started though an existing one was still alive a served only 1 request for the last 15 minutes ? https://lh5.googleusercontent.com/-jKN7PFnKKSE/UP51xcWhoOI/0FA/keeSdM_yyDM/s1600/Instances+-+VinoCities+-+Google+Chrome.jpg Really looks like a waste of resources (and money). Thanx for your answer. François -- 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/-/wZs7GyY8z1sJ. 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. -- Takashi Matsuo | Developers Advocate | tmat...@google.com -- 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] getting deploying problem
hi, when i deployed my application i got and error that your --use_java7 flag ids not set.how to set the flag hel me put please -- 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/-/8Q8F8B098R8J. 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: xml file
If you use python2.7http://code.google.com/appengine/docs/python/python27/using27.htmlon AppEngine, the lxml library is supportedhttp://code.google.com/appengine/docs/python/python27/newin27.html#Supported_Third-Party_Libraries . http://stackoverflow.com/questions/1894696/python-lxml-on-app-engine Check out the lxml documentation for code samples on generating xml files. -- Blaine On Monday, January 21, 2013 5:13:12 AM UTC-6, abdoulaye diop wrote: Hello everybody, i want to produce xml file with appengine. Is someone know how to do it? Thank's -- 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/-/9Zp2kA228dsJ. 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.
Re: [google-appengine] Serious HRD Migration Problem: Mail Recipients Limited
Thanks. I have requested the quota increase. It has been a week now and I have had a billing charge on the new app cleared several days ago. Still no fix. Upgrading to premier is $500/month which simply doesn't make sense at the moment for my app. I would happily pay for support call if there was a way! It seems to be that getting NO support or $500/month support are too extreme - would love an alternative (is there?). On Tuesday, 22 January 2013 11:22:09 UTC-7, Takashi Matsuo (Google) wrote: Hi David, Have you requested a quota increase with the following form? https://docs.google.com/spreadsheet/viewform?formkey=dENESzEwNzJiZEdpQkRzTl9RNElVWUE6MQ#gid=0 For developer support, consider signing up to the premier account: https://developers.google.com/appengine/docs/premier/ On Tue, Jan 22, 2013 at 8:18 AM, David Hogg david...@gmail.comjavascript: wrote: I migrated my paid app (app id = happyrituals) from Master/Slave to HRD. Since that time my app has been seriously broken due to a Mail limit of 100. Beside the limit it indicates in red Limited - which appears to indicate a Safety Limit of some kind. I don't understand why this limit cropped up. I do have a task queue from which those calls make mail calls. I have tried setting stronger limits on the queues, setting retry limits on the queue, to no avail. Any suggestions? With each passing day this is becoming a bigger headache for my customers. Is it possible to pay for developer support to get help with a show stopper issue like this? -- 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/-/8SXm9v_Ws2IJ. To post to this group, send email to google-a...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-appengi...@googlegroups.com javascript:. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Takashi Matsuo | Developers Advocate | tma...@google.com javascript: -- 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/-/x-YrWXQYLYQJ. 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: Serious HRD Migration Problem: Mail Recipients Limited
Thanks. It has been a week and billing happened mid-way through the week on the new app (I also find it hard to believe that migrating to HRD would by design cause such a disruption in mail service!). On Tuesday, 22 January 2013 12:18:28 UTC-7, Jim wrote: I had the same experience when migrating to HRD. The migration went very smoothly otherwise, but what happens is that you move your app to the new HRD app instance, and you enable billing. But it takes about a week for the billing plan to kick into place, and in the meantime you're stuck with the limit of 100 emails per day. On Tuesday, January 22, 2013 10:18:02 AM UTC-6, David Hogg wrote: I migrated my paid app (app id = happyrituals) from Master/Slave to HRD. Since that time my app has been seriously broken due to a Mail limit of 100. Beside the limit it indicates in red Limited - which appears to indicate a Safety Limit of some kind. I don't understand why this limit cropped up. I do have a task queue from which those calls make mail calls. I have tried setting stronger limits on the queues, setting retry limits on the queue, to no avail. Any suggestions? With each passing day this is becoming a bigger headache for my customers. Is it possible to pay for developer support to get help with a show stopper issue like this? -- 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/-/bh1B-503t4cJ. 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: Querying multiple entity groups
Yes. Datastore queries depend on indexes, not entity groups. The only drawback of querying the datastore for entities that are not within the same entity group (non ancestor queries) is eventual consistency. On Saturday, January 19, 2013 3:21:22 PM UTC-5, Waltonz wrote: I would like to get all the entities of kind USER. Each user entity belongs to a different entity group. Is it possible to perfom a query by Kind with equality filters on the user's properties. The aim of the query is to get the entities with no intention of modifying them -- 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/-/VAed0yWKgmUJ. 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.
Re: [google-appengine] Weird scheduler behavior (again)
Hi Takashi, Thanx for trying to help. Is there a particular reason why all this information from SO isn't in the official GAE documentation? Could you explain a bit more how the instance class CPU limit can be reached and what we can do to avoid it? Thanx again for your help. François PS: All issues have been starred long ago. On Tuesday, January 22, 2013 8:19:46 PM UTC+1, Takashi Matsuo (Google) wrote: Hi François, The basic rule to determine a need for a new instance is described here: http://stackoverflow.com/questions/11525717/when-does-the-app-engine-scheduler-use-a-new-thread-vs-a-new-instance Other than that, there can be some rare-case scenarios where the scheduler need to spawn a new instance due to some transient issues within the underlying infrastructure, which are not surfaced to developers, and handled automatically by the scheduler. I think it's a nature of a distributed and shared system like App Engine. I assume you already have starred the following issues, but please star them if you haven't. https://code.google.com/p/googleappengine/issues/detail?id=7865 https://code.google.com/p/googleappengine/issues/detail?id=5858 On Tue, Jan 22, 2013 at 3:22 AM, Francois Masurel f.ma...@gmail.comjavascript: wrote: Could someone from Google explain why a new dynamic instance was started though an existing one was still alive a served only 1 request for the last 15 minutes ? https://lh5.googleusercontent.com/-jKN7PFnKKSE/UP51xcWhoOI/0FA/keeSdM_yyDM/s1600/Instances+-+VinoCities+-+Google+Chrome.jpg Really looks like a waste of resources (and money). Thanx for your answer. François -- 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/-/wZs7GyY8z1sJ. To post to this group, send email to google-a...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-appengi...@googlegroups.com javascript:. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Takashi Matsuo | Developers Advocate | tma...@google.com javascript: -- 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/-/HxaNL-qbImgJ. 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: Lots of user-facing loading requests
Great ! But how did you get there? François On Tuesday, January 22, 2013 5:28:48 PM UTC+1, Cesium wrote: For the record: Now my app is running so smooth on a single instance. No new instances being created. Latency is low. My depression is gone. Now, I am truly gobsmacked. David -- 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/-/y-SaiSBlnsYJ. 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] Ask Maven GAE Plugin to forget login credential
Hi, Sorry for disturbing, I'm trying to deploy an application to this account using maven-gae-plugin but I entered another account accidentally. Now the login credential is saved somewhere, but I want to deploy it to this account, could you please tell me is there anyway to ask maven to forget the saved login credential? Thank you. -- 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/-/eh9KI4fD940J. 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: Lots of user-facing loading requests
Step 1: Sprinkle sour Skittles on the floor. (Sour, NOT regular Skittles.) Step 2: Wait for Google to release the unicorns for feeding. Step 3: When unicorns eat sour skittles, they release low latency mojo. Step 4: How the heck should I know? I just sit on my rear, day after day and watch the scheduler's schizophrenic behavior! I did nothing! David On Tuesday, January 22, 2013 3:09:54 PM UTC-7, Francois Masurel wrote: Great ! But how did you get there? François On Tuesday, January 22, 2013 5:28:48 PM UTC+1, Cesium wrote: For the record: Now my app is running so smooth on a single instance. No new instances being created. Latency is low. My depression is gone. Now, I am truly gobsmacked. David -- 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/-/qF2AdsxcGGAJ. 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: Lots of user-facing loading requests
Sadly, nothing changed for me : 20 loading requests over the last 30 minutes, instances are killed almost immediately. On Tuesday, January 22, 2013 11:16:51 PM UTC+1, Cesium wrote: Step 1: Sprinkle sour Skittles on the floor. (Sour, NOT regular Skittles.) Step 2: Wait for Google to release the unicorns for feeding. Step 3: When unicorns eat sour skittles, they release low latency mojo. Step 4: How the heck should I know? I just sit on my rear, day after day and watch the scheduler's schizophrenic behavior! I did nothing! David On Tuesday, January 22, 2013 3:09:54 PM UTC-7, Francois Masurel wrote: Great ! But how did you get there? François On Tuesday, January 22, 2013 5:28:48 PM UTC+1, Cesium wrote: For the record: Now my app is running so smooth on a single instance. No new instances being created. Latency is low. My depression is gone. Now, I am truly gobsmacked. David -- 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/-/iO8l889ODJsJ. 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: Lots of user-facing loading requests
Please accept my apology for being flippant. I am going to try an experiment inspired by Jeff's idea. Jeff wrote: cronentries cron url/some-non-static-url/url scheduleevery 1 minutes/schedule /cron /cronentries This will keep one instance warm. Jeff But instead of a fixed 1 minute interval, it will be adaptive like a feedback control servo. Also, the sign of the feedback will be just the opposite of what you would expect. If the call to my app takes a long time, I will call it more often to keep the instance alive. Of course, this simple design will lead to much suffering and cost, so there will be limits placed on the call rate, feedback gain, etc. Just a thought, David On Tuesday, January 22, 2013 3:24:09 PM UTC-7, Francois Masurel wrote: Sadly, nothing changed for me : 20 loading requests over the last 30 minutes, instances are killed almost immediately. On Tuesday, January 22, 2013 11:16:51 PM UTC+1, Cesium wrote: Step 1: Sprinkle sour Skittles on the floor. (Sour, NOT regular Skittles.) Step 2: Wait for Google to release the unicorns for feeding. Step 3: When unicorns eat sour skittles, they release low latency mojo. Step 4: How the heck should I know? I just sit on my rear, day after day and watch the scheduler's schizophrenic behavior! I did nothing! David On Tuesday, January 22, 2013 3:09:54 PM UTC-7, Francois Masurel wrote: Great ! But how did you get there? François On Tuesday, January 22, 2013 5:28:48 PM UTC+1, Cesium wrote: For the record: Now my app is running so smooth on a single instance. No new instances being created. Latency is low. My depression is gone. Now, I am truly gobsmacked. David -- 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/-/-ojM5D_cMsgJ. 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.
Re: [google-appengine] Re: Lots of user-facing loading requests
In fact I succeeded in keeping one instance alive using PingDom service. But it still keeps starting new instances very frequently. It looks like pending latency setting doesn't work at all (set to 15s min for my app). François On Tue, Jan 22, 2013 at 11:43 PM, Cesium cesiumpic...@gmail.com wrote: Please accept my apology for being flippant. I am going to try an experiment inspired by Jeff's idea. Jeff wrote: cronentries cron url/some-non-static-url/**url scheduleevery 1 minutes/schedule /cron /cronentries This will keep one instance warm. Jeff But instead of a fixed 1 minute interval, it will be adaptive like a feedback control servo. Also, the sign of the feedback will be just the opposite of what you would expect. If the call to my app takes a long time, I will call it more often to keep the instance alive. Of course, this simple design will lead to much suffering and cost, so there will be limits placed on the call rate, feedback gain, etc. Just a thought, David On Tuesday, January 22, 2013 3:24:09 PM UTC-7, Francois Masurel wrote: Sadly, nothing changed for me : 20 loading requests over the last 30 minutes, instances are killed almost immediately. On Tuesday, January 22, 2013 11:16:51 PM UTC+1, Cesium wrote: Step 1: Sprinkle sour Skittles on the floor. (Sour, NOT regular Skittles.) Step 2: Wait for Google to release the unicorns for feeding. Step 3: When unicorns eat sour skittles, they release low latency mojo. Step 4: How the heck should I know? I just sit on my rear, day after day and watch the scheduler's schizophrenic behavior! I did nothing! David On Tuesday, January 22, 2013 3:09:54 PM UTC-7, Francois Masurel wrote: Great ! But how did you get there? François On Tuesday, January 22, 2013 5:28:48 PM UTC+1, Cesium wrote: For the record: Now my app is running so smooth on a single instance. No new instances being created. Latency is low. My depression is gone. Now, I am truly gobsmacked. David -- 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/-/-ojM5D_cMsgJ. 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. -- 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: Still having issues with my app - no deploys for last couple of moth
I'm still facing tons of different exceptions which seems to be GAE issues - as always, GAE status all green. Having these for last three days, I haven't done any deploy and the app was running fine for last 6 months. com.google.apphosting.api.ApiProxy$CancelledException: The API call memcache.Set() was explicitly cancelled. Uncaught exception from servlet com.google.apphosting.api.ApiProxy$ApiDeadlineExceededException: The API call taskqueue.BulkAdd() took too long 2013-01-23 14:10:07.353 Uncaught exception from servlet java.lang.ExceptionInInitializerError at org.apache.log4j.Logger.getLogger(Logger.java:117) Failed startup of context com.google.apphosting.utils.jetty.RuntimeAppEngineWebAppContext@6078e7{/,/base/data/home/apps/ms-librari-st/1.357057244399463191} com.google.apphosting.api.DeadlineExceededException: This request (40848620f31e9ac1) started at 2013/01/23 00:47:14.708 UTC and was still executing at 2013/01/23 00:48:14.338 UTC. at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.init(ZipFile.java:143) at java.util.jar.JarFile.init(JarFile.java:150) at java.util.jar.JarFile.init(JarFile.java:87) Uncaught exception from servlet com.google.apphosting.api.ApiProxy$CancelledException: The API call datastore_v3.Put() was explicitly cancelled. at c Just a note - I'm running some stack on Openshift and Appfog now due to absolute lack of support from the google team here - when I ask for help on their public forums I get a response within tenth of minutes/1-2 hours and the issue is immediately solved. I would love to continue to work on GAE but it's getting more and more frustrating. Regards. On Monday, 21 January 2013 19:58:42 UTC+13, Tomas wrote: Hi there, from the yesterday I started to see a lot of deadline exceptions, memcache writes exceptions, datastore exceptions - I haven't changed the code from last 6 month and I've just tried to fix those errors by playing with idle/automatic instance spinning but its getting just worse (even if I returned those to original setting aka 14-15seconds queue, 1 min instance and 1 automatic instance). I've also noticed that my residence instance is not running anymore, I see some dynamic instances spinning and sometimes dynamic instance serves 5k request but can't see my residence instance at all. Previously my res instance was sitting there and catching all the traffic. BTW I've started to use the app as a backend for my frontend Spring app sitting in Appfog - I'm calling GAE through rest template with apache http client set to concurrent connection manager with connection queue and I have a feeling that it doesn't work very well with dynamic instances as the connection managers struggles with dying connections (I guess when dynamic instance stops the connections is not handled to other instance but the connection manager needs to find out the connection is broken and open the new one) - is this correct assumption? app name is ms-librari-sthttps://appengine.google.com/dashboard?app_id=ms-librari-st cheers -- 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/-/E6Y4ZqCgqnEJ. 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.
Re: [google-appengine] Re: Lots of user-facing loading requests
The key to being a low traffic app on appengine is to not to be a low traffic app on appengine. I use a script to pepper some dynamic URLs that incur no API costs. I endeavor to keep at least one dynamic instance alive, and sadly I also have to have 1 resident instance as well. It keeps the site limping along while I port stuff to Go. ;) On Tuesday, January 22, 2013 2:48:56 PM UTC-8, Francois MASUREL wrote: In fact I succeeded in keeping one instance alive using PingDom service. But it still keeps starting new instances very frequently. It looks like pending latency setting doesn't work at all (set to 15s min for my app). François On Tue, Jan 22, 2013 at 11:43 PM, Cesium cesium...@gmail.comjavascript: wrote: Please accept my apology for being flippant. I am going to try an experiment inspired by Jeff's idea. Jeff wrote: cronentries cron url/some-non-static-url/**url scheduleevery 1 minutes/schedule /cron /cronentries This will keep one instance warm. Jeff But instead of a fixed 1 minute interval, it will be adaptive like a feedback control servo. Also, the sign of the feedback will be just the opposite of what you would expect. If the call to my app takes a long time, I will call it more often to keep the instance alive. Of course, this simple design will lead to much suffering and cost, so there will be limits placed on the call rate, feedback gain, etc. Just a thought, David On Tuesday, January 22, 2013 3:24:09 PM UTC-7, Francois Masurel wrote: Sadly, nothing changed for me : 20 loading requests over the last 30 minutes, instances are killed almost immediately. On Tuesday, January 22, 2013 11:16:51 PM UTC+1, Cesium wrote: Step 1: Sprinkle sour Skittles on the floor. (Sour, NOT regular Skittles.) Step 2: Wait for Google to release the unicorns for feeding. Step 3: When unicorns eat sour skittles, they release low latency mojo. Step 4: How the heck should I know? I just sit on my rear, day after day and watch the scheduler's schizophrenic behavior! I did nothing! David On Tuesday, January 22, 2013 3:09:54 PM UTC-7, Francois Masurel wrote: Great ! But how did you get there? François On Tuesday, January 22, 2013 5:28:48 PM UTC+1, Cesium wrote: For the record: Now my app is running so smooth on a single instance. No new instances being created. Latency is low. My depression is gone. Now, I am truly gobsmacked. David -- 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/-/-ojM5D_cMsgJ. To post to this group, send email to google-a...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-appengi...@googlegroups.com javascript:. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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/-/l0LilFn2kSAJ. 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] insane number of warmup requests exhaust entire daily quota
Hello Google, My app was hit with 4.43k warmup requests in a 6 hr period that totally exhausted my daily budget: there was no other significant activity going on at that time. Can you please help explain what was going on and how I can prevent this in the future? Thanks, Saurabh -- 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/-/3ZbEzu7S2I0J. 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.
Re: [google-appengine] Do F1 F2 F4 Google App Engine frontend instances really cost more
I've run some tests and F2 is certainly faster than F1, especially at CPU intensive things such as generating templates. Unfortunately, it also seems to be close to double the price. On Tuesday, July 24, 2012 1:25:04 PM UTC-4, Douglas Pollock wrote: Yes, as it stands right now, you need to restart the instances. You can do this by manually restarting the instances, or by deploying a new version of the app. On Thu, Jul 19, 2012 at 12:59 AM, Marc Hacker z...@tradeos.comjavascript: wrote: Thanks yes we found that stopping instances is necessary to activate changes in the F1/F2/F4 settings. But we are still getting F4 at most 2-3x faster than F1 even for a pure CPU benchmark (for loop) On Thursday, July 19, 2012 10:50:22 AM UTC+3, Francois Masurel wrote: Have you tried to shutdown your currently running instances? It should help. -- 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/-/Heey-25_BqkJ. To post to this group, send email to google-a...@googlegroups.comjavascript: . To unsubscribe from this group, send email to google-appengi...@googlegroups.com javascript:. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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/-/L73qvRp0QEEJ. 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] Launcher can't connect to App Engine servers
My website has been running fine for a month. There isn't anything abnormal in the admin console or server logs. However, since early today, whenever I try to deploy my website from Launcher, I receive this error: 12:03 AM Getting current resource limits. 2013-01-23 00:03:31,413 ERROR appcfg.py:2203 An error occurred processing file '': urlopen error [Errno 10061] No connection could be made because the target machine actively refused it. Aborting. Traceback (most recent call last): File C:\Program Files (x86)\Google\google_appengine\appcfg.py, line 171, in module run_file(__file__, globals()) File C:\Program Files (x86)\Google\google_appengine\appcfg.py, line 167, in run_file execfile(script_path, globals_) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 4377, in module main(sys.argv) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 4368, in main result = AppCfgApp(argv).Run() File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 2605, in Run self.action(self) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 4103, in __call__ return method() File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 3115, in Update self.UpdateVersion(rpcserver, self.basepath, appyaml) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 3097, in UpdateVersion return appversion.DoUpload(paths, openfunc) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 2173, in DoUpload self.resource_limits = GetResourceLimits(self.rpcserver, self.config) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 358, in GetResourceLimits resource_limits.update(GetRemoteResourceLimits(rpcserver, config)) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appcfg.py, line 329, in GetRemoteResourceLimits version=config.version) File C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\appengine_rpc.py,line 391, in Send f = self.opener.open(req) File C:\Python27\lib\urllib2.py, line 400, in open response = self._open(req, data) File C:\Python27\lib\urllib2.py, line 418, in _open '_open', req) File C:\Python27\lib\urllib2.py, line 378, in _call_chain result = func(*args) File C:\Python27\lib\urllib2.py, line 1215, in https_open return self.do_open(httplib.HTTPSConnection, req) File C:\Program Files (x86)\Google\google_appengine\lib\fancy_urllib\fancy_urllib\__init__.py,line 383, in do_open raise url_error urllib2.URLError: urlopen error [Errno 10061] No connection could be made because the target machine actively refused it 2013-01-23 00:03:31 (Process exited with code 1) In fact, I can't even run the Help - Check For Updates... in Launcher without receiving these warnings: Cannot perform proper version check. cannot_contact_server release: 1.7.4 timestamp: 1352314290 api_versions: ['1'] I had a friend test on a different computer, using the Mac client, and he had the same problem. Is anybody else having this issue, or know a solution to this issue? -- 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/-/KErx8gU0WD8J. 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.
Re: [google-appengine] Re: Lots of user-facing loading requests
I'm not convinced that high traffic apps fair any better, except perhaps that user-facing loading requests are a smaller percentage of the total load. I've heard people with high-traffic apps on this list say it's fine but I've not heard any quantitative metrics like % of requests that go to cold starts. In the absence of specific numbers to the contrary, I'm inclined to believe that high-traffic apps still dump an unacceptable number of requests on cold instances. Jeff On Tue, Jan 22, 2013 at 9:09 PM, Carl Schroeder schroeder.car...@gmail.com wrote: The key to being a low traffic app on appengine is to not to be a low traffic app on appengine. I use a script to pepper some dynamic URLs that incur no API costs. I endeavor to keep at least one dynamic instance alive, and sadly I also have to have 1 resident instance as well. It keeps the site limping along while I port stuff to Go. ;) On Tuesday, January 22, 2013 2:48:56 PM UTC-8, Francois MASUREL wrote: In fact I succeeded in keeping one instance alive using PingDom service. But it still keeps starting new instances very frequently. It looks like pending latency setting doesn't work at all (set to 15s min for my app). François On Tue, Jan 22, 2013 at 11:43 PM, Cesium cesium...@gmail.com wrote: Please accept my apology for being flippant. I am going to try an experiment inspired by Jeff's idea. Jeff wrote: cronentries cron url/some-non-static-url/url scheduleevery 1 minutes/schedule /cron /cronentries This will keep one instance warm. Jeff But instead of a fixed 1 minute interval, it will be adaptive like a feedback control servo. Also, the sign of the feedback will be just the opposite of what you would expect. If the call to my app takes a long time, I will call it more often to keep the instance alive. Of course, this simple design will lead to much suffering and cost, so there will be limits placed on the call rate, feedback gain, etc. Just a thought, David On Tuesday, January 22, 2013 3:24:09 PM UTC-7, Francois Masurel wrote: Sadly, nothing changed for me : 20 loading requests over the last 30 minutes, instances are killed almost immediately. On Tuesday, January 22, 2013 11:16:51 PM UTC+1, Cesium wrote: Step 1: Sprinkle sour Skittles on the floor. (Sour, NOT regular Skittles.) Step 2: Wait for Google to release the unicorns for feeding. Step 3: When unicorns eat sour skittles, they release low latency mojo. Step 4: How the heck should I know? I just sit on my rear, day after day and watch the scheduler's schizophrenic behavior! I did nothing! David On Tuesday, January 22, 2013 3:09:54 PM UTC-7, Francois Masurel wrote: Great ! But how did you get there? François On Tuesday, January 22, 2013 5:28:48 PM UTC+1, Cesium wrote: For the record: Now my app is running so smooth on a single instance. No new instances being created. Latency is low. My depression is gone. Now, I am truly gobsmacked. David -- 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/-/-ojM5D_cMsgJ. To post to this group, send email to google-a...@googlegroups.com. To unsubscribe from this group, send email to google-appengi...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- 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/-/l0LilFn2kSAJ. 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. -- 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.