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

Error message confusing when rekor fails to connect to redis #479

Closed
lkatalin opened this issue Nov 3, 2021 · 0 comments · Fixed by #480
Closed

Error message confusing when rekor fails to connect to redis #479

lkatalin opened this issue Nov 3, 2021 · 0 comments · Fixed by #480
Labels
enhancement New feature or request

Comments

@lkatalin
Copy link
Contributor

lkatalin commented Nov 3, 2021

It shows a PANIC with connection refused, but it would be helpful to include in the error message that it is trying to connect to redis specifically.

2021-11-03T12:54:43.331-0400	PANIC	api/api.go:165	dial tcp 127.0.0.1:6379: connect: 
connection refused
github.com/sigstore/rekor/pkg/api.ConfigureAPI
@lkatalin lkatalin added the enhancement New feature or request label Nov 3, 2021
lkatalin added a commit to lkatalin/rekor that referenced this issue Nov 3, 2021
Signed-off-by: Lily Sturmann <lsturman@redhat.com>
lukehinds pushed a commit that referenced this issue Nov 4, 2021
Signed-off-by: Lily Sturmann <lsturman@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant