You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Proxy is throwing different error on different environment with the version (from v6.0.0-beta.20 to v6.0.8), it was working fine in v6.0.0-beta.19.
On Windows machine:
Waiting for the debugger to disconnect...
node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: Unknown error] { errno: 10045, code: '' }
On Ubuntu machine:
Debugger attached.
Waiting for the debugger to disconnect...
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: Operation not supported] { errno: 95, code: 'ENOTSUP' }
import{Proxy,Router,Dealer}from"zeromq"// Proxy between a router/dealer socket for 5 seconds.constproxy=newProxy(newRouter,newDealer)awaitproxy.frontEnd.bind("tcp://*:3001")awaitproxy.backEnd.bind("tcp://*:3002")setTimeout(()=>proxy.terminate(),5000)awaitproxy.run()// <-- This line throws unknown error on Windows, ENOTSUP on Linux
Downgrade zeromq.js to v6.0.0-beta.19 then the code will not throw error.
Expected behavior
Proxy should be working correctly without throwing error like with previous version.
Describe the bug
Proxy is throwing different error on different environment with the version (from v6.0.0-beta.20 to v6.0.8), it was working fine in v6.0.0-beta.19.
On Windows machine:
On Ubuntu machine:
Reproducing
Using example from the official documentation:
Downgrade zeromq.js to v6.0.0-beta.19 then the code will not throw error.
Expected behavior
Proxy should be working correctly without throwing error like with previous version.
Tested on
The text was updated successfully, but these errors were encountered: