google-cloud-platform

Signing key was not provided and could not be derived on google precondition

戏子无情 提交于 2021-02-11 12:46:13
问题 so i am trying to generate a signed url for uploading a file on Google cloud platform using java springboot following the instructions provided on .. https://cloud.google.com/storage/docs/uploading-objects#storage-upload-object-code-sample i am having a security key with all the permission. The problem is i am able to generate a signed url for uploading object with the documentation .when i am runnig the code in local . but in production I am getting the issue Caused by: java.lang

GKE Cluster autoscaler profile for older luster

社会主义新天地 提交于 2021-02-11 12:41:55
问题 Now in GKE there is new tab while creating new K8s cluster Automation - Set cluster-level criteria for automatic maintenance, autoscaling, and auto-provisioning. Edit the node pool for automation like auto-scaling, auto-upgrades, and repair. it has two options - Balanced (default) & Optimize utilization (beta) cant we set this for older cluster any work around? we are running old GKE version 1.14 we want to auto-scale cluster when 70% of resource utilization of existing nodes. Currently, we

Google Cloud PHP my admin is not getting connected with ssh

江枫思渺然 提交于 2021-02-11 12:30:25
问题 I've been trying connecting my PHP my admin via ssh Client tool putty, but my URL gets redirected to my website URL from 127.0.0.1:8888/phpmyadmin to example.com:8080/phpmyadmin which throws me the following error For security reasons, this URL is only accessible using localhost (127.0.0.1) as the hostname. 回答1: This is a built-in security feature. In order to access your server using SSH using Putty, you must create an SSH tunnel to route your request. I found this guide that explains in

Google speech to text node-record-lpcm16 stream error

梦想的初衷 提交于 2021-02-11 12:27:09
问题 I am setting up google's speech-to-text in a node/express environment on Google App Engine. I have an Angular app that communicates to the server via websockets. This all works perfectly on local host, but when my angular app points to the App Engine instance it does not. It can connect fine - sends connection msg back/forth. And it runs my google speech connection fine. However I get an error in the bit where i try to access the mic stream. The error message isn't much use: ERROR with

Google speech to text node-record-lpcm16 stream error

我是研究僧i 提交于 2021-02-11 12:26:14
问题 I am setting up google's speech-to-text in a node/express environment on Google App Engine. I have an Angular app that communicates to the server via websockets. This all works perfectly on local host, but when my angular app points to the App Engine instance it does not. It can connect fine - sends connection msg back/forth. And it runs my google speech connection fine. However I get an error in the bit where i try to access the mic stream. The error message isn't much use: ERROR with

How to update the Ansible gcp_container_cluster module?

孤者浪人 提交于 2021-02-11 12:10:21
问题 I'm facing a bug which I reported while using the gcp_container_cluster module. According to a comment on this bug This module is no longer maintained in this repository, and now located at https://github.com/ansible-collections/google.cloud/ Although the resulting module is located at the above repo, Google programmatically generates their modules, and the repo that houses the code to generate the module lives at https://www.github.com/GoogleCloudPlatform/magic-modules Thus I tried ansible

Keras Deploy for Tensorflow.js Usage

帅比萌擦擦* 提交于 2021-02-11 12:05:04
问题 I need to be able to deploy a keras model for Tensorflow.js prediction, but the Firebase docs only seem to support a TFLite object, which tf.js cannot accept. Tf.js appears to accept JSON files for loading (loadGraphModel() / loadLayersModel() ), but not a keras SavedModel (.pb + /assets + /variables). How can I attain this goal? Note for the Tensorflow.js portion: There are a lot of pointers to the tfjs_converter, but the closest API function offered to what I'm looking for is the

Frontend IP listen on HTTP and HTTPS on Google cloud internal HTTP(S) Load Balancing,

本秂侑毒 提交于 2021-02-11 09:46:43
问题 How can I configure Google cloud internal HTTP(S) Load Balancing to listen on HTTP and HTTPS with the same internal frontend IP. I get this error when trying: IP 'XX.XX.XX.XX' is already being used by another resource. note, on external HTTP/S load balancing it works perfect. 回答1: You can create more than one frontend for an Internal Load Balancer using different IPs, but you cannot use the same IP for more than one frontend. As per Internal l7LB limitations “Within each VPC network, each

Frontend IP listen on HTTP and HTTPS on Google cloud internal HTTP(S) Load Balancing,

若如初见. 提交于 2021-02-11 09:45:35
问题 How can I configure Google cloud internal HTTP(S) Load Balancing to listen on HTTP and HTTPS with the same internal frontend IP. I get this error when trying: IP 'XX.XX.XX.XX' is already being used by another resource. note, on external HTTP/S load balancing it works perfect. 回答1: You can create more than one frontend for an Internal Load Balancer using different IPs, but you cannot use the same IP for more than one frontend. As per Internal l7LB limitations “Within each VPC network, each

Generate JWT in Google cloud function - python

陌路散爱 提交于 2021-02-11 09:42:17
问题 I wrote a script and uploaded it to GCFunctions. Now, one of my functions is using PyJWT library in order to generate JWT for GCP API calls, the problem is that I keep getting errors every time I run the function. When I added pyjwt to 'requirements.txt' I got the error: 'Algorithm RS256 could not be found', then I tried to add cryptography (the encrypting library that pyjwt uses), and also tried pycrypto (for RS256 registering) but still nothing. I'd be grateful for some help here! even