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: websockets do not work in nodejs environment #2209

Open
weboko opened this issue Jan 16, 2025 · 1 comment
Open

bug: websockets do not work in nodejs environment #2209

weboko opened this issue Jan 16, 2025 · 1 comment
Assignees

Comments

@weboko
Copy link
Collaborator

weboko commented Jan 16, 2025

Description

Following NodeJS app seems to fail to work with WSS so that it fails to connect to nodes with it. All good with TCP.
This task is to confirm if js-waku can be used with WSS in NodeJS environment.

Expected Behavior

We expect NodeJS to be able to work with WSS though it is not officially supported by us.

Steps to Reproduce

  1. Run the example with defaultBootstrap: true
  2. Try to send message and receive.
  3. See if any problems occur with WSS.

Environment Details

Run in NodeJS.

Notes

Example - https://github.com/Shelvak/Waku-testing/blob/0a52c699cb49eb801c23ca17340f0caeb29a0bb6/common.ts#L90

@weboko
Copy link
Collaborator Author

weboko commented Jan 24, 2025

@adklempner anything to summarize here and do we have anything to publish on docs section in order to communicate WSS capabilities of js-waku?

And I believe it is in progress, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Do
Development

No branches or pull requests

2 participants