Skip to content

bug: websockets do not work in nodejs environment #2209

@weboko

Description

@weboko

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions