I tried setting up gRPC server using the example: http://github.com/fly-apps/grpc-service
The app builds and deploys without any issue and is available as usual at <app_name>.fly.dev
Failed to dial target host "<app_name>.fly.dev:443": remote error: tls: no application protocol
Not able to connect via the gRPC client. Can someone help?
We had to rollback our gRPC server release due to the same reason as we validated with multiple gRPC servers - all facing this same issue!
Resolved:
I had to set handlers: in tcp as our gRPC server is insecure.
This is more of a workaround (disabling TLS) than a solution, right?
Because having handlers: ["tls"] should cause the Fly proxy to terminate TLS and then forward a plaintext connection to your service, so it should work with an insecure/plaintext gRPC server - see Deploy gRPC and gRPC-Web Services · Fly Docs.
And it seems to have worked until recently - is this a behaviour change or a regression?