Questions tagged [google-cloud-proxy]
13 questions
4
votes
2 answers
Is it possible to delete "classic" ssl certificates from a target-https-proxy?
I recently updated a target-https-proxy to use a certificate map:
$ gcloud compute target-https-proxies list
NAME SSL_CERTIFICATES URL_MAP …

Gillespie
- 5,780
- 3
- 32
- 54
4
votes
1 answer
googleapi: Error 503: Policy checks are unavailable., backendError
I am getting googleapi: Error 503: Policy checks are unavailable., backendError when I try to connect my PostgreSQL instance hosted in gcp.
I am using ./cloud_sql_proxy to make the connection.
I already tried to relogin using gcloud auth login and…

Muhammad Hammad Khan
- 41
- 2
4
votes
1 answer
Spring boot and GCP - Connecting Cloud SQL instance with spring-cloud-gcp-starter-sql-postgresql tries SSL and it delays to start
I have a Spring boot project that should connect with an instance of Cloud SQL with spring-cloud-gcp-starter-sql-postgresql in order to avoid the explicit use of an IP in the project.
So far, It connects well but it delayed a lot (around 30 seconds…

Ramon Paris
- 127
- 2
- 11
2
votes
1 answer
SQL Cloud Proxy keeps restarting the connection when used as a sidecar
I'm having a weird issue with SQL Proxy when I use it as a sidecar with my deployment on my Kubernetes cluster. In summary, it keeps closing the connection for the client then opening a new one right away without causing any fatal exception!
My…

hasan.alkhatib
- 1,509
- 3
- 14
- 28
2
votes
1 answer
How to fix connectex error when trying to access SQL Server instance on Cloud SQL using SSMS via Proxy
What I'm trying to do
I am trying to manage my SQL Server instance on Cloud SQL (GCP) with SQL Server Management Studio (SSMS).
What I've done
I followed the steps in the Google Cloud documentation (here).
I followed steps 1-5 (condensed version…

ctwheels
- 21,901
- 9
- 42
- 77
2
votes
1 answer
Cloud sql proxy not working from docker container
My application is running on docker container and deployed with google compute groups and autoscalling enabled.
The problem iam facing is connecting mysql instance from auto-scaled compute instances but its not working expected.
Dockerfile
FROM…

narayansharma91
- 2,273
- 1
- 12
- 20
1
vote
1 answer
Google Cloud SQL + Go Gin connection timeout with 200 concurrent
I was trying to do load testing for the production. I see a lot of errors get from Google Cloud SQL "connection timeout". Firstly, I was trying to increases the Google SQL instance to higher, but the errors still happened.
FYI, I run an application…

ALTELMA
- 135
- 4
- 16
1
vote
2 answers
GCP IAM access to postgres SQL in GCP
I am trying to connect to GCP cloud sql(postgres) using pgadmin tool with IAM user but not able to login.
I have connected through the Cloud sql proxy and getting authentication failed when I try to login.
Nothing much on GCP logs except the below…

A K
- 76
- 8
0
votes
0 answers
Apache2 RemoteIP module returns 0.0.0.0 when RemoteIPHeader X-Forwarded-For is set
The Apache is running behind Google HTTPS Proxy. Apache RemoteIP module is enabled which seems to work fine. Some requests are flagged in PHP code when Remote IP is 0.0.0.0. After investigation it is guessed that for some X-Forwarded-For IP list…

Sharad Upadhyay
- 65
- 8
0
votes
0 answers
Sequelize migrations - Google cloud build trigger
I am currently trying to host a typescript/sequelize project in Google cloud build.
I am connecting through a unix socket and cloud sql proxy.
The app is deployed and a test running "sequelize.authenticate()" seems to be working.
Migrations to…
0
votes
1 answer
Connecting to Cloud SQL using Compute Engine via JDBC
I cannot connect to my database thru Compute Engine.
Things I have done so far:
Setup my Compute Engine
Connect my Compute Engine to my Cloud SQL
Install and run Cloud Proxy on my Compute Engine
Included the JDBC Jar file on my libs folder
Created…

Erma Win
- 1
- 1
-1
votes
1 answer
Error running: .\cloud_sql_proxy.exe for cloud sql connection
I recently got into developing with google cloud. Currently, I am working on connecting my app's backend to cloud SQL. I attempted to use the cloud SQL proxy to connect but I feel a bit confused with it.
When I run the command .\cloud_sql_proxy.exe…

JoeCodes
- 35
- 6
-4
votes
1 answer
Error while connecting to a cloud sql instance via cloud proxy in django using cloud run
I am trying to connect to cloud-sql for a django project in cloud run which is being deployed through cloud run in production. However Django throws me an error saying
Error: 'asia-south1' is not a valid port number.
My database settings in…

varun krishna
- 173
- 1
- 2
- 9