cardano-graphql
cardano-graphql copied to clipboard
curl: (7) Failed to connect to localhost port 3100: Connection refused My node has alreay sync success , But I can't connect to the docker
Environment
The CLI can be used to gather generic information about your system to assist with support. No installation is required thanks to npx
npx @cardano-graphql/cli system-info
[PASTE_REPORT_HERE]
Alternatively, what release or Git revision are you using:
Platform
- [ ] Linux / Ubuntu
- [ ] Linux / Other
- [ ] macOS
- [ ] Windows
Platform version:
Runtime
- [ ] Node.js
- [ ] Docker
Runtime version:
node -v
docker version
Steps to reproduce the bug
What is the expected behavior?
I use the version 6.2.0
I use the configuration in the code
what's the error
Did you refresh the DB state? Are there logs in the cardano-graphql
service?
{"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"Server","msg":"Initializing","time":"2022-02-09T09:46:27.734Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"HasuraClient","msg":"Initializing","time":"2022-02-09T09:46:28.006Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: cardano-db-sync-extended starting, schema will be reset","time":"2022-02-09T09:46:28.915Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"CardanoNodeClient","msg":"Initializing. This can take a few minutes...","time":"2022-02-09T09:46:29.283Z","v":0}
Did you refresh the DB state and db-sync state when upgrading?
how to refresh state
https://github.com/input-output-hk/cardano-graphql/wiki/Docker#rebuild-cardano-db
can you give me the extract instruction to do this thing
{"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: cardano-db-sync-extended starting, schema will be reset","time":"2022-02-09T09:46:28.915Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"CardanoNodeClient","msg":"Initializing. This can take a few minutes...","time":"2022-02-09T09:46:29.283Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"HasuraClient","msg":"Initialized","time":"2022-02-09T10:04:38.522Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"MetadataFetchClient","msg":"Initializing","time":"2022-02-09T10:04:38.524Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":50,"msg":"Cannot read property 'status' of undefined","time":"2022-02-09T10:06:48.576Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"CardanoNodeClient","msg":"Initialized","time":"2022-02-09T10:27:25.940Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"ChainFollower","msg":"Initializing","time":"2022-02-09T10:27:25.940Z","v":0} {"name":"cardano-graphql","hostname":"27183b25f1de","pid":1,"level":30,"module":"ChainFollower","msg":"Initialized","time":"2022-02-09T10:27:25.943Z","v":0}
Now what can I do to make the node healthy
"timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":1.192413e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"e39a976e-ff75-42d7-a18b-63d3f7824367","response_size":91,"request_read_time":5.282e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":2.838116e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"81536aaf-016d-4f35-91ba-8531f8610666","response_size":90,"request_read_time":6.395e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"schema-sync-thread","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"thread_type":"listener","info":{"received_event":{"instance_id":"60d9cf9e-047c-43fd-aafb-d5b26dce3380","invalidations":{"remote_schemas":[],"metadata":false},"occurred_at":"2022-02-09T11:26:48.424696Z"}}}} {"type":"http-log","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":2.502546e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"9ed1fac2-2258-4ae0-b110-101876c68d57","response_size":68,"request_read_time":3.654e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":2.897092e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"8a26fc8a-200a-4882-bc22-c6a3a1f5066d","response_size":68,"request_read_time":3.775e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":3.186702e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"f805044b-c271-40dc-add7-eb7580aa2224","response_size":68,"request_read_time":3.884e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":2.293892e-3,"user_vars":{"x-hasura-role":"admin"},"request_id":"1ab73db0-0bc7-434b-952b-a12eea92c8a9","response_size":68,"request_read_time":3.769e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":8.79228e-4,"user_vars":{"x-hasura-role":"admin"},"request_id":"c7ff4433-6814-4146-ad41-5bb0fc95915d","response_size":91,"request_read_time":3.163e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":2.2494e-5,"user_vars":{"x-hasura-role":"admin"},"request_id":"c05184ca-7b40-429d-b699-726d23717ff8","response_size":157,"request_read_time":6.988e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1alpha1/config","ip":"172.28.0.4","method":"GET","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:48.150+0000","level":"info","detail":{"operation":{"query_execution_time":1.9611e-5,"user_vars":{"x-hasura-role":"admin"},"request_id":"97d60ed1-2fea-4961-8515-c86a2931aa9a","response_size":157,"request_read_time":6.867e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1alpha1/config","ip":"172.28.0.4","method":"GET","content_encoding":"gzip"}}} {"type":"schema-sync-thread","timestamp":"2022-02-09T11:26:53.111+0000","level":"info","detail":{"thread_type":"listener","info":{"received_event":{"instance_id":"60d9cf9e-047c-43fd-aafb-d5b26dce3380","invalidations":{"remote_schemas":[],"metadata":false},"occurred_at":"2022-02-09T11:26:53.110109Z"}}}} {"type":"schema-sync-thread","timestamp":"2022-02-09T11:26:53.111+0000","level":"info","detail":{"thread_type":"processor","info":{"processed_event":{"instance_id":"60d9cf9e-047c-43fd-aafb-d5b26dce3380","invalidations":{"remote_schemas":[],"metadata":false},"occurred_at":"2022-02-09T11:26:53.110109Z"}}}} {"type":"http-log","timestamp":"2022-02-09T11:26:53.111+0000","level":"info","detail":{"operation":{"query_execution_time":9.236225e-3,"user_vars":{"x-hasura-role":"cardano-graphql"},"request_id":"03178ec7-8277-45b1-8dc7-671b3144bbea","response_size":56,"request_read_time":6.88e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:53.111+0000","level":"info","detail":{"operation":{"query_execution_time":0.182635013,"user_vars":{"x-hasura-role":"admin"},"request_id":"2366cb70-d0e8-4841-af9c-1d1c9d1b7e15","response_size":39,"request_read_time":2.8037e-5},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/query","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}} {"type":"http-log","timestamp":"2022-02-09T11:26:53.111+0000","level":"info","detail":{"operation":{"query_execution_time":0.275952651,"user_vars":{"x-hasura-role":"cardano-graphql"},"request_id":"eaa4aa69-2149-49d2-862f-ddad44a5fac4","response_size":46686,"request_read_time":5.025e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"172.28.0.4","method":"POST","content_encoding":"gzip"}}}
graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 exited with code 1 cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:18:23.074026394Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:18:28.075015004Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-hasura-1 | {"type":"http-log","timestamp":"2022-02-12T03:18:31.775+0000","level":"info","detail":{"operation":{"query_execution_time":99.06910439,"user_vars":{"x-hasura-role":"cardano-graphql"},"request_id":"7cf6a694-36a9-417d-ae77-abeaa21849fd","response_size":183,"request_read_time":6.218e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"172.20.0.4","method":"POST","content_encoding":"gzip"}}} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:18:33.076278376Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:18:38.077037327Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:18:43.078067114Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:18:48.078927142Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:18:53.080016221Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:18:58.08098891Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:03.082257292Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:08.083048529Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:13.084057645Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:18.084905076Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-db-sync-extended-1 | /run/secrets cardano-graphql-cardano-db-sync-extended-1 | Generating PGPASS file cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:23.086001976Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:28.086991793Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:33.087321866Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:38.088060136Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:43.089043131Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:48.089915919Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:53.091010251Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:19:58.092015987Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-db-sync-extended-1 exited with code 1 cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:20:03.092309498Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:20:08.093036909Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-hasura-1 | {"type":"http-log","timestamp":"2022-02-12T03:20:11.028+0000","level":"info","detail":{"operation":{"query_execution_time":99.249333937,"user_vars":{"x-hasura-role":"cardano-graphql"},"request_id":"8626d5e1-2042-4c91-96d3-d2c5308fb026","response_size":183,"request_read_time":5.436e-6},"http_info":{"status":200,"http_version":"HTTP/1.1","url":"/v1/graphql","ip":"172.20.0.4","method":"POST","content_encoding":"gzip"}}} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:20:13.094075072Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:20:18.094937312Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-db-sync-extended-1 | /run/secrets cardano-graphql-cardano-db-sync-extended-1 | Generating PGPASS file cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-db-sync-extended-1 | Connecting to network specified in configuration.yaml cardano-graphql-cardano-db-sync-extended-1 | cardano-db-sync-extended: FatalError {fatalErrorMessage = "Cannot find the DbSync configuration file at : /config/cardano-db-sync/config.json"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:20:23.096024177Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"} cardano-graphql-cardano-node-ogmios-1 | {"severity":"Warning","timestamp":"2022-02-12T03:20:28.097020893Z","thread":"7","message":{"tag":"OgmiosHealth","healthCheck":{"tag":"HealthFailedToConnect","socket":"/ipc/node.socket","retryingIn":5}},"version":"v4.1.0"}
same issue, the graphql container node js doesn't listen 3100 at all.
root@9a43c5ab7a45:~# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 4 06:35 ? 00:00:04 node index.js
root 72 0 0 06:36 pts/0 00:00:00 /bin/bash
root 451 72 0 06:37 pts/0 00:00:00 ps -ef
root@9a43c5ab7a45:~# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.11:38681 0.0.0.0:* LISTEN -
root@9a43c5ab7a45:~#
In my another 6.1.0 node. It looks ok
root@34b7334b5beb:/app/packages/server/dist# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 3 Jan18 ? 20:45:31 node index.js
root 448 0 1 06:29 pts/0 00:00:00 /bin/bash
root 456 448 0 06:29 pts/0 00:00:00 ps -ef
root@34b7334b5beb:/app/packages/server/dist# netstat -ntlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.11:44455 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:3100 0.0.0.0:* LISTEN 1/node
It would be great if it returned an HTTP error code, instead of not listening at all, even when the DB state and db-sync are not refreshed.