Code Monkey home page Code Monkey logo

Comments (6)

futomi avatar futomi commented on September 28, 2024 1

Thanks for your support.
I found the bug and fixed it.
Try the latest version of the node-onvif.
You can now use the npm command to update the node-onvif to the latest version.

from node-onvif.

futomi avatar futomi commented on September 28, 2024

What web browser did you use? I recommend the latest raspbian and the pre-installed chromium.

Though I tried RASPBIAN JESSIE WITH PIXEL + node v6 before, I accessed the server.js with PC remotely at that time. I did not try to use the pre-installed chromium on the Raspberry Pi 3. But I think that the spec of Raspberry PI 3 is too poor to run the server.js and the web application on the chromium on it.

from node-onvif.

StefanRu1 avatar StefanRu1 commented on September 28, 2024

Hi,
i use Rapberry PI3 and access the webserver server.js from a Windows PC with google chrome.
But also internet explorer did not work.

Should i use chromium on the repberry?

Best regards,
Stefan

from node-onvif.

futomi avatar futomi commented on September 28, 2024

i use Rapberry PI3 and access the webserver server.js from a Windows PC with google chrome.
But also internet explorer did not work.

Were any errors reported in the console of the google chrome? If any, can you give me the errors?

Should i use chromium on the repberry?

No. I recommend to use the google chrome on your Windows PC.

from node-onvif.

StefanRu1 avatar StefanRu1 commented on September 28, 2024

Hi futomi,

thanks for your answer.

In the console of chrome i have:
http://192.168.69.94:8880/favicon.ico Failed to load resource: the server responded with a status of 404 (Not Found)

onvif.js:89 WebSocket connection to 'ws://localhost:8880/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

OnvifManager.initWebSocketConnection @ onvif.js:89
onvif.js:95 WebSocket connection closed.

The first one 404 is just because of not present favicon. this should not matter.
The rest i do not know. It seems ws on 8880 is not working?

I connect on chrome to my raspberry with:
http://192.168.69.94:8880/

Thanks and best regards,
Stefan

from node-onvif.

StefanRu1 avatar StefanRu1 commented on September 28, 2024

Hi futomi,
thank you so much! Works like a charm now.

Best regards,
Stefan

from node-onvif.

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.