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

Requesting HTTPS OOBI with HTTP-only KERIA server causes exception #129

Closed
iFergal opened this issue Nov 16, 2023 · 1 comment
Closed

Requesting HTTPS OOBI with HTTP-only KERIA server causes exception #129

iFergal opened this issue Nov 16, 2023 · 1 comment

Comments

@iFergal
Copy link
Collaborator

iFergal commented Nov 16, 2023

I have KERIA started normally (HTTP - so different to #102) and a Traefik load balancer with TLS termination that routes to the container.

If in backer-oobis.json I set keria.curls to be the public HTTPS endpoint then I get this error when requesting an OOBI via Signify:

2023-11-15 21:24:06 [FALCON] [ERROR] GET /identifiers/issuer/oobis?role=agent => Traceback (most recent call last):
  File "falcon/app.py", line 365, in falcon.app.App.__call__
  File "/keria/src/keria/app/aiding.py", line 653, in on_get
    for url in murl.naball(kering.Schemes.http):
  File "/usr/local/lib/python3.10/site-packages/hio/help/hicting.py", line 192, in naball
    return list(reversed(self.getall(key)))
KeyError: 'http'

Will take a look myself too when I have capacity but in case anyone has an idea already! This is on latest development - 56c20c7.

@iFergal
Copy link
Collaborator Author

iFergal commented Nov 16, 2023

Ah. My mistake @rodolfomiranda - 56c20c7 was set in my deployment but the container wasn't re-build. 🤦

It doesn't crash on the latest now! Closing.

@iFergal iFergal closed this as not planned Won't fix, can't repro, duplicate, stale Nov 16, 2023
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

1 participant