google-app-engine

Google Pub/Sub push subscription into IAP-protected App Engine

烈酒焚心 提交于 2020-01-15 01:50:05
问题 I am testing out a very basic Pub/Sub subscription. I have the push endpoint set to an App I have deployed through a Python Flex service in App Engine. The service is in a project with Identity-Aware Proxy enabled. The IAP is configured to allow through users authenticated with our domain. I do not see any of the push requests being processed by my app. I turned off the IAP protection and then I see that the requests are processed. I turn it back on and they are no longer processed. I had

Google Pub/Sub push subscription into IAP-protected App Engine

坚强是说给别人听的谎言 提交于 2020-01-15 01:49:05
问题 I am testing out a very basic Pub/Sub subscription. I have the push endpoint set to an App I have deployed through a Python Flex service in App Engine. The service is in a project with Identity-Aware Proxy enabled. The IAP is configured to allow through users authenticated with our domain. I do not see any of the push requests being processed by my app. I turned off the IAP protection and then I see that the requests are processed. I turn it back on and they are no longer processed. I had

How do I have to escape ampersands in URLs when logging in with OpenID?

↘锁芯ラ 提交于 2020-01-14 22:50:15
问题 Well actually I know, that I should replace & by %26 But I'm using this URL to log in with OpenID: https://innubili-gidea.appspot.com/_ah/login_redir?claimid=https://www.google.com/accounts/o8/site-xrds?hd=icada.com&continue=https://innubili-gidea.appspot.com/%3Fdomain%3Dicada.com%26campaign%3D2%26 As you can see, the continue parameter is properly escaped. But after being redirected through Googles login pages, it redirects me back to https://innubili-gidea.appspot.com/?domain=icada.com So

AppEngine allocateIdRange : clarification about CONTENTION state

社会主义新天地 提交于 2020-01-14 22:28:07
问题 I'm copying entities from one kind to another, and want to map their long ids in a predictable way. After the mapping is over, I want auto-generation of ids to kick in. To protect the entities I copy, I want to use allocateIdRange and manually allocate each id as I copy it. My hope is that this will cause the datastore to protect these new ids, and only assign other ids to new entities created after the copy. One return code has me worried: CONTENTION Indicates the given KeyRange is empty but

urlfetch redirected into an infinite loop in python

和自甴很熟 提交于 2020-01-14 18:46:46
问题 I am trying to load a url which redirects to itself. I'm assuming its loading a cookie and its looking for it but it never sees it so there is this infinite loop of requests. I have tried urllib2, urlfetch, and httplib2. None work. I tried this though: url = "http://www.cafebonappetit.com/menu/your-cafe/collins-cmc/cafes/details/50/collins-bistro" thing = urllib2.HTTPRedirectHandler() thing2 = urllib2.HTTPCookieProcessor() opener = urllib2.build_opener(thing, thing2) url = 'http://www.nytimes

Bitbucket Pipelines: gcloud crashed (UnicodeDecodeError)

女生的网名这么多〃 提交于 2020-01-14 14:33:33
问题 Edit: I want to note that this issue doesn't happen if I deploy manually with cloud sdk on my computer. Only with pipelines Edit again: I added a verbosity=debug to my gcloud app deploy. Here is what's generated: Do you want to continue (Y/n)? DEBUG: No bucket specified, retrieving default bucket. DEBUG: Using bucket [gs://staging.PROJECT.appspot.com]. DEBUG: Service [appengineflex.googleapis.com] is already enabled for project [PROJECT] Beginning deployment of service [default]... INFO: Need

Getting user credentials using Google+ API

♀尐吖头ヾ 提交于 2020-01-14 14:28:06
问题 I am trying to include Google sign in in my android application using Google+ Api. I am able to take account details from the user but once signed in I am getting null when requesting for username using call: Plus.PeopleApi.getCurrentPerson(mGoogleApiClient).getDisplayName() And Logcat shows: BasicNetwork.performRequest: Unexpected response code 403 for https://www.googleapis.com/plus/v1/people/me Although I am able to get email of the user using: Plus.AccountApi.getAccountName(GoogleClient

PHP fatal error on google php api app engine

戏子无情 提交于 2020-01-14 14:22:47
问题 I've a problem with my app engine while I'm trying to implement Google+ PHP API , it gives me a fatal error in curl file "Goolge_IO.php" it's one of the library files which was provided on https://code.google.com/p/google-api-php-client/ Here's the detailed error Fatal error: Uncaught exception 'Exception' with message 'Google CurlIO client requires the CURL PHP extension' in C:\Users\joker\Desktop\\plus\src\io\Google_CurlIO.php:47 Stack trace: #0 C:\Users\joker\Desktop\plus\src\Google_Client

PHP fatal error on google php api app engine

二次信任 提交于 2020-01-14 14:22:08
问题 I've a problem with my app engine while I'm trying to implement Google+ PHP API , it gives me a fatal error in curl file "Goolge_IO.php" it's one of the library files which was provided on https://code.google.com/p/google-api-php-client/ Here's the detailed error Fatal error: Uncaught exception 'Exception' with message 'Google CurlIO client requires the CURL PHP extension' in C:\Users\joker\Desktop\\plus\src\io\Google_CurlIO.php:47 Stack trace: #0 C:\Users\joker\Desktop\plus\src\Google_Client

Connecting to GCP Cloud SQL from App Engine in separate project

一笑奈何 提交于 2020-01-14 13:57:09
问题 I am trying to connect to a GCP Postgres Cloud SQL instance from a GCP Google App Engine flexible environment in a separate GCP project. I am using Python. The instructions indicate that this requires adding the default App Engine service account as an IAM member in the Postgres Cloud SQL project. The docs go on to state: Once deployed, your application uses the Cloud SQL Proxy that is built in to the App Engine flexible environment to communicate with your Cloud SQL instance. However, I've