Skip to content

ERROR Channel is closed when streaming server close as expected #90

@xgdgsc

Description

@xgdgsc

when using grpc_async_await(req) in streaming client.

ERROR Channel is closed is thrown when streaming server close as expected like

ERROR: LoadError: InvalidStateException: Channel is closed.
Stacktrace:
 [1] grpc_async_await(req::gRPCRequest)
   @ gRPCClient ~/.julia/packages/gRPCClient/WDUmV/src/gRPC.jl:153
 [2] top-level scope
   @ ~/doc/Timberjack/scripts/runRtPrice.jl:23
 [3] include(mod::Module, _path::String)
   @ Base ./Base.jl:306
 [4] exec_options(opts::Base.JLOptions)
   @ Base ./client.jl:317
 [5] _start()
   @ Base ./client.jl:550
in expression starting at /home/user1/doc/Timberjack/scripts/runRtPrice.jl:23

Should exit normally without throwing the error.

EDIT: don' t use grpc_async_await(req) is fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions