libp2p / libp2p/rust-libp2p

Rust Websocket_websys can not dial to tls/ws secure websocket (libp2p-go)

Open
#5,975 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
5.6k
Forks
1.3k
Avg merge
8h 47m
Merged PRs (30d)
19

Description

Summary

While trying to dial a secure websocket underlay, I/O error broken pipeline occured at multi_stream upgrade
Tried with yamux as well as mplex. Can not find any configuration options in connection with TLS client for websocket_websys.

Expected behavior

We need websocket_websys to be able to dial to wss endpoints.

Actual behavior

I/O error broken pipeline

Relevant log output

Possible Solution

No response

Version

Main branch latest

Would you like to work on fixing this bug?

Yes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing a secure websocket (wss) dial with websocket_websys on the main branch and inspect the multi_stream upgrade path, including the TLS client configuration. Compare behavior with yamux and mplex as reported, then verify that dialing a wss endpoint completes without the broken-pipeline I/O error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.