2018-10-22         Ira

How to allow traffic to app engine access from compute engines of different project.

On google cloud I have created an app engine on one project and have some auto scaled(server spinup/spindown according to traffic) compute engines on different project. I have a task for allowing traffic to app engine only from those auto scaled compute engines. Problem with the auto scaled environment we can't guess the server public IP, where as we can get private subnet IP's.Please let me know how can I solve this issue. For connecting through a private IP, you need your app engine and compute engine instances to be in the same network. App Engine standard environmen...

 google-app-engine                     1 answers                     77 view
 2018-10-22         Moore

Google Compute Engine, Managed Instance Group, Autoscaler with custom metric wrtitten from App Engine

I want to use the Autoscaler for Managed Instance Groups with a custom metric I write to from App Engine. However the Autoscaler documentation states: The standard metric must contain data for a gce_instance monitored resource. You can use the timeSeries.list API call to verify whether a specific metric exports data for this resource.Can I create the metric as type "gce_instance" and write to it from GAE? Or did I misinterpret the documentation section and I can just go ahead without special consideration for this section? Google App Engine (GAE) users should use "globa...

 google-app-engine                     1 answers                     84 view
 2018-10-22         Berg

Communication between Google App Engine Application and Google Cloud Engine Instance

Taking a look at the GCE instances, you can see that there are two main types for IP Addresses(internal one and external one). Now if I have a Google App Engine Application(flex env) and a backend which runs in a Google Compute Engine Instance. Both applications run in the same GCP project. Is it possible for the app engine application to request the GCE backend app using its internal ip address? I would guess that, apps which run within the same project are running within the same VPC. Since I am using the GAE flex env, I can ssh the GAE instance, and with a curl request t...

 google-app-engine                     2 answers                     90 view
 2018-10-22         Blake

Is it possible to install/access SSL for my Google App Engine app?

Since App Engine is so locked down I assume there is no way to setup an SSL certificate to allow credit card payments. In the absence of this, how is it possible to secure handle payments in an App Engine app? http://code.google.com/appengine/docs/java/config/webxml.html#Secure_URLs says that <ssl-enabled>true</ssl-enabled>can be set in your appengine-web.xml file with *.appspot.com subdommains. Google had a typo in their opening tag on that page, just FYI.For Google Apps you can't use HTTPS at all, but for appspot you can.As far as using your own cert, ...

 google-app-engine                     2 answers                     15 view
 2018-10-22         Nathaniel

How does one avoid a cyclic redirect when writing a facebook application using pyfacebook and google app engine?

I'm trying to write my first application for Facebook using python and pyfacebook hosted on Google App Engine. The problem I'm facing is that of cyclic redirects. Firefox dies complaining "This page isn't redirecting properly" when I visit http://apps.facebook.com/appname.Here's the code: class CanvasHandler(webapp.RequestHandler): def get(self): ## instantiate the Facebook API wrapper with your FB App's keys fb = facebook.Facebook(config.FACEBOOK_API_KEY, config.FACEBOOK_API_SECRET) ## check that the user is logged into FB and has added the app ...

 google-app-engine                     2 answers                     47 view
 2018-10-22         Leila

How can I set the language (and culture) used by the django template system in webapp?

I'm writing a Google App Engine application using the WebApp framework. I'd like the various django filters to use the user-agent requested language (and culture) and not the default (English). I'm mainly interested in timesince, timeuntil, and date.Side-question: how can I enable the filters provided by django.contrib.markup inside WebApp? How can I set the language (and culture) used by the django template system in webapp?What you're looking for is django's internationalization and localization feature. They're abbreviated as I18N and L10N respectively.http://makeyjl....

 google-app-engine                     1 answers                     94 view
 2018-10-22         Nathan

Google Script ERROR: Exception: Argument too large: value

I am creating a webhook for collecting Facebook page's comments and inbox, but now the collect inbox function suddenly is not working and shown the the error message of: Exception: Argument too large: valueCould anyone provide some advise on how to resolve this issue? You need to make the argument smaller.(It also may be OS orientated as similar errors can be encountered on OpenDBS and TempleOS) [XXX]

 google-app-engine                     1 answers                     94 view
 2018-10-22         Zoe

BigQuery OAuth access token on Java App Engine dev server

I'm adding BigQuery support to my App Engine app and getting stuck on OAuth2, specifically when testing on the dev server (deployed test works).The most App-Engine specific and current advice I could find, here:https://developers.google.com/bigquery/authorization#service-accounts-appengineSuggests this:if (System.getProperty("OAUTH_ACCESS_TOKEN") != null) { // Good for testing and localhost environments, where no AppIdentity is available. return new GoogleCredential().setAccessToken(System.getenv("OAUTH_ACCESS_TOKEN"));}What would I set the OAUTH_ACCESS_TOKEN to? Is t...

 google-app-engine                     1 answers                     57 view
 2018-10-22         Merlin

Hosting/transferring a web site on Google App Engine

I have my website currently hosted on paid server, but i want to transfer it on GAE.How can i do it? Can anyone please help me in this case.I'd appreciate your help.Thanks:) 1) First you will have to adapt your website to the GAE framework (python with django or the new Java environment). You can test your work by downloading the SDK of GAE which offer a local server.2) Then create an account on appengine.google.com and upload your application on something.appspot.com, test it.3) If you have a domain name, create a google apps account on this domain, and finally bind thi...

 google-app-engine                     3 answers                     77 view
 2018-10-22         Bertram

How to use REST API for sending messages to Azure Notification Hub from Java/GAE

I have successfully implemented calling GAE -> Azure Mobile Services -> Azure Notification HUB. But I want to skip the Mobile Services step and call the notification HUB directly and I can't figure out how to send the authorization token. The returned error is: Returned response: <Error><Code>401</Code><Detail>MissingAudience: The provided token does not specify the 'Audience'..TrackingId:6a9a452d-c3bf-4fed-b0b0-975210f7a13c_G14,TimeStamp:11/26/2013 12:47:40 PM</Detail></Error>Here is my code: URL url = new URL("https://myapp-ns.servic...

 google-app-engine                     1 answers                     103 view
 2018-10-22         Elvira

Creating BigQuery table from Google Sheet using Java API - access denied

A Google drive sheet has been created (from XLS) using Drive API - by an App Engine application, with default service account. The newly created document has been shared with individuals and access to file has been confirmed.File file = driveService.files().create(fileMetadata, inputStreamContent) .setFields("id") .execute(); Logger.info("Created file: %s", file.getId()); BatchRequest batch = driveService.batch(); Permission userPermission = new Permission() .setType("user") .setRole("writer") .setEmailAddress("personal.email@gmai...

 google-app-engine                     1 answers                     100 view
 2018-10-22         Gale

Error deploying java google app engine flexible application - Timed out waiting for the app infrastructure to become healthy

Writing this issue as I have no idea how to investigate it. We're having problems in deploying an app engine flexible application.The problem is, that the only error we get is the following: GCLOUD: ERROR: (gcloud.app.deploy) Error Response: [4] Timed out waiting for the app infrastructure to become healthy.I tried already the following: Try a simple helloWorld app, to make sure it's not an application issueCheck quota settings -> All greenCheck activity stream for warnings or errors Check logs for warngings or errors Grant owner role to service account which is deploying t...

 google-app-engine                     2 answers                     103 view
 2018-10-22         Kenneth

How to use Cloud ML Engine for Context Aware Recommender System

I am trying to build Context Aware Recommender System with Cloud ML Engine, which uses context prefiltering method (as described in slide 55, solution a) and I am using this Google Cloud tutorial (part 2) to build a demo. I have split the dataset to Weekday and Weekend contexts and Noon and Afternoon contexts by timestamp for purposes of this demo.In practice I will learn four models, so that I can context filter by Weekday-unknown, Weekend-unknown, unknown-Noon, unknown-Afternoon, Weekday-Afternoon, Weekday-Noon... and so on. The idea is to use prediction from all the rele...

 google-app-engine                     1 answers                     5 view
 2018-10-22         Boyd

(GAE) click on the version of the service, an error 502 occurs

App engine is in use.If you click on the version of the service, an error 502 occurs.(appspot.com)However, there is no problem access to the domain connected to the service.I want to know why. There seems to be and issue with the GAE traffic in Asia, which is probably related to your error. The Google engineering team is investigating it with high priority. [XXX]For server issues that doesn't involve a potential coding/configuration error on your end, please use our issue tracker. You can report all potential bugs / feature requests there, thanks. [XXX]

 google-app-engine                     2 answers                     3 view
 2018-10-22         Constance

Cannot deploy App Engine Python 3 after cleanup Cloud Storage containers/images

I was able to deploy app engine (python 3 standard environment) before with gcloud command. But a few days ago I accidentally removed all images under Cloud Storage (gs://us.artifacts.[My-App-ID].appspot.com/containers/images) and I can no longer deploy new apps to this app-id. Is there any way I can get back all the files under containers/images? Thanks!Here is the log obtained from Cloud Build details:starting build "a71fe78e-463c-43a5-a463-b7c30ce2331f"FETCHSOURCEBUILDStarting Step #0 - "fetcher"Step #0 - "fetcher": Already have image (with digest): gcr.io/cloud-builders...

 google-app-engine                     1 answers                     8 view
 2018-10-22         Verne

GAE subdomain and DNS

I have a situation where my domain is on go daddy, my web server on 1and1 and I would like a subdomain to point to my app engine.I put setup my DNS so my domain name point to my site on my webserver, however I'm having some issues configuring my DNS and GAE to get my subdomain to point and to my app.Any idea or suggestion?Thank you! Actually I found the fix.I had to validate my domain name as <subdomain>.<domain> (That's the tricky part)I added the provided test TXT rule with my subdomain as target instead of @.Once that's done, GAE will provide a list of rec...

 google-app-engine                     2 answers                     33 view

Page 1 of 194  |  Show More Pages:  Top Prev Next Last