-
Notifications
You must be signed in to change notification settings - Fork 148
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
ERR_SERVER_ALREADY_LISTEN #50
Comments
Thanks for the issue report. What version of Node are you running? |
Just realised this is a bug report for rpos-gateway. That is a different project, forked from RPOS. You will need to contact the rpos-gateway team. If you can recreate the issue with RPOS then please create a new Problem Report and I can take a look. |
Hi @dony71 Anyway I've fixed RPOS so it no longer triggers ERR_SERVER_ALREADY_LISTEN when running on Node version 10. |
Read IP address 10.168.1.40 from eth0
Manufacturer : Banana Pi
Model : M2+
HardwareId :
SerialNumber : 02c000812232c635
FirmwareVersion : 0.2.1
Binding DeviceService to http://10.168.1.40:8880/onvif/device_service
Binding MediaService to http://10.168.1.40:8880/onvif/media_service
net.js:1372
throw new ERR_SERVER_ALREADY_LISTEN();
^
Error [ERR_SERVER_ALREADY_LISTEN]: Listen method has been called more than once without closing.
at Server.listen (net.js:1372:11)
at MediaService.SoapService.start (/root/rpos-gateway-0.2.1/lib/SoapService.js:26:24)
at Object. (/root/rpos-gateway-0.2.1/rpos-gateway.js:42:15)
at Module._compile (internal/modules/cjs/loader.js:688:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10)
at Module.load (internal/modules/cjs/loader.js:598:32)
at tryModuleLoad (internal/modules/cjs/loader.js:537:12)
at Function.Module._load (internal/modules/cjs/loader.js:529:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:741:12)
at startup (internal/bootstrap/node.js:285:19)
The text was updated successfully, but these errors were encountered: