NestJS gRPC request not working
Our gRPC implemented Nestjs project deployed to Railway app but not working. (working fine locally.)
projectid: 041942d6-32b7-4958-a54f-d8e670d1dbcf
is Railway support gRPC or not ???
Solution:Jump to solution
We do not currently support gRPC on the http proxy.
gRPC uses HTTP/2 for transport.
While our proxy will accept HTTP/2 traffic it will demux it down to HTTP/1.1 thus breaking gPRC requests....
2 Replies
Project ID:
041942d6-32b7-4958-a54f-d8e670d1dbcf
Solution
We do not currently support gRPC on the http proxy.
gRPC uses HTTP/2 for transport.
While our proxy will accept HTTP/2 traffic it will demux it down to HTTP/1.1 thus breaking gPRC requests.
You would need to use the TCP Proxy and generate your own certificates.