jegnux
PROOP
a year ago
I have a backend developed in Swift / Vapor that exposes en GRPC server for my mobile app. In staging environment, with the railway proxied domain and port, it works great. But in production I wanted to setup a custom domain, but it doesn't work (GRPC Error : deadlineExceeded) . I'm not sure if it's because of the custom domain name or something else (I'm a mobile developer, and backend / infra is quite new for me 😇)
4 Replies
a year ago
gRPC uses HTTP/2, The domains may accept HTTP/2 traffic but they will demux down to HTTP/1.1 breaking gRPC in the process, you would need to continue using the TCP Proxy.
a year ago
correct