I'm using this command to create a proxy from localhost to my GCP Cloud Run app: "gcloud run services proxy my-cloudrun-app --region=europe-west6."
However, it does resolve to a wrong URL "https:/my-cloudrun-app-wxyz-oa.a.run.app" instead of the correct one "https:/my-cloudrun-app-abcd-oa.a.run.app" which is display in my cloud run service. Apparently the wrong one is an old one of a previous service which is not existing anymore...
Any idea how to fix it?
Hi @pdf_pdf,
Welcome to Google Cloud Community!
I understand that you are having an issue with your Cloud Run app resolving to a wrong URL despite the fact that the service is not existing anymore.
Have you tried to clear the cache of your browser? If not, I suggest doing it as it caches or stores some information from your previous deployment.
If the proxy is still resolving to the wrong URL, you may try to delete your service and deploy it again with a different service name.
I hope the above information is helpful.