Giter VIP home page Giter VIP logo

Comments (12)

javierconcha avatar javierconcha commented on July 26, 2024

I got the same error after rebooting remotely.

from hypernets_tools.

jkuusk avatar jkuusk commented on July 26, 2024

Is the virtualhub service running?
systemctl status yvirtualhub.service

from hypernets_tools.

javierconcha avatar javierconcha commented on July 26, 2024

I got this:

[hypernets@hypernets-cnr1 hypernets_tools]$ systemctl status yvirtualhub.service
● yvirtualhub.service - Yoctopuce VirtualHub
     Loaded: loaded (/etc/systemd/system/yvirtualhub.service; enabled; vendor preset: disabled)
     Active: active (running) since Tue 2021-02-23 11:51:33 CET; 4h 36min ago
   Main PID: 341 (VirtualHub)
      Tasks: 4 (limit: 4573)
     Memory: 6.0M
     CGroup: /system.slice/yvirtualhub.service
             └─341 /usr/sbin/VirtualHub -c /etc/vhub.byn

feb 23 11:51:33 hypernets-cnr1 systemd[1]: Started Yoctopuce VirtualHub.
feb 23 11:51:33 hypernets-cnr1 VirtualHub[341]: Cannot register service: RPC: Unable to receive; errno = Connection refused

from hypernets_tools.

jkuusk avatar jkuusk commented on July 26, 2024

That looks good. I've seen the 489 error only once and it was fixed after reboot (the Yoctopuce rebooted itself and hence also the rugged PC shortly after that error)

from hypernets_tools.

javierconcha avatar javierconcha commented on July 26, 2024

In my case, the Yoctopuce did not reboot itself after one day. I try to interact with the system, but I get the same error, e.g.,

[hypernets@hypernets-cnr1 hypernets_tools]$ python3 -m hypernets.scripts.relay_command -n3 -soff
init error:Unable to connect to server (ytcp:489)

from hypernets_tools.

javierconcha avatar javierconcha commented on July 26, 2024

@jkuusk, @corizzi, is there a way to reboot the Yoctopuce remotely?

from hypernets_tools.

jkuusk avatar jkuusk commented on July 26, 2024

If you are unable to connect to the yoctopuce then I think only way of rebooting it is power cycling. Unless you can control the power source remotely I think it is not possible to reboot the yoctopuce.

from hypernets_tools.

javierconcha avatar javierconcha commented on July 26, 2024

@jkuusk, @clemgoyens, all partners,

From your experience, could this happen on the field? Should we be thinking of a solution, like a remotely controlled switch?

from hypernets_tools.

jkuusk avatar jkuusk commented on July 26, 2024

Yoctopuce itself was supposed to be that switch. In my experience I have not seen such an issue that the yoctopuce is inaccessibe for extended period of time. I've seen occasional errors of not being accessible, I've seen yoctopuce rebooting at random moments, I've seen some commands (switching relays) blocking for nearly 20 minutes.

Can you connect to the yoctopuce web interface from a browser or that one is inaccessible too? Can you ping the yoctopuce?

from hypernets_tools.

javierconcha avatar javierconcha commented on July 26, 2024

Yes, we can ping and connect to the Yoctopuce by the web interface:

[hypernets@hypernets-cnr1 ~]$ ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.070 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.146 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.090 ms

We have a different error now, when pressing the connection button in the gui:

[hypernets@hypernets-cnr1 hypernets_tools]$ python -m hypernets.gui
init error:ytcp:650:tcp(113):No route to host

from hypernets_tools.

jkuusk avatar jkuusk commented on July 26, 2024

You are pinging the localhost. Can you ping the yoctopuce IP from the rugged PC (yoctopuce_ip parameter in the configuration file, probably 10.42.0.something)?

from hypernets_tools.

javierconcha avatar javierconcha commented on July 26, 2024

The last time I encounter this error, I could not ping to 10.42.0.X. I have not encountered this error anymore.

from hypernets_tools.

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.