GithubHelp home page GithubHelp logo

Info message sends blank `DevId` about eve HOT 6 CLOSED

lf-edge avatar lf-edge commented on July 23, 2024
Info message sends blank `DevId`

from eve.

Comments (6)

eriknordmark avatar eriknordmark commented on July 23, 2024

Looking at the code I see the info (device and app) as well as metrics messages all consistently using the zcdevUUID, which is set first from /config/uuid, and later potentially updated from the UUID in the reply to the GET of /config.

@deitch can you check that you are setting a uuid in the config payload, and what /config/uuid contains when using your controller?

from eve.

deitch avatar deitch commented on July 23, 2024

It is possible that the config message was misconfigured. If so, that would do it. I will check it out early next week (traveling now).

from eve.

deitch avatar deitch commented on July 23, 2024

Question: assuming this is the problem, should the device in some way validate the config to say, "I don't have a valid UUID" or "the UUID in this GET /config is different from the last one", and some way to tell the Controller that it has that issue?

from eve.

deitch avatar deitch commented on July 23, 2024

I checked an actually zedcloud-generated config, it has the same structure, specifically:

{
  "id": {
    "uuid": "abcd-546-abcdf"
  }
}

The auto-generated one is:

{
  "id": {
    "uuid": "bd2c05c0-f7ec-4db3-9a54-acaea973ab43",
    "version": "4"
  }
}

So they do align. Looks like need to dig deeper.

from eve.

rvs avatar rvs commented on July 23, 2024

@nordmark already fixed it in the EVE I believe

from eve.

eriknordmark avatar eriknordmark commented on July 23, 2024

FIXED by 4722372#diff-83f59c66c1453f094f27390ffa085704

from eve.

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.