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

Better error messages in ocmd flow #3365

Closed
michielbdejong opened this issue Oct 17, 2022 · 6 comments
Closed

Better error messages in ocmd flow #3365

michielbdejong opened this issue Oct 17, 2022 · 6 comments

Comments

@michielbdejong
Copy link
Contributor

As a first example:

ocm-invite-forward -idp cernbox.cern.ch -token 15319544-a2a0-42a6-bcc1-bf63de698a7d
error: code=CODE_INTERNAL msg="error forwarding invite" support_trace="79f38ef674f16ed11dd01ee896e0fa19"

Is it that an invite with that token has already been accepted? The invite store backend is not writable? The other reva instance is not reachable? The other reva instance returned an error code? If so which one?

@michielbdejong
Copy link
Contributor Author

michielbdejong commented Oct 17, 2022

@michielbdejong
Copy link
Contributor Author

Working on this in the ocmd-error-messages branch

@michielbdejong
Copy link
Contributor Author

Improved error message for the first one:

>> ocm-invite-forward -idp cernbox.cern.ch -token asdf
error: code=CODE_INTERNAL msg="error forwarding invite:json: error sending post request: Post \"http://127.0.0.1:19001/ocm/invites/accept\": dial tcp 127.0.0.1:19001: connect: connection refused" support_trace="1118eb2354c77504651e3d25f7896c22"

@michielbdejong
Copy link
Contributor Author

A third one (from sciencemesh/oc-sciencemesh#4):

In addition, note the OK response to file Delete GRPC call, even though the nextcloud storage driver returned a HTTP 500 HTML error page because of the PHP error above

@michielbdejong
Copy link
Contributor Author

Fourth one: in the ocm-test-suite setup, when looking up sharees in oc1.docker, I'm seeing a call to /cs3.gateway.v1beta1.GatewayAPI/FindAcceptedUsers but I can't see the details of it.

@michielbdejong
Copy link
Contributor Author

>> recycle-purge
error: code=CODE_INTERNAL msg="error emptying recycle:Unexpected response code from EFSS API: 500" support_trace="124d5fc6e935886db6dae181b1fae9d1"

@michielbdejong michielbdejong moved this from In Progress to Done in Sciencemesh: road to production Oct 19, 2022
michielbdejong added a commit that referenced this issue Oct 31, 2022
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