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

Certificate resource lacks friendly error message in v9 #1722

Closed
tas50 opened this issue Sep 13, 2023 · 2 comments
Closed

Certificate resource lacks friendly error message in v9 #1722

tas50 opened this issue Sep 13, 2023 · 2 comments
Labels
bug Something isn't working v9.1

Comments

@tas50
Copy link
Member

tas50 commented Sep 13, 2023

In v8 if you passed an empty certificate resource you got back a message that helped you to realize you needed to pass in data. That's not a RPC error in v9.

V8:

cnquery> certificate{*}
! restore cache object
x certificate is missing pem data error="\"certificate\" failed: no value provided for static field \"pem\""
Query encountered errors:
failed to validate resource 'certificate': Initialized "certificate" resource without a "pem". This field is required.
certificate: no data available

V9:

cnquery> certificate{*}
rpc error: code = Unavailable desc = connection error: desc = "transport: error while dialing: dial unix /var/folders/5q/75yp5vy56_55pmjdxpcv5mfh0000gn/T/plugin915132205: connect: connection refused"
certificate: no data available
@czunker czunker added bug Something isn't working v9 labels Sep 14, 2023
@czunker czunker added this to the v9 milestone Sep 14, 2023
@vjeffrey vjeffrey added v9.1 and removed v9 labels Sep 21, 2023
@arlimus arlimus removed this from the v9 milestone Sep 27, 2023
@czunker
Copy link
Contributor

czunker commented Oct 9, 2023

This should also be fixed, when #1943 is implemented.

@tas50
Copy link
Member Author

tas50 commented Oct 25, 2023

We have a better error now in 9.3.3

@tas50 tas50 closed this as completed Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v9.1
Projects
None yet
Development

No branches or pull requests

4 participants