Open naorye opened 2 years ago
what are the log output of the ahmadnassri/action-google-cloud-sql-proxy@v1
step?
This is the log:
BTW, do I have to have public ip for the cloud sql instance?
I've seen an issue with GitHub actions where port 5432
is in use sometimes even if the proxy was able to attach to it (as per the log), we worked around it by changing the port settings on this action to 5430
and using that going forward...
give that a try.
also, no need to have a public IP
Thanks. Will check and report back.
@naorye I'm experiencing a similar issue, but switching the port didn't seem to resolve it for me. Did you have any luck with this?
@GusPrice Yes. You should enable public IP. If I remember correctly, this what solves the issue.
I cannot get it to connect, either
ended up switching the base image to a much newer version of sql proxy which is actually off a different image name: gcr.io/cloud-sql-connectors/cloud-sql-proxy
. This made the biggest difference for me
This is my action and it doesn't work. Getting:
What am I missing?