firefly icon indicating copy to clipboard operation
firefly copied to clipboard

Status call returns error when node is not registered to a multiparty namespace

Open chrisbygrave opened this issue 1 year ago • 1 comments

Before this change I could register my org using the org/self API, and then subsequently register my node using self/node. In the time between the two registrations completing successfully, FireFly ran normally and I could call /status to check on the completion of the registration calls.

After the above change, I am getting an error from the /status call:

{"error":"FF10225: Unable to resolve the local node. Please ensure node.name is configured"}

It looks like the change has resulted in the missing node name being treated as an error rather than an acceptable state. This makes client logic more difficult to manage - if registration requires two separate asynchronous calls, then being in a state where one has completed without the other needs to be tolerated.

chrisbygrave avatar Jan 23 '24 14:01 chrisbygrave

Thanks @chrisbygrave - I think it's worth considering https://github.com/hyperledger/firefly/issues/1450 alongside this when we get an owner, as they're likely to be architecturally in the same place

peterbroadhurst avatar Jan 23 '24 15:01 peterbroadhurst

Now fixed by https://github.com/kaleido-io/firefly/pull/102

chrisbygrave avatar May 13 '24 10:05 chrisbygrave