google-app-engine

Dynamic HTML Page not found in App Engine. Returns Cannot Get /index

限于喜欢 提交于 2021-01-29 07:31:47
问题 I am trying to host my HTML page in App Engine. When I am trying to access the webpage with url/index it returns Cannot GET /index I have followed the steps mentioned in https://cloud.google.com/appengine/docs/standard/python/getting-started/hosting-a-static-website having same file structure as it expects according to the link above. - my_project |- app.js |- app.yaml |- www |- index.html The below is my app.yaml file # [START app_yaml] runtime: nodejs env: flex service: service_name #

Google Cloud Storage | PHP | Uploaded files are at 0 Bytes

只愿长相守 提交于 2021-01-29 07:31:43
问题 I am using a Codeigniter application and trying to provide access for users to upload files. the server is setup on a Google Compute Engine VM running CentOS 7 and Apache 2, I am trying to use Google Cloud Storage for user upload. Currently when I upload files only the file names are being uploaded into GCS Bucket with the file size as 0 bytes. My Frontend Code: <body> <form action="/includes/includes_gc/do_upload" class="dropzone" id="pfUploads" enctype="multipart/form-data"> </form> <script

Is Google App Engine tmp folder isolated per instance? [closed]

本小妞迷上赌 提交于 2021-01-29 07:28:44
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . Improve this question There's very little information about the /tmp/ folder which App Engine can use to write files. https://cloud.google.com/appengine/docs/standard/java/runtime-java8#Java_The_sandbox The main question is if this is isolated per instance? And if an instance saves a

Unable to build “Bookshelf app for Java on App Engine standard environment” example from google, issue with pom.xml?

半城伤御伤魂 提交于 2021-01-29 06:55:47
问题 I am trying to get the bookshelf app for Java on APP engine "https://cloud.google.com/java/getting-started-appengine-standard/tutorial-app" I have performed all the steps like setting up billing for my project, enabling APIs and downloading the SDK. I have cloned the repo i.e. git clone https://github.com/GoogleCloudPlatform/getting-started-java.git Then i proceed to run mvn -Plocal clean appengine:devserver from the directory getting-started-java/bookshelf-standard/2-structured-data This is

Unable to build “Bookshelf app for Java on App Engine standard environment” example from google, issue with pom.xml?

一曲冷凌霜 提交于 2021-01-29 06:53:05
问题 I am trying to get the bookshelf app for Java on APP engine "https://cloud.google.com/java/getting-started-appengine-standard/tutorial-app" I have performed all the steps like setting up billing for my project, enabling APIs and downloading the SDK. I have cloned the repo i.e. git clone https://github.com/GoogleCloudPlatform/getting-started-java.git Then i proceed to run mvn -Plocal clean appengine:devserver from the directory getting-started-java/bookshelf-standard/2-structured-data This is

Embedded entity reading from originaly stored as Blob

蓝咒 提交于 2021-01-29 06:38:31
问题 Migrating from AppEngine low level Datastore API to objectify 5: reading Entity gets an error. What i see using the Datastore Entity Tool is because the old data keeps "Ifont" as " Blob " instead and should become an " Embedded class " @Entity(name = "Mandant") public class Mandant implements IsSerializable { @Id private Long id; @Index private String nr = ""; private Ifont fontHeader; How do we read this Blob data? 回答1: How did you save the data into a Blob field in the first place? A Blob

GCP Cloud Scheduler job for App Engine HTTP target is timing out after 10 minutes

旧巷老猫 提交于 2021-01-29 05:50:42
问题 I have an App Engine app and I had some App Engine cron jobs in it which was taking longer than 10minutes and hence failing(due to the limitation of App Engine cron job max time being 10min). I decided to move it to Cloud Scheduler and created a job with App Engine HTTP target with below parameters. (attempt-deadline is the parameter where I tried to increase the time) gcloud beta scheduler jobs create app-engine daily-import --schedule="0 */3 * * 1" --attempt-deadline=21600s --version="test

GCP Cloud Scheduler job for App Engine HTTP target is timing out after 10 minutes

此生再无相见时 提交于 2021-01-29 05:48:11
问题 I have an App Engine app and I had some App Engine cron jobs in it which was taking longer than 10minutes and hence failing(due to the limitation of App Engine cron job max time being 10min). I decided to move it to Cloud Scheduler and created a job with App Engine HTTP target with below parameters. (attempt-deadline is the parameter where I tried to increase the time) gcloud beta scheduler jobs create app-engine daily-import --schedule="0 */3 * * 1" --attempt-deadline=21600s --version="test

Google App Engine JSP

妖精的绣舞 提交于 2021-01-29 05:04:39
问题 I have created a Google App Engine project, but because of some SEO concerns I want to change one of my pages from HTML (+ JQuery) to a JSP that gets rendered on the server This page is the index.html file, how can I make it work as a JSP without renaming it (I don't want the user to go to index.jsp, but instead treat index.html as a JSP page) I've tried adding this to my web.xml, but it doesn't seem to work <servlet> <servlet-name>main</servlet-name> <jsp-file>/index.html</jsp-file> (or

Invalid dispatch configuration

只谈情不闲聊 提交于 2021-01-29 04:45:12
问题 I'm attempting to update an application which takes advantage of two modules (default and batchratings). After running 'appcfg update app.yaml batchratings.yaml', I receive the following output: Error 400: --- begin server output --- Validation error: Invalid dispatch configuration - module 'batchratings' does not exist. Upload a version of this module and try again. Given that that's precisely what I'm attempting to do by following the steps outlined in the Modules walkthrough, I'm fairly