Closed michielbdejong closed 1 year ago
Should actually use the ocmd-error-messages
branch of Revad here instead of edge
, to make my life easier.
docker logs meshdir.docker
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module 'node-fetch'
-> fixed with docker run -v /root/ocm-test-suite/ocm-stub:/ocm-stub stub npm install
Next step: It's redirecting to https://meshdir.docker/meshdir?token=&providerDomain=
For that we need:
For that we need:
Sending the invite is fixed now (error messaging for it is not yet!) Error messages to improve:
Next error:
root@ocmhost:~/ocm-test-suite# docker exec -it revanc2.docker /bin/bash
root@508c80c00442:/etc/revad# cd /reva/
root@508c80c00442:/reva# ./cmd/reva/reva -insecure -host=localhost:19000
reva-cli v2.10.0-93-g7a1d06ca (rev-7a1d06ca)
Please use `exit` or `Ctrl-D` to exit this program.
>> login basic
username: marie
password: OK
>> ocm-invite-forward -idp revanc1.docker -token 330cfd04-46ef-450e-ac43-462b199aeca3
error: code=CODE_INTERNAL msg="error forwarding invite:json: error sending post request: Post \"/ocm/invites/accept\": unsupported protocol scheme \"\"" support_trace="8800f603714a6f344f8e22e1116495a5"
>>
root@ocmhost:~/ocm-test-suite# docker exec -it revanc2.docker /reva/cmd/reva/reva -insecure -host localhost:19000
reva-cli v2.10.0-93-g7a1d06ca (rev-7a1d06ca)
Please use `exit` or `Ctrl-D` to exit this program.
>> login basic
username: marie
password: OK
>> ocm-invite-forward -idp revanc1.docker -token d06891dd-1714-426f-b994-45708d7df95d
error: code=CODE_INTERNAL msg="error forwarding invite:json: error sending accept post request: 401 Unauthorized: {\n \"code\": \"UNAUTHENTICATED\",\n \"message\": \"provider not authorized\"\n}" support_trace="5d8399a341296005897524167f05021d"
2022-10-31 14:47:24.766 ERR ../../reva/internal/http/services/ocmd/send.go:119 > sourcePath /home/welcome.txt does not exist on the storage backend pid=7 pkg=rhttp traceid=2ed004ba63c45e43c21fda27f081b2a6
Now running into https://github.com/pondersource/nc-sciencemesh/issues/225 -> will continue with that tomorrow!
Next: request not handled
in the revanc1.docker logs - what does that mean?
Check if the OCMD tutorial works (including webdav mount) with NC -> reva -> reva -> NC invite flow.