google-app-engine

RTCDataChannel with Google Channel API

断了今生、忘了曾经 提交于 2020-06-29 10:02:40
问题 I'm trying to follow this example by Dan Ristic for RTCDataChannel browser p2p communication with Google's Channel API for signaling. It seems to be failing silently - I can't get the RTCDataChannel.onopen , RTCPeerConnection.onicecandidate , or RTCPeerConnection.ondatachannel events to fire. Client JS/HTML: <html> <head> <script src="https://code.jquery.com/jquery-1.11.2.min.js"></script> <script type="text/javascript" src="/_ah/channel/jsapi"></script> <script> $(document).ready(function(){

Problem running gcsfuse on Google App Engine

白昼怎懂夜的黑 提交于 2020-06-29 04:23:31
问题 I am trying to run Airflow Webserver on App Engine Flexible however for it to work I need a mounted GCS bucket. I am using custom runtime. The reason why I am doing it is to get a secured endpoint that app Engine provides together with IAP. My app.yaml is a simple file with service name, env and runtime My Dockerfile is a lots of apt-get install s and in CMD there is gcsfuse mounting and running airflow webserver, it is not a big deal. The error I am getting when trying to use gcsfuse in App

GAE unable to look up SRV record for mongodb atlas instance

故事扮演 提交于 2020-06-28 06:06:46
问题 I have an instance of mongodb running on Atlas and a Spring Boot application running on GAE trying to access this database. I have no problem running it locally but when running on GAE I see this error in the logs. com.mongodb.MongoConfigurationException: Unable to look up SRV record for host xyz-abc-delta-james.gcp.mongodb.net This is my spring boot configuration for mongodb spring.data.mongodb.authentication-database=admin spring.data.mongodb.field-naming-strategy=org.springframework.data

Why can't I override the timeout on my Google Cloud Build?

狂风中的少年 提交于 2020-06-27 18:42:28
问题 I am attempting to setup a CI Pipeline using Google Cloud Build. I am attempting to deploy a MeteorJS app which has a lengthy build time - the default build timeout for GCB is 10 minutes and it was recommended here that I increase the timeout. I have setup my cloudbuild.yaml file with the timeout option increased to 20 minutes: steps: - name: 'gcr.io/cloud-builders/gcloud' args: ['app', 'deploy'] timeout: 1200s I have a Trigger setup in GCB connected to a Bitbucket Repo and when I push a

Is there any api for reverse image search for android as powerful as Google reverse image search? [closed]

纵然是瞬间 提交于 2020-06-27 05:35:10
问题 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 8 days ago . Improve this question I want to do reverse image search in my android app. I need some api as powerful as google reverse image search. Is there any google reverse image search api for android? weather free or non-free I also found google cloud vision api but the results - at least in it

URLs not found after deploying create-react-app build to Google Cloud Platform

女生的网名这么多〃 提交于 2020-06-26 21:18:24
问题 I've uploaded a create-react-app build (with an app.yaml file) to a GCP bucket. The app has then been deployed on a App Engine instance using the cloud shell. Going to the app's root URL works fine. But going to example.com/anything returns the following error: Error: Not Found The requested URL /anything was not found on this server. App.yaml file looks like this: runtime: python27 api_version: 1 threadsafe: true handlers: - url: /(.*\.(html|css|js)) static_files: build/\1 upload: build/(.*\

URLs not found after deploying create-react-app build to Google Cloud Platform

瘦欲@ 提交于 2020-06-26 21:16:31
问题 I've uploaded a create-react-app build (with an app.yaml file) to a GCP bucket. The app has then been deployed on a App Engine instance using the cloud shell. Going to the app's root URL works fine. But going to example.com/anything returns the following error: Error: Not Found The requested URL /anything was not found on this server. App.yaml file looks like this: runtime: python27 api_version: 1 threadsafe: true handlers: - url: /(.*\.(html|css|js)) static_files: build/\1 upload: build/(.*\

Run a cron job only once after a set time

与世无争的帅哥 提交于 2020-06-26 07:44:12
问题 I need to run a cron job to perform a specific cloud function after a set interval only once but a bit unsure of how to do it. Is there any way to do this through the current google cloud platform? 回答1: Update following our discussion below through comments: If you want to "change a document in your Firestore database 2 hours after it has been created" you could do as follows: When creating the document in Firestore, save the date/time of creation, e.g. with firebase.firestore.FieldValue

The authenticated user has not granted the app xxx write access to the child file xxx, which would be affected by the operation on the parent

こ雲淡風輕ζ 提交于 2020-06-26 04:11:42
问题 I hit the below error when trying to insert the permission "code": 403, "message": "The authenticated user has not granted the app xxx write access to the child file xxx, which would be affected by the operation on the parent" Here is what I am doing We have two Google Account, 1. API Account - we used to create folder and change the ownership to Business account 2. Business Account - upload a file now we try to share to folder to customer and we hit the above error And here I using OAuth 2.0

Map subdomain to specific service on app engine

自闭症网瘾萝莉.ら 提交于 2020-06-25 22:08:46
问题 I want to map notification.api.example.co.uk to a specific app engine service called notification-api I've added a custom domain on app engine called api.example.com successfully, so was hoping the following dispatch.yaml would be sufficient: dispatch: - url: "notification.api.example.co.uk/*" service: notification-api I was hoping, therefore, any request, for example, a POST to notification.api.example.co.uk/test-api would route the request to service and render a response, but it doesn't