Skip to content

Weird behaviour when channelling go-capnproto2 over websocket #111

Closed
@Vaelatern

Description

@Vaelatern

My setup is a little convoluted. I use capnproto rpc over websockets (to simplify deployment) between my programs. However, the websocket server keeps failing to read a header somehow and crashes.

rpc: writing return: failed to write msg: websocket closed: failed to read header: EOF

and on the Dialer side:

rpc: writing finish: failed to write msg: context canceled

Sometimes both ends cancel their contexts at the same time. I'm not sure why.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions