<p>After waiting till db-sync gets to the latest epoch, I re-started docker container and it works fine.</p>

CC BY-SA 4.0
2022-08-22T11:16:03.360Z
2022-08-22T11:16:03.360Z
korimusk
<p>when I first started It was returning the sync percentage, and the logs of <code>cardano-graphql</code> was like this:</p>
<pre><code>{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;Server&quot;,&quot;msg&quot;:&quot;Sync Progress: cardano-db-sync: 74.94% | Asset: 196%&quot;,&quot;time&quot;:&quot;2022-08-11T06:50:21.657Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;HasuraClient&quot;,&quot;assetId&quot;:&quot;14a3455f71c435a04ea1fdb50a3ef4c1cab0e79fb1565627ac66a57552415645&quot;,&quot;msg&quot;:&quot;Adding metadata to asset&quot;,&quot;time&quot;:&quot;2022-08-11T06:50:24.142Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;HasuraClient&quot;,&quot;assetId&quot;:&quot;ac485b0065d814e7a984a64e14afc924859033b3171b78a5939cb90559474e46545331&quot;,&quot;msg&quot;:&quot;Adding metadata to asset&quot;,&quot;time&quot;:&quot;2022-08-11T06:50:24.185Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;HasuraClient&quot;,&quot;assetId&quot;:&quot;a32ea58b0d2d0afedddb31dd2e9596c5e3de3451eea207a929574aa4426f62636f696e&quot;,&quot;msg&quot;:&quot;Adding metadata to asset&quot;,&quot;time&quot;:&quot;2022-08-11T06:50:24.235Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;Server&quot;,&quot;msg&quot;:&quot;Sync Progress: cardano-db-sync: 74.94% | Asset: 196%&quot;,&quot;time&quot;:&quot;2022-08-11T06:50:34.399Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;Server&quot;,&quot;msg&quot;:&quot;Sync Progress: cardano-db-sync: 74.94% | Asset: 196%&quot;,&quot;time&quot;:&quot;2022-08-11T06:50:46.357Z&quot;,&quot;v&quot;:0}
</code></pre>
<p>However, I had to restart the docker components so I did run <code>docker-compose stop</code> command to stop all and started again right now it doesn't give response instead returns:</p>
<pre><code>curl: (56) Recv failure: Connection reset by peer
</code></pre>
<p>and this is the logs of <code>cardano-graphql</code>:</p>
<pre><code>{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;Server&quot;,&quot;msg&quot;:&quot;GraphQL HTTP server at http://0.0.0.0:3100/ shutting down&quot;,&quot;time&quot;:&quot;2022-08-11T06:51:47.179Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;Server&quot;,&quot;msg&quot;:&quot;GraphQL HTTP server at http://0.0.0.0:3100/ shutting down&quot;,&quot;time&quot;:&quot;2022-08-11T06:51:47.179Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:50,&quot;err&quot;:{&quot;errno&quot;:-3008,&quot;code&quot;:&quot;ENOTFOUND&quot;,&quot;syscall&quot;:&quot;getaddrinfo&quot;,&quot;hostname&quot;:&quot;postgres&quot;},&quot;msg&quot;:&quot;getaddrinfo ENOTFOUND postgres&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:00.879Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 1&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:00.882Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 2&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:01.385Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 3&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:01.888Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 4&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:02.390Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 5&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:02.892Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 6&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:03.411Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:50,&quot;module&quot;:&quot;Db&quot;,&quot;err&quot;:{},&quot;msg&quot;:&quot;pgSubscriber&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:03.913Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:50,&quot;err&quot;:{&quot;errno&quot;:-3008,&quot;code&quot;:&quot;ENOTFOUND&quot;,&quot;syscall&quot;:&quot;getaddrinfo&quot;,&quot;hostname&quot;:&quot;postgres&quot;},&quot;msg&quot;:&quot;getaddrinfo ENOTFOUND postgres&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:05.035Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 1&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:05.037Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 2&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:05.540Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 3&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:06.042Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 4&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:06.544Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 5&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:07.051Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 6&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:07.553Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:50,&quot;module&quot;:&quot;Db&quot;,&quot;err&quot;:{},&quot;msg&quot;:&quot;pgSubscriber&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:08.056Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:50,&quot;err&quot;:{&quot;errno&quot;:-3008,&quot;code&quot;:&quot;ENOTFOUND&quot;,&quot;syscall&quot;:&quot;getaddrinfo&quot;,&quot;hostname&quot;:&quot;postgres&quot;},&quot;msg&quot;:&quot;getaddrinfo ENOTFOUND postgres&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:09.238Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 1&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:09.240Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 2&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:09.747Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 3&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:10.249Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 4&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:10.751Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 5&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:11.253Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 6&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:11.757Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:50,&quot;module&quot;:&quot;Db&quot;,&quot;err&quot;:{},&quot;msg&quot;:&quot;pgSubscriber&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:12.259Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:50,&quot;err&quot;:{&quot;errno&quot;:-3008,&quot;code&quot;:&quot;ENOTFOUND&quot;,&quot;syscall&quot;:&quot;getaddrinfo&quot;,&quot;hostname&quot;:&quot;postgres&quot;},&quot;msg&quot;:&quot;getaddrinfo ENOTFOUND postgres&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:13.589Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 1&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:13.592Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 2&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:14.093Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:40,&quot;module&quot;:&quot;Db&quot;,&quot;msg&quot;:&quot;pgSubscriber: Reconnecting attempt 3&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:14.596Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;Server&quot;,&quot;msg&quot;:&quot;Initializing&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:14.625Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;HasuraClient&quot;,&quot;msg&quot;:&quot;Initializing&quot;,&quot;time&quot;:&quot;2022-08-11T09:30:14.875Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;HasuraClient&quot;,&quot;msg&quot;:&quot;Initialized&quot;,&quot;time&quot;:&quot;2022-08-11T09:42:50.345Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;CardanoNodeClient&quot;,&quot;msg&quot;:&quot;Initializing. This can take a few minutes...&quot;,&quot;time&quot;:&quot;2022-08-11T09:42:50.346Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;CardanoNodeClient&quot;,&quot;msg&quot;:&quot;Initialized&quot;,&quot;time&quot;:&quot;2022-08-11T10:31:58.840Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;MetadataFetchClient&quot;,&quot;msg&quot;:&quot;Initializing&quot;,&quot;time&quot;:&quot;2022-08-11T10:31:58.841Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;MetadataFetchClient&quot;,&quot;msg&quot;:&quot;Initialized&quot;,&quot;time&quot;:&quot;2022-08-11T10:31:59.037Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;ChainFollower&quot;,&quot;msg&quot;:&quot;Initializing&quot;,&quot;time&quot;:&quot;2022-08-11T10:31:59.037Z&quot;,&quot;v&quot;:0}
{&quot;name&quot;:&quot;cardano-graphql&quot;,&quot;hostname&quot;:&quot;2f8ed0c5755a&quot;,&quot;pid&quot;:1,&quot;level&quot;:30,&quot;module&quot;:&quot;ChainFollower&quot;,&quot;msg&quot;:&quot;Initialized&quot;,&quot;time&quot;:&quot;2022-08-11T10:31:59.041Z&quot;,&quot;v&quot;:0}
</code></pre>
<p>It doesn't display anything else after ChainFollower Initialized. Any help appreciated, thanks in advance.</p>

<cardano-db-sync><cardano-graphql>
Cardano-graphql doesn't return sync percentage
# Cardano-graphql doesn't return sync percentage

(Asked by: username_0 on 2022-08-16)

when I first started It was returning the sync percentage, and the logs of cardano-graphql was like this:
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"Server","msg":"Sync Progress: cardano-db-sync: 74.94% | Asset: 196%","time":"2022-08-11T06:50:21.657Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"HasuraClient","assetId":"14a3455f71c435a04ea1fdb50a3ef4c1cab0e79fb1565627ac66a57552415645","msg":"Adding metadata to asset","time":"2022-08-11T06:50:24.142Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"HasuraClient","assetId":"ac485b0065d814e7a984a64e14afc924859033b3171b78a5939cb90559474e46545331","msg":"Adding metadata to asset","time":"2022-08-11T06:50:24.185Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"HasuraClient","assetId":"a32ea58b0d2d0afedddb31dd2e9596c5e3de3451eea207a929574aa4426f62636f696e","msg":"Adding metadata to asset","time":"2022-08-11T06:50:24.235Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"Server","msg":"Sync Progress: cardano-db-sync: 74.94% | Asset: 196%","time":"2022-08-11T06:50:34.399Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"Server","msg":"Sync Progress: cardano-db-sync: 74.94% | Asset: 196%","time":"2022-08-11T06:50:46.357Z","v":0}

However, I had to restart the docker components so I did run docker-compose stop command to stop all and started again right now it doesn't give response instead returns:
curl: (56) Recv failure: Connection reset by peer

and this is the logs of cardano-graphql:
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"Server","msg":"GraphQL HTTP server at http://0.0.0.0:3100/ shutting down","time":"2022-08-11T06:51:47.179Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"Server","msg":"GraphQL HTTP server at http://0.0.0.0:3100/ shutting down","time":"2022-08-11T06:51:47.179Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":50,"err":{"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"postgres"},"msg":"getaddrinfo ENOTFOUND postgres","time":"2022-08-11T09:30:00.879Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 1","time":"2022-08-11T09:30:00.882Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 2","time":"2022-08-11T09:30:01.385Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 3","time":"2022-08-11T09:30:01.888Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 4","time":"2022-08-11T09:30:02.390Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 5","time":"2022-08-11T09:30:02.892Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 6","time":"2022-08-11T09:30:03.411Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":50,"module":"Db","err":{},"msg":"pgSubscriber","time":"2022-08-11T09:30:03.913Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":50,"err":{"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"postgres"},"msg":"getaddrinfo ENOTFOUND postgres","time":"2022-08-11T09:30:05.035Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 1","time":"2022-08-11T09:30:05.037Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 2","time":"2022-08-11T09:30:05.540Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 3","time":"2022-08-11T09:30:06.042Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 4","time":"2022-08-11T09:30:06.544Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 5","time":"2022-08-11T09:30:07.051Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 6","time":"2022-08-11T09:30:07.553Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":50,"module":"Db","err":{},"msg":"pgSubscriber","time":"2022-08-11T09:30:08.056Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":50,"err":{"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"postgres"},"msg":"getaddrinfo ENOTFOUND postgres","time":"2022-08-11T09:30:09.238Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 1","time":"2022-08-11T09:30:09.240Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 2","time":"2022-08-11T09:30:09.747Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 3","time":"2022-08-11T09:30:10.249Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 4","time":"2022-08-11T09:30:10.751Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 5","time":"2022-08-11T09:30:11.253Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 6","time":"2022-08-11T09:30:11.757Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":50,"module":"Db","err":{},"msg":"pgSubscriber","time":"2022-08-11T09:30:12.259Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":50,"err":{"errno":-3008,"code":"ENOTFOUND","syscall":"getaddrinfo","hostname":"postgres"},"msg":"getaddrinfo ENOTFOUND postgres","time":"2022-08-11T09:30:13.589Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 1","time":"2022-08-11T09:30:13.592Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 2","time":"2022-08-11T09:30:14.093Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":40,"module":"Db","msg":"pgSubscriber: Reconnecting attempt 3","time":"2022-08-11T09:30:14.596Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"Server","msg":"Initializing","time":"2022-08-11T09:30:14.625Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"HasuraClient","msg":"Initializing","time":"2022-08-11T09:30:14.875Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"HasuraClient","msg":"Initialized","time":"2022-08-11T09:42:50.345Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"CardanoNodeClient","msg":"Initializing. This can take a few minutes...","time":"2022-08-11T09:42:50.346Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"CardanoNodeClient","msg":"Initialized","time":"2022-08-11T10:31:58.840Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"MetadataFetchClient","msg":"Initializing","time":"2022-08-11T10:31:58.841Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"MetadataFetchClient","msg":"Initialized","time":"2022-08-11T10:31:59.037Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"ChainFollower","msg":"Initializing","time":"2022-08-11T10:31:59.037Z","v":0}
{"name":"cardano-graphql","hostname":"2f8ed0c5755a","pid":1,"level":30,"module":"ChainFollower","msg":"Initialized","time":"2022-08-11T10:31:59.041Z","v":0}

It doesn't display anything else after ChainFollower Initialized. Any help appreciated, thanks in advance.

**Tags:** cardano-db-sync, cardano-graphql

---

## 1 answers

### Answer by username_0 on 2022-08-22. Score: 0 | Accepted answer

After waiting till db-sync gets to the latest epoch, I re-started docker container and it works fine.


---

