-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting "weird server reply" #8
Comments
@serchavalos Hi. I assume that curl does not have function to talk with gRPC server by http. |
@YoshiyukiKato yes, you are right. I'm using https://github.com/grpc/grpc-web/ and thus communicates over http. my bad. Thanks anyway |
@serchavalos OK, I see. Could you show me your server app code? I never use grpc-web with grpc-mock. |
@YoshiyukiKato, unfortunately, I don't have an example, but the server code is written in Go. The client in the browser which is produced by grpc-web from the proto files that these two pieces share |
Hello!
I tried this service last weekend, when I got the mock server up and running, I tested using cURL and got a "Weird server reply"
curl 'http://localhost:8080/s12.iot.v1.DevicesService/ListDevices' -X POST -I curl: (8) Weird server reply
Do you know if there something obvious I'm skipping?
Cheers!
The text was updated successfully, but these errors were encountered: