Coder Social home page Coder Social logo

sudo node rpos.js about rpos HOT 4 CLOSED

breeeze avatar breeeze commented on June 28, 2024
sudo node rpos.js

from rpos.

Comments (4)

edbir1 avatar edbir1 commented on June 28, 2024

Is there any movement on this error? I am receiving the same error. And it does it on media_service.start(), ptz_service.start() and imaging_service.start()

Starting camera settings webserver on http://192.168.5.181:18082/
Binding DeviceService to http://192.168.5.181:18082/onvif/device_service
Binding ImagingService to http://192.168.5.181:18082/onvif/imaging_service
Uncaught Exception... : Error [ERR_SERVER_ALREADY_LISTEN]: Listen method has been called more than once without closing.
at Server.listen (net.js:1425:11)
at ImagingService.SoapService.start (/home/pi/rpos/lib/SoapService.js:26:24)
at Object. (/home/pi/rpos/rpos.js:36:17)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
at startup (internal/bootstrap/node.js:201:19)
pi@raspberrypiADSB:/rpos $ node -v
v9.11.2
pi@raspberrypiADSB:
/rpos $ npm -v
5.6.0

from rpos.

edbir1 avatar edbir1 commented on June 28, 2024

it appears that rpos does not like Node v9. Node v8.11.1 will work.

from rpos.

RogerHardiman avatar RogerHardiman commented on June 28, 2024

Thanks for this. Have updated Readme to say it works with v6 and v8

from rpos.

RogerHardiman avatar RogerHardiman commented on June 28, 2024

Good news.
I have upgrade one of my machines to Node V10 and I could re-create the [ERR_SERVER_ALREADY_LISTEN] issue you had reported.
The problem was caused by a change to the http and network libraries in NodeJS so it threw an error/exception rather than just ignoring a problem.

I've now fixed the problem in the source code of RPOS.

Thanks for the Problem Report

from rpos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.