Git Product home page Git Product logo

Comments (2)

Pack3tL0ss avatar Pack3tL0ss commented on July 17, 2024

If they are both on the same L2 subnet (sounds like that's the case via the LAN side connection), then yes they should see each other.

Verify with consolepi-status that nothing has happened to the mdns daemons. They should be active/running and double check the status output to ensure there are not exceptions. Same for consolepi-api as it's required to get full details from a discovered remote.

On one of the systems use consolepi-browse which will shut down the consolepi-mdnsbrowse daemon and start the browser script in shell with output. If it discovers a remote it will display if it has an asterisk next to the hostname in the list that means that indicates new or updated data for that remote which results in an update to the local cache (which is cloud.json)

beyond that you can try capturing the logs after restarting the services (restarting the services just so we get any startup logs). Here is a kinda secret convenience command I use for that
consolepi-sync -nopull -reload
Then to tail the logs consolepi-logs -f

The issue may be with the Tagged interface. There is a limit to how much you can put into an mdns payload. If the payload is too big (it's essentially the output of consolepi-details local then it will strip the adapters from the payload, if it's still too big with the adapters removed the only option left is the interfaces so it will actually strip any interfaces with a '.' in them (so it will remove all the tagged interfaces).

I'll re-work it if that ends up being the issue. As long as the receiving side has the IPs to try it can query the full details via the API. So I could just strip the mdns payload down to hostname, cpuserial, and list of IPs. The receiving side would query for full details via the API.

If that's what's causing the issue

from consolepi.

cadirol avatar cadirol commented on July 17, 2024

Hi
After a consolepi-sync -nopull -reload the discovery on both ConsolePIs worked well. now i can see all Serial adapters on both ends.
Thank you for the hint with the reload command!

to shorten the mDNS message would be good in any case. I assume a ConsolePI with 12 Serial adapters is too big for a mDNS payload?!
And the strategy to send only the host and IP and cpuserial would be nice, as long you have a API to call!

Thank you very much! We can close the issue now.

from consolepi.

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.