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

feat: ability to manually specify additional multiaddrs #1475

Closed
1 task
mfw78 opened this issue Jan 4, 2023 · 4 comments · Fixed by #1509 or #1512
Closed
1 task

feat: ability to manually specify additional multiaddrs #1475

mfw78 opened this issue Jan 4, 2023 · 4 comments · Fixed by #1509 or #1512
Assignees

Comments

@mfw78
Copy link

mfw78 commented Jan 4, 2023

Problem

As a node operator, if I have followed the 'listening on websocket to enable connections with waku v2 browser peers tutorial, my node will not advertise wss on disc.

This is a problem in all cases where SSL termination is handled upstream of the nwaku / websockify node combination, such as:

  • Kubernetes deployments using ingress proxies.
  • Dappnodes (my case) that use an NGINX HTTPS proxy that abstracts away SSL termination / letsencrypt / DNS config.

Suggested solution

Provide a configuration option (CLI and environment variable) that allows for manually specifying additional multiaddrs that are to be advertised on disc protocols.

Alternatives considered

It was also considered to use the --websocket-support:true flag for normal ws (albeit on port 8000), though in this configuration, using the light-js client to attempt to dial the node (being behind a dappnode's HTTPS NGINX proxy, forwarded to the websocket port of 8000), the light-js client failed to dial. It was determined that only with websockify forwarding to port 60000 on nwaku was I able to dial using light-js.

Nonetheless, this alternative would still not solve the issue of correctly advertising wss and ws on the correct IANA-specified ports.

Acceptance criteria

For this feature to be deemed accepted, a node operator should be able to:

  • Specify additional multiaddrs on which their node is dialable (ws, and wss).
@jm-clius
Copy link
Contributor

jm-clius commented Jan 4, 2023

Thanks for this issue!

@alrevuelta
Copy link
Contributor

Not sure if we can close this? see comment

@jm-clius jm-clius reopened this Jan 26, 2023
@jm-clius
Copy link
Contributor

Indeed. Re-opening.

@rymnc
Copy link
Contributor

rymnc commented Jan 26, 2023

The PR autoclosed it :/

@jm-clius jm-clius moved this from Done to In Progress in Waku Jan 30, 2023
@rymnc rymnc moved this from In Progress to Code Review / QA in Waku Feb 7, 2023
@github-project-automation github-project-automation bot moved this from Code Review / QA to Done in Waku Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
4 participants