You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
Hi guys! I've been trying to set up your API on my Ubuntu 20.04 machines and I've ran into some issues. First of all, my setup
The API doesn't seem to work with go-ipfs 0.10.0 and up
Every curl database request is replied with statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred. I can only obtain the "/identity" . When I dropped the go-ipfs version to 0.9.0 I managed to create some simple databases. Still, I can't create a database with a modified access in such a way: curl -X POST http://localhost:3000/db/testdb -H "Content-Type: application/json" --data '{"create":"false","type":"feed","accessController":{"type": "orbitdb","write": ["3045022100e7abaa4675852d37e42a0a2bcc660250472805cd83364125419d19470391cb0b022000f840f50ab1928a0accc6c992394e79f0e9376f3b5e964c79a5e14aa8c65df2"]}}'
This command is also replied with the same "500" error. The API shows this error message:
Debug: internal, implementation, error
TypeError: __db_write.includes is not a function
at DBManager.db_info (/api/src/lib/db-manager.js:85:39)
at handler (/api/src/lib/orbitdb-api.js:117:32)
I've tested this on both the Docker image (from dockerhub) and the code from the repo.
The docker image presents the aforementioned behavior
The code form the repo also presents the same behaviour when I run it with node v12.0.0
The code from the repo just hangs when I run it with node v16.13.1
Any help will be appreciated. Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi guys! I've been trying to set up your API on my Ubuntu 20.04 machines and I've ran into some issues. First of all, my setup
Every curl database request is replied with
statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred
. I can only obtain the "/identity" . When I dropped the go-ipfs version to 0.9.0 I managed to create some simple databases. Still, I can't create a database with a modified access in such a way:curl -X POST http://localhost:3000/db/testdb -H "Content-Type: application/json" --data '{"create":"false","type":"feed","accessController":{"type": "orbitdb","write": ["3045022100e7abaa4675852d37e42a0a2bcc660250472805cd83364125419d19470391cb0b022000f840f50ab1928a0accc6c992394e79f0e9376f3b5e964c79a5e14aa8c65df2"]}}'
This command is also replied with the same "500" error. The API shows this error message:
I've tested this on both the Docker image (from dockerhub) and the code from the repo.
The docker image presents the aforementioned behavior
The code form the repo also presents the same behaviour when I run it with node v12.0.0
The code from the repo just hangs when I run it with node v16.13.1
Any help will be appreciated. Thanks in advance!
The text was updated successfully, but these errors were encountered: