You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the example code, the client code is unable to connect to the server.
To Reproduce
Steps to reproduce the behavior:
Install deps and compile
mix do deps.get, compile
Run the server
mix run --no-halt
Run the client script
mix run priv/client.exs
Expected behavior
I would expect the request to happen completely with error.
Logs
**(Mix) Could notstartapplicationhelloworld: HelloworldApp.start(:normal,[]) returned an error: shutdown: failedtostartchild: GRPC.Server.Supervisor**(EXIT)shutdown: failedtostartchild: {:ranch_listener_sup,"Helloworld.Endpoint"}**(EXIT)shutdown: failedtostartchild: :ranch_acceptors_sup**(EXIT){:listen_error,"Helloworld.Endpoint",:eaddrinuse}
Protos
Here are the protos from this repository:
helloworld.proto:
syntax="proto3";
optionjava_multiple_files=true;
optionjava_package="io.grpc.examples.helloworld";
optionjava_outer_classname="HelloWorldProto";
optionobjc_class_prefix="HLW";
import"google/protobuf/timestamp.proto";
packagehelloworld;
// The greeting service definition.serviceGreeter {
// Sends a greetingrpcSayHello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.messageHelloRequest {
stringname=1;
}
// The response message containing the greetingsmessageHelloReply {
stringmessage=1;
google.protobuf.Timestamptoday=2;
}
Describe the bug
When I run the example code, the client code is unable to connect to the server.
To Reproduce
Steps to reproduce the behavior:
mix do deps.get, compile
Expected behavior
I would expect the request to happen completely with error.
Logs
Protos
Here are the protos from this repository:
helloworld.proto:
Versions:
Additional context
The text was updated successfully, but these errors were encountered: