Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transient error with using client.registries().list(name) #177

Closed
nkongsuwan opened this issue Jan 26, 2024 · 2 comments
Closed

Transient error with using client.registries().list(name) #177

nkongsuwan opened this issue Jan 26, 2024 · 2 comments

Comments

@nkongsuwan
Copy link

In Signify-TS, using client.registries().list(name) sometimes causes a transient error.

The Signify-TS script has the following error messages:

    {"title": "500 Internal Server Error"}

      211 |         if (!res.ok) {
      212 |             const error = await res.text();
    > 213 |             throw new Error(error);
          |                   ^
      214 |         }
      215 |         const isSameAgent =
      216 |             this.agent?.pre === res.headers.get('signify-resource');

      at SignifyClient.fetch (../../src/keri/app/clienting.ts:213:19)
      at async Registries.list (../../src/keri/app/credentialing.ts:553:21)
          at async Promise.all (index 1)
      at async Object.run (multisig-vlei-issuance.test.ts:453:52)

The KERIA terminal has the following error messages:

2024-01-26 16:27:49 [FALCON] [ERROR] GET /identifiers/GEDA/registries => Traceback (most recent call last):
  File "falcon/app.py", line 365, in falcon.app.App.__call__
  File "/Users/nkongsuwan/Workspace/WebOfTrust/keria/src/keria/app/credentialing.py", line 90, in on_get
    state=asdict(registry.tever.state())
                 ^^^^^^^^^^^^^^
  File "/Users/nkongsuwan/Workspace/WebOfTrust/keripy/src/keri/vdr/credentialing.py", line 198, in tever
    return self.reger.tevers[self.regk]
           ~~~~~~~~~~~~~~~~~^^^^^^^^^^^
  File "/Users/nkongsuwan/Workspace/WebOfTrust/keripy/src/keri/vdr/viring.py", line 48, in __getitem__
    raise ex  # reraise KeyError
    ^^^^^^^^
  File "/Users/nkongsuwan/Workspace/WebOfTrust/keripy/src/keri/vdr/viring.py", line 43, in __getitem__
    return super(rbdict, self).__getitem__(k)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'ECk3nPSAslofBPZFvWXHQKSOldJ2cj-g_guGSfcTt_Ek'
@lenkan
Copy link
Collaborator

lenkan commented Jan 26, 2024

This looks like the same issue as #147 ?

I think it is consistently reproduced by doing this: WebOfTrust/signify-ts#202 (comment)

@nkongsuwan
Copy link
Author

I see I will close it since it is redundant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants