cardano-graphql
cardano-graphql copied to clipboard
Cardano-db-sync Issue "Offline pool metadata fetch: 32 results, 17 fetch errors"
Summary
Hi Team,
Cardano GraphQL 7.0.1 This is my docker-compose.yml file
version: "3.5"
services: postgres: image: postgres:${POSTGRES_VERSION:-11.5-alpine} environment:
- POSTGRES_LOGGING=true
- POSTGRES_DB_FILE=/run/secrets/postgres_db
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
- POSTGRES_USER_FILE=/run/secrets/postgres_user ports:
- ${POSTGRES_PORT:-5432}:5432 secrets:
- postgres_db
- postgres_password
- postgres_user shm_size: '2gb' volumes:
- /NewDisk73Machine/node-cardano/cardano-graphql/postgres-data:/var/lib/postgresql/data restart: on-failure logging: driver: "json-file" options: max-size: "200k" max-file: "10"
cardano-node-ogmios: build: args:
- CARDANO_CONFIG_REV=${CARDANO_CONFIG_REV:-303f3a3035c52eb753b533d53ef439c6b4cde9c9}
- CARDANO_NODE_VERSION=${CARDANO_NODE_VERSION:-1.35.3}
- NETWORK=${NETWORK:-mainnet} cache_from: [ cardanosolutions/cardano-node-ogmios:latest ] context: ./ogmios image: cardanosolutions/cardano-node-ogmios:${OGMIOS_VERSION:-v5.5.5}_${CARDANO_NODE_VERSION:-1.35.3}-${NETWORK:-mainnet} logging: driver: "json-file" options: max-size: "400k" max-file: "20" ports:
- ${OGMIOS_PORT:-1337}:1337 restart: on-failure volumes:
- /NewDisk73Machine/node-cardano/cardano-graphql/node-db:/db
- /NewDisk73Machine/node-cardano/cardano-graphql/node-ipc:/ipc
- /NewDisk73Machine/node-cardano/cardano-graphql/config/network/${NETWORK:-mainnet}:/config
cardano-db-sync: image: inputoutput/cardano-db-sync:${CARDANO_DB_SYNC_VERSION:-13.0.4} command: [ "--config", "/config/cardano-db-sync/config.json", "--socket-path", "/node-ipc/node.socket" ] environment:
- POSTGRES_HOST=postgres
- POSTGRES_PORT=5432
- RESTORE_SNAPSHOT=${RESTORE_SNAPSHOT:-}
- RESTORE_RECREATE_DB=N depends_on:
- cardano-node-ogmios
- postgres secrets:
- postgres_password
- postgres_user
- postgres_db volumes:
- /NewDisk73Machine/node-cardano/cardano-graphql/config/network/${NETWORK:-mainnet}:/config
- /NewDisk73Machine/node-cardano/cardano-graphql/db-sync-data:/var/lib/cexplorer
- /NewDisk73Machine/node-cardano/cardano-graphql/node-ipc:/node-ipc restart: on-failure stop_signal: SIGINT logging: driver: "json-file" options: max-size: "200k" max-file: "10"
hasura: build: context: ./packages/api-cardano-db-hasura/hasura image: inputoutput/cardano-graphql-hasura:${CARDANO_GRAPHQL_VERSION:-7.0.1} ports:
- ${HASURA_PORT:-8090}:8080 depends_on:
- "postgres" restart: on-failure environment:
- HASURA_GRAPHQL_ENABLE_CONSOLE=true
- HASURA_GRAPHQL_CORS_DOMAIN=http://localhost:9695/ secrets:
- postgres_db
- postgres_password
- postgres_user logging: driver: "json-file" options: max-size: "200k" max-file: "10"
cardano-graphql: build: args:
- NETWORK=${NETWORK:-mainnet}
- METADATA_SERVER_URI=${METADATA_SERVER_URI:-https://tokens.cardano.org} cache_from: [ inputoutput/cardano-graphql:latest ] context: . target: server image: inputoutput/cardano-graphql:${CARDANO_GRAPHQL_VERSION:-7.0.1}-${NETWORK:-mainnet} environment:
- ALLOW_INTROSPECTION=true
- CACHE_ENABLED=true
- LOGGER_MIN_SEVERITY=${LOGGER_MIN_SEVERITY:-info} expose:
- ${API_PORT:-3100} ports:
- 5332:3100 restart: on-failure secrets:
- postgres_db
- postgres_password
- postgres_user logging: driver: "json-file" options: max-size: "200k" max-file: "10"
secrets: postgres_db: file: ./placeholder-secrets/postgres_db postgres_password: file: ./placeholder-secrets/postgres_password postgres_user: file: ./placeholder-secrets/postgres_user volumes: db-sync-data: node-db: node-ipc: postgres-data:
Cardano is running from past 3 days

below services are running on bringing cardano node up

when I checked the cardano-db-sync:13.0.4 service, getting issue from the epoch 207 as below

please help me with this issue.
Steps to reproduce the bug
No response
Actual Result
curl: (56) Recv failure: Connection reset by peer Cardano-db-sync service logging "Offline pool metadata fetch: 32 results, 17 fetch errors" error from epoch 207
Expected Result
{"data":{"cardanoDbMeta":{"initialized":true,"syncPercentage":100}}}
Environment
{ os: { arch: 'x64', cpus: { count: 8, model: 'AMD EPYC 7763 64-Core Processor' }, release: '5.13.0-1031-azure', totalMem: 67440447488, type: 'Linux' }, version: '7.0.1' }
Platform
- [ ] Linux (Ubuntu)
- [X] Linux (Other)
- [ ] macOS
- [ ] Windows
Platform version
No response
Runtime
- [ ] Node.js
- [X] Docker
Runtime version
Docker version 20.10.17