Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - multiaddr "/ip4/0.0.0.0/tcp/8020" show MultiaddrNotSupported error #88

Closed
ljporljp opened this issue Nov 28, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@ljporljp
Copy link

Steps to Reproduce

  1. clone code
  2. Run example remote
  3. change multiaddr to "/ip4/0.0.0.0/tcp/8020"
  4. show the error "MultiaddrNotSupported"

Expected Behavior

support this multiaddr

Actual Behavior

can not listenon the multiaddr.

@ljporljp ljporljp added the bug Something isn't working label Nov 28, 2024
@tqwewe
Copy link
Owner

tqwewe commented Jan 5, 2025

Hi @ljporljp, is there a reason QUIC isn't suitable in your use case? Supporting both TCP and QUIC could be done with work, however its much simpler to continue just using QUIC

@tqwewe
Copy link
Owner

tqwewe commented Jan 10, 2025

This can now be done thanks to #111 by passing in your own libp2p swarm with

ActorSwarm::bootstrap_with_swarm(
    SwarmBuilder::with_new_identity()
        .with_tokio()
        .with_tcp(...)
        .with_behaviour(|keypair| ActorSwarmBehaviour::new(&keypair))
        .build()
);

@tqwewe tqwewe closed this as completed Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants