google-app-engine

Google File Service closeFinally() timeout

我与影子孤独终老i 提交于 2020-01-04 04:15:19
问题 I just faced a problem with writing data to Google Cloud Storage using AppEngine FileService. The problem is timeout related as I think. I created new GS file and write data to it using Tasks. Every task closes FileWriteChannel with close(). But closeFinally() is called in about 2 hours after last write (It is required by my DataFlow). So I do not see any file in GS. Is it any timeoute between last write and closeFinally()? 回答1: There is no timeout between calls to close() and closeFinally()

Recommended Java frameworks for Google App Engine? [closed]

时光毁灭记忆、已成空白 提交于 2020-01-04 04:01:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm new to google appengine and java webprogramming (jsp/servlets/frameworks) (not to webprogramming or java). I was wondering if appengine supported java frameworks and, if so, which of them are recomandable? Are there any frameworks that support authentication? Thanks 回答1: A Google employee linked to the

GAE Custom domain mapping failure after adding SSL Wildcard certificate

空扰寡人 提交于 2020-01-04 03:55:10
问题 We have three projects in Google App Engine, each of them have a custom sub-domain name mapped to it like this: Project A: projecta.domain.com Project B: projectb.domain.com Project C: projectc.domain.com That worked very well until we added a wildcard ssl-certificate to Project A. Suddenly all three subdomains are mapped to Project A. They appeared under Project A, custom domains (Project A->App Engine->Settings->Custom Domains) and not one under each Project B and Project C, and when

How do I make a resident instance in google app engine?

ぐ巨炮叔叔 提交于 2020-01-04 03:03:06
问题 Do I need to pay to for a resident instance? The information available is confusing to me? I want to enable the "always on" feature for my java app. Thanks. 回答1: You do need to pay for a resident instance - just set the number of minimum idle instances to however many resident instances you want (3 is similar to the "Always On" feature). Some info about idle instances from the Applications page (where you set it): The Idle Instances slider allows you to control the number of idle instances

Cross-Domain Ajax Calls and maintaining session on Google App Engine

纵然是瞬间 提交于 2020-01-04 02:44:11
问题 I have recently worked through a bunch of kinks making cross-domain ajax calls to a GAE app and it is working beautifully, however, I am trying to set an http session id when making said service call and it is working fine, except that every time I perform the request, the session is null again. I'm assuming that this is because an ajax call and not making the request over http? How can I go about this? 回答1: Session tracking is usually done with cookies. If you are using Cross-Origin Resource

In Google App Engine, how do I avoid creating duplicate entities with the same attribute?

情到浓时终转凉″ 提交于 2020-01-04 02:34:13
问题 I am trying to add a transaction to keep from creating two entities with the same attribute. In my application, I am creating a new Player each time I see a new Google user logged in. My current implementation occasionally creates duplicate players when multiple json calls are made by a new Google user within a few milliseconds. When I add the transaction like the one commented out here, I get various errors. What is the easiest way to ensure that I never create two player entities with the

Google App Engine- java.lang.IllegalStateException: Committed Error

天大地大妈咪最大 提交于 2020-01-04 02:18:08
问题 I'm currently working on an application that require me to deploy onto Google App Engine Server. My application runs perfectly fine locally on port 7777. However, when I deploy onto GAE, It starts to give me this error - java.lang.IllegalStateException: Committed and it just returns me a "null" in the GAE log. There's no error. It only state a warning message: " A serious problem was encountered with the process that handled this request, causing it to exit. This is likely to cause a new

“The server encountered an error and could not complete your request” on appengine

陌路散爱 提交于 2020-01-04 02:02:29
问题 I am beginner of JAVA and JSP. I am doing semester project on appengine. I have deployed project and there are no compilation or other errors. But when I open my application link it gives an error which is Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem and mention this error message and the query that caused it. In my application logs I have seen three types of problems which are /favicon.ico 404 9ms

Is it possible to store arbitrary data in GAE Golang Blobstore?

烈酒焚心 提交于 2020-01-03 19:37:39
问题 I am creating a large database application in Google App Engine Go. Most of my pieces of data are small, so I have no problem storing them in Datastore. However, I know I will run into a few entries that will be a few megabytes big, so I will have to use Blobstore to save them. Looking at the reference for Blobstore, it appears that the service was mainly intended to be used for files being uploaded to the service. What are the functions I need to call to store arbitrary data in the Blobstore

How can I loaddata from a fixture remotely

橙三吉。 提交于 2020-01-03 19:30:34
问题 With Django-nonrel on GAE, how do I do I load in a fixture to the server after deploying? I'm able to do it locallay via python manage.py loaddata fixturename But how can I do it on a deployed app that is already on appspot.com? 回答1: I believe the answer is python manage.py remote loaddata fixturename with an additional 'remote' word. I've tested that (about five minute before I type this). It will prompt for your gmail account and password. You also need to enable remote_api in app.yaml (if