Can't connect to my GRPC server in production (works in staging)
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

jegnux
PROOP

a year ago

514d89a5-dd8e-4c00-87ad-520e173a207f


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.


jegnux
PROOP

a year ago

so I can't use a custom domain at all right ?


a year ago

correct


Loading...