Skip to content

Hangs on 1.7.3 #25

@NathanPages

Description

@NathanPages

I have been trying to use this library with julia 1.7.3:

using gRPCClient
gRPCClient.generate("PATH_TO_GRPC/grpc/examples/protos/helloworld.proto")
  • Calling on the julia side using:
using gRPCClient

# Helloworld related
include("PATH_TO_PROTOCODE/HelloworldClients.jl")
using .HelloworldClients
import .HelloworldClients: HelloRequest, HelloReply, SayHello

Base.show(io::IO, hello_request::HelloRequest) =
    print(io, hello_request.name)
Base.show(io::IO, hello_reply::HelloReply) =
    print(io, hello_reply.message)

hello_request = HelloRequest(; name ="Something");
client = GreeterBlockingClient("0.0.0.0:50051");

result, status = SayHello(client,hello_request);
println(gRPCCheck(status))
println(result)

The script above hangs at the line SayHello(client,hello_request); with no error message.

I have tried with Julia 1.6.6 and it works no hanging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions