Not an expert of cloudrun or grpcurl. But it seems straightforward. What's the result of `gcurl grpc-cloud-run-example-server-xxx-xx.x.run.app:443 list` ?
On Sun, Mar 7, 2021 at 2:32 AM [email protected] <[email protected]> wrote: > My server is supporting reflection and deployed to GCP CloudRun. > > How to run the same command to list the service hosted in CloudRun? > I can get the endpoint like this: > > ENDPOINT=$(\ > gcloud run services list \ > --project=${GCP_PROJECT} \ > --platform=managed \ > --format="value(status.address.url)" \ > --filter="metadata.name=${GCP_SVC_NAME}") > ENDPOINT=${ENDPOINT#https://} && echo ${ENDPOINT} > > The result looks like this: > grpc-cloud-run-example-server-xxx-xx.x.run.app > > The grpcurl for listing the services is documented like this: > grpcurl localhost:8080 list > > It is expecting the port number. In cloud run 8080 is the port number of > the service but > externally it is 443 because of TLS. > > How to list the services in that case? > > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/113cc60a-155b-492a-813a-bd31f5f4c1fdn%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/113cc60a-155b-492a-813a-bd31f5f4c1fdn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAABt8Y_W8TKvoQU6Pm1BSLwZZ7mB3S07iT9KADzT2p1VuuN0Fg%40mail.gmail.com.
