radicle-dev/radicle-upstream

User data can't be loaded for peers

rudolfs opened this issue · 0 comments

When I add a new remote to a project, it shows up in the remotes, but the Person data isn't present and the UI shows an error message.

Screenshot 2022-04-15 at 11 10 58

The remotes endpoint returns a 404 when queried for the newly added remote:

Request URL: http://127.0.0.1:40000/v1/identities/remote/rad:git:hnrkp3ubyais3punqwh97k5qutuzz8a7x7igy
Request Method: GET
Status Code: 404 Not Found

I also observe that the Person identity of the tracked remote only appears within the project's namespace and not on the top-level.

refs/namespaces » tree
.
├── hnrkdntc8dwscbpgwyxmzghkisfobykt6u5to  <- project identity
│   └── refs
│       ├── rad
│       │   └── id
│       └── remotes
│           ├── hydgo86673kinqy6nkf1s4zgp5gxicppthb1uabtszfe48e65r8ppe  <- identity of the remote that I tracked
│           │   ├── heads
│           │   │   └── main
│           │   └── rad
│           │       ├── id
│           │       ├── self
│           │       └── signed_refs
│           └── hynwzzbadwtkpiok7oa774i4x5t11ux1w1qwbq7tpyus4mbq45rq7k  <- delegate's peer
│               ├── heads
│               │   └── main
│               └── rad
│                   ├── id
│                   ├── ids
│                   │   └── hnrkpn161hfr9uzmyawrysbpmydncxwctig6y  <- identity of the project's delegate within the project
│                   ├── self
│                   └── signed_refs
├── hnrkjxat6y8h6ctjqo8i1b7jcedfnsyr1w11o  <- my own identity at the "top-level"
│   └── refs
│       └── rad
│           ├── id
│           ├── self
│           └── signed_refs
└── hnrkpn161hfr9uzmyawrysbpmydncxwctig6y  <- identity of project's delegate at the "top-level"
    └── refs
        └── rad
            └── id