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

Relaying failed on data receive #156

Open
panekzogen opened this issue Oct 26, 2023 · 0 comments
Open

Relaying failed on data receive #156

panekzogen opened this issue Oct 26, 2023 · 0 comments

Comments

@panekzogen
Copy link

Hi,
I found that you have recently implemented connection relaying feature, and I would like to try to configure it.
But it fails when I try to send any data

E:\work\holepunch-test\node_modules\blind-relay\index.js:271
    this.stream = this.session._server._createStream({
                                       ^

TypeError: this.session._server._createStream is not a function
    at BlindRelayLink.createStream (E:\work\holepunch-test\node_modules\blind-relay\index.js:271:40)
    at BlindRelaySession._onpair (E:\work\holepunch-test\node_modules\blind-relay\index.js:157:12)
    at Object.recv (E:\work\holepunch-test\node_modules\protomux\index.js:199:26)
    at Channel._recv (E:\work\holepunch-test\node_modules\protomux\index.js:155:27)
    at Protomux._decode (E:\work\holepunch-test\node_modules\protomux\index.js:458:15)
    at Protomux._ondata (E:\work\holepunch-test\node_modules\protomux\index.js:422:12)
    at NoiseSecretStream.emit (node:events:517:28)
    at ReadableState.drain (E:\work\holepunch-test\node_modules\streamx\index.js:334:64)
    at ReadableState.update (E:\work\holepunch-test\node_modules\streamx\index.js:344:12)
    at ReadableState.updateReadNT (E:\work\holepunch-test\node_modules\streamx\index.js:525:10)

Node.js v18.18.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant