pondersource / sciencemesh-php

Connect your Nextcloud server to Sciencemesh
MIT License
0 stars 1 forks source link

Live testing Ponder Source <-> CERN #66

Open michielbdejong opened 2 years ago

michielbdejong commented 2 years ago

One window:

./cmd/reva/reva -host mesh.pondersource.org:19000

Another window (but this doesn't seem to be listening on that port?):

./cmd/reva/reva -insecure -host sciencemesh.cernbox.cern.ch:19000
michielbdejong commented 2 years ago

I edited the revad.toml on mesh.pondersource.org, edited the db content of 'nc_db' on cloud.pondersource.org, and then:

root@cloud:/var/www/html/apps/sciencemesh# sudo -u www-data php ./composer.phar install
michielbdejong commented 2 years ago
curl https://cloud.pondersource.org/index.php/apps/sciencemesh/~admin/api/auth/Authenticate -d'{"clientID":"admin","clientSecret":"........"}' -H'Content-Type: application/json'

gives a 500

curl -v -H 'Content-Type:application/json' -d'{"clientID":"admin",clientSecret":"......."}' https://admin:......@cloud.pondersource.org/index.php/apps/sciencemesh/~einstein/api/auth/Authenticate

gives a 401