TIBCOSoftware / mashling

Project Mashling
86 stars 15 forks source link

Errors observed when gateway acts as proxy between two grpc end points #245

Open ykalidin opened 6 years ago

ykalidin commented 6 years ago

1)Generate Test Utility binary from the attached main.go to create grpcserver.exe. go install ./... 2)Run the Server using the below command: grpcserver -server 3) Build the Mashling gateway from master and run the gateway with the attached configuration grpc-to-grpc.json. ./grpc-proxy-gateway -c grpc-to-grpc-gateway.json 4)Run the clients using the command grpcserver -client -port 9096 -method pet -param 2 -number 200

The below gateway logs are seen: 2018-09-24 11:48:14.807 ERROR [tibco-service-grpc] - Propagating error to calling function 2018/09/24 11:48:14 response: pet:<id:2 name:"cat2" > 2018-09-24 11:48:14.807 ERROR [tibco-service-grpc] - Error Details: rpc error: code = Unavailable desc = transport is closing

Note:The GRPC client is being stopped with the same error.rpc error: code = Unavailable desc = transport is closing attachments.zip