cardano-foundation / cardano-graphql

GraphQL API for Cardano
Apache License 2.0
262 stars 104 forks source link

Version 5.0.0 Unable to request #558

Closed vae520283995 closed 3 years ago

vae520283995 commented 3 years ago
root@ip-*-*-*-*:/data/cardano/cardano-graphql-v5.0.0/cardano-graphql# curl   -X POST   -H "Content-Type: application/json"   -d '{"query": "{ cardanoDbMeta { initialized syncPercentage }}"}'   http://localhost:3100/graphql
curl: (56) Recv failure: Connection reset by peer

docker-compose ps

root@ip-*-*-*-*:/data/cardano/cardano-graphql-v5.0.0/cardano-graphql# docker-compose ps
                   Name                                 Command               State                                   Ports                                
-----------------------------------------------------------------------------------------------------------------------------------------------------------
cardano-graphql_cardano-db-sync-extended_1   /nix/store/lnv4hmn49lvpkvm ...   Up                                                                           
cardano-graphql_cardano-graphql_1            node index.js                    Up      0.0.0.0:3100->3100/tcp,:::3100->3100/tcp                             
cardano-graphql_cardano-node-ogmios_1        bash cardano-node-ogmios.sh      Up      12788/tcp, 12798/tcp, 0.0.0.0:1337->1337/tcp,:::1337->1337/tcp,      
                                                                                      3000/tcp                                                             
cardano-graphql_hasura_1                     docker-entrypoint.sh graph ...   Up      0.0.0.0:8090->8080/tcp,:::8090->8080/tcp                             
cardano-graphql_postgres_1                   docker-entrypoint.sh postgres    Up      0.0.0.0:5432->5432/tcp,:::5432->5432/tcp

linux version

root@ip-*-*-*-*:/data/cardano/cardano-graphql-v5.0.0/cardano-graphql# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"

docker-compose version

root@ip-*-*-*-*:/data/cardano/cardano-graphql-v5.0.0/cardano-graphql# docker-compose -v
docker-compose version 1.29.2, build 5becea4c
vae520283995 commented 3 years ago

@rhyslbw need help

CyberCyclone commented 3 years ago

Has it finished syncing? Version 5.0.0 you can't query until it's fully synced.

vae520283995 commented 3 years ago

Has it finished syncing? Version 5.0.0 you can't query until it's fully synced.

Not yet, thank you, I will wait for it to sync completely

CyberCyclone commented 3 years ago

Awesome, it will take about 18 hours.