Skip to content
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

helloworld.greeter.SayHello got INTERNAL_ERROR #42

Closed
RaymondKYLiu opened this issue Apr 19, 2018 · 6 comments
Closed

helloworld.greeter.SayHello got INTERNAL_ERROR #42

RaymondKYLiu opened this issue Apr 19, 2018 · 6 comments

Comments

@RaymondKYLiu
Copy link

RaymondKYLiu commented Apr 19, 2018

Thanks for your awesome gRPC tool.

I build the gRPC example https://github.com/grpc/grpc/tree/master/examples/cpp/helloworld
And run up the greeter_server, but I got an INTERNAL_ERROR code returned from evans.
screenshot from 2018-04-19 17-35-37

I am sure the server is running up, because I test with greeter_client.

Evans version: 0.2.8
OS Platform: Ubuntu 16.04, MacOS High Sierra 10.13.3
gRPC Version: v1.10.0

@ktr0731
Copy link
Owner

ktr0731 commented Apr 20, 2018

thanks for pointing out an issue.
I'll investigate the cause but before it, can you tell me about these questions?

  • the gRPC server has recorded some error log?
  • at all times, Evans returns this error?

@RaymondKYLiu
Copy link
Author

  • No error log recorded from gRPC server.
  • Yes, always return this error. rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: INTERNAL_ERROR

@RaymondKYLiu
Copy link
Author

I have try another gRPC tools: omgRPC and grpcc, and they works.

@ktr0731
Copy link
Owner

ktr0731 commented Apr 25, 2018

@RaymondKYLiu
it seems to occur when a gRPC request has headers which has same key greater than one.
a temporarily solution is to remove user-agent: evans header config from ~/.config/evans/config.toml.
the problem is not occurring at other servers implemented other languages like Go.
after your comment has arrived, I'll close this issue and create the more described issue.

@RaymondKYLiu
Copy link
Author

@ktr0731
Thanks, this problem is not occurring.
Solution: comment the header

  [[request.header]]
   # key = "user-agent"
   # val = "evans"

@ktr0731
Copy link
Owner

ktr0731 commented May 5, 2018

ok, looks good. and I created new issue related to this problem.
so, I close this issue.

@ktr0731 ktr0731 closed this as completed May 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants