elcharitas:
How do I share the logs? NVM, I had to split the logs below
neonblock-app-1 |
neonblock-app-1 | > neonblock@1.0.0 start
neonblock-app-1 | > node run.mjs && ceramic daemon --config ./daemon.config.json
neonblock-app-1 |
neonblock-app-1 | (node:25) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
neonblock-app-1 |
neonblock-app-1 | Please migrate your code to use AWS SDK for JavaScript (v3).
neonblock-app-1 | For more information, check the migration guide at https://a.co/7PzMCcy
neonblock-app-1 | (Use `node --trace-warnings ...` to show where the warning was created)
neonblock-app-1 | (node:66) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
neonblock-app-1 |
neonblock-app-1 | Please migrate your code to use AWS SDK for JavaScript (v3).
neonblock-app-1 | For more information, check the migration guide at https://a.co/7PzMCcy
neonblock-app-1 | (Use `node --trace-warnings ...` to show where the warning was created)
neonblock-app-1 | [2023-11-25T17:57:23.734Z] IMPORTANT: Starting Ceramic Daemon with @ceramicnetwork/cli package version 3.0.4, with js-ceramic repo git hash a61758a300326df5caaa5e6d5598bbf1018697a7, and with config:
neonblock-app-1 | {
neonblock-app-1 | "anchor": {},
neonblock-app-1 | "http-api": {
neonblock-app-1 | "cors-allowed-origins": [
neonblock-app-1 | ".*"
neonblock-app-1 | ],
neonblock-app-1 | "admin-dids": [
neonblock-app-1 | "<removed for security reasons>"
neonblock-app-1 | ]
neonblock-app-1 | },
neonblock-app-1 | "ipfs": {
neonblock-app-1 | "mode": "bundled",
neonblock-app-1 | "disable-peer-data-sync": false
neonblock-app-1 | },
neonblock-app-1 | "logger": {
neonblock-app-1 | "log-level": 2,
neonblock-app-1 | "log-to-files": false
neonblock-app-1 | },
neonblock-app-1 | "metrics": {
neonblock-app-1 | "metrics-exporter-enabled": false
neonblock-app-1 | },
neonblock-app-1 | "network": {
neonblock-app-1 | "name": "inmemory"
neonblock-app-1 | },
neonblock-app-1 | "node": {},
neonblock-app-1 | "state-store": {
neonblock-app-1 | "mode": "fs",
neonblock-app-1 | "local-directory": "/app/.ceramic/.ceramic/statestore/"
neonblock-app-1 | },
neonblock-app-1 | "indexing": {
neonblock-app-1 | "db": "<removed for security reasons>",
neonblock-app-1 | "allow-queries-before-historical-sync": true,
neonblock-app-1 | "disable-composedb": false,
neonblock-app-1 | "enable-historical-sync": false
neonblock-app-1 | }
neonblock-app-1 | }
neonblock-app-1 | [2023-11-25T17:57:23.783Z] IMPORTANT: Connecting to IPFS node available as /ip4/127.0.0.1/tcp/4011/p2p/12D3KooWAhCUF4GmxFWDtZtxRtRXv9LSiuyPqbFdMx53aJhEVDTa, /ip4/192.168.228.2/tcp/4011/p2p/12D3KooWAhCUF4GmxFWDtZtxRtRXv9LSiuyPqbFdMx53aJhEVDTa
neonblock-app-1 | [2023-11-25T17:57:23.797Z] IMPORTANT: Initializing PostgreSQL connection
neonblock-app-1 | [2023-11-25T17:57:23.816Z] IMPORTANT: Connecting to ceramic network 'inmemory' using pubsub topic '/ceramic/inmemory-1521391164'
neonblock-app-1 | [2023-11-25T17:57:28.657Z] IMPORTANT: Connecting to bootstrap peers for network inmemory
neonblock-app-1 | [2023-11-25T17:57:28.714Z] IMPORTANT: Connected to anchor service '<inmemory>' with supported anchor chains ['inmemory:12345']
neonblock-app-1 | [2023-11-25T17:57:28.848Z] WARNING: No pinned streams detected. This is expected if this is the first time this node has been run, but may indicate a problem with the node's persistence setup if it should have pinned streams
neonblock-app-1 | [2023-11-25T17:57:28.852Z] IMPORTANT: Resuming polling for streams with pending anchors
neonblock-app-1 | [2023-11-25T17:57:28.951Z] IMPORTANT: Ceramic API running on 0.0.0.0:7007'
neonblock-app-1 | [2023-11-25T17:57:28.959Z] IMPORTANT: Finished resuming polling for 0 streams which had pending anchors
neonblock-app-1 | [2023-11-25T17:58:23.714Z] WARNING: Did not receive any pubsub messages in more than 60000ms. IPFS did not provide any internal messages, please check your IPFS configuration.
neonblock-app-1 | [2023-11-25T18:07:43.446Z] WARNING: Did not receive any pubsub messages in more than 60000ms. IPFS did not provide any messages, please check your IPFS configuration and ensure your node is well connected to the rest of the Ceramic network.
neonblock-app-1 | [2023-11-26T13:44:05.630Z] ERROR: TypeError: terminated
neonblock-app-1 | [2023-11-26T13:55:35.791Z] WARNING: Did not receive any pubsub messages in more than 60000ms. IPFS did not provide any messages, please check your IPFS configuration and ensure your node is well connected to the rest of the Ceramic network.
neonblock-app-1 | [2023-11-26T14:32:35.945Z] WARNING: Did not receive any pubsub messages in more than 60000ms. IPFS did not provide any messages, please check your IPFS configuration and ensure your node is well connected to the rest of the Ceramic network.
neonblock-app-1 | [2023-11-26T14:48:00.405Z] ERROR: TypeError [ERR_INVALID_ARG_TYPE]: The "list[0]" argument must be an instance of Buffer or Uint8Array. Received an instance of Array
This is what is logged when I try to create composites. I dug around a bit, the error occurs when /api/v0/streams
is queried with the created genesis
(not entirely sure what genesis means, any luck @dbcfd?
ensure your node is well connected to the rest of the Ceramic network.
Taking a look at this statement. How do I ensure this?
BTW, @core-devs JIC you can help attempts at running the composeDB sample app fails as well. And I get this log:
(base) ➜ ComposeDbExampleApp git:(main) ✗ yarn dev
yarn run v1.22.19
$ node scripts/run.mjs
node:internal/errors:490
ErrorCaptureStackTrace(err);
^
TypeError [ERR_INVALID_ARG_TYPE]: The "list[0]" argument must be an instance of Buffer or Uint8Array. Received an instance of Array
at new NodeError (node:internal/errors:399:5)
at Function.concat (node:buffer:618:13)
at concat (file:///Users/kriss/Documents/ComposeDbExampleApp/node_modules/uint8arrays/dist/src/concat.js:8:47)
at get bytes (file:///Users/kriss/Documents/ComposeDbExampleApp/node_modules/@ceramicnetwork/streamid/lib/stream-id.js:82:16)
at descriptor.get (file:///Users/kriss/Documents/ComposeDbExampleApp/node_modules/mapmoize/dist/getter.js:13:49)
at StreamID.toString (file:///Users/kriss/Documents/ComposeDbExampleApp/node_modules/@ceramicnetwork/streamid/lib/stream-id.js:96:35)
at descriptor.value (file:///Users/kriss/Documents/ComposeDbExampleApp/node_modules/mapmoize/dist/method.js:30:57)
at file:///Users/kriss/Documents/ComposeDbExampleApp/node_modules/@composedb/devtools/dist/composite.js:65:37
at ModuleJob.run (node:internal/modules/esm/module_job:194:25) {
code: 'ERR_INVALID_ARG_TYPE'
}
Node.js v18.16.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
After many hours of debugging, I think I’m getting clues to why the daemon is failing.
I’d update this channel with my findings