When adding ConnectRPC support #1524 deprecated support of GRPCGateway was enabled through a loopback call. This worked fine when running the server with servicemesh TLS termination, but when running with TLS termination at the server the loopback request would fail due to service name mismatch.
To resolve this, we need to update the GRPCGateway registration to use the in-process connection.
When adding ConnectRPC support #1524 deprecated support of GRPCGateway was enabled through a loopback call. This worked fine when running the server with servicemesh TLS termination, but when running with TLS termination at the server the loopback request would fail due to service name mismatch.
To resolve this, we need to update the GRPCGateway registration to use the in-process connection.