hashicorp/yamux

yamux: Invalid protocol version: 123

da-tai opened this issue · 0 comments

How do I fix this issue? Regular io.copy with net.Listen and net.Dial works but when trying net.Listen and session.Open(stream), I get the error yamux: Invalid protocol version: 123

io.Copy(conn, remote) go io.Copy(remote,conn)

Works

io.Copy(conn, stream) go io.Copy(stream ,conn)

yamux: Invalid protocol version: 123