Not sure which is the best between nodes and indexers. Depends whether we aim for precise categories or easy to find software.
Sure, good idea! Everywhere you want
I don’t know which group fit the best. Maybe tools ? Or nodes ? Websites ? I really don’t know. Feel free to move it ! I’ll adapt myself…
I deleted the indexers
group, and moved this repository into nodes
group.
There is not much item at the root of this group.
Do we need to change something in the config of https://gdev-indexer-graphiql.p2p.legal/? It says "NetworkError when attempting to fetch resource."
. @poka?
Does it have something to do with INDEXER_HASURA_GRAPHQL_ENDPOINT_GRAPHIQL
in the docker-compose.yml
?
services:
app:
image: duniter/duniter-indexer:latest
environment:
- POSTGRES_HOST=postgres
- INDEXER_DUNITER_WS_ENDPOINT=ws://duniter-rpc:9944
- INDEXER_DUNITER_WS_ENDPOINT_GRAPHIQL=${INDEXER_DUNITER_WS_ENDPOINT_GRAPHIQL}
- INDEXER_HASURA_GRAPHQL_ENDPOINT_GRAPHIQL=${INDEXER_HASURA_GRAPHQL_ENDPOINT_GRAPHIQL}
restart: unless-stopped
ports:
- "3000:3000"
depends_on:
- duniter-rpc
- postgres
- graphql-engine
How can we fix it?
I think currently the bug come from a configuration mistake.
INDEXER_DUNITER_WS_ENDPOINT_GRAPHIQL
should be the public websocket endpoint.
INDEXER_HASURA_GRAPHQL_ENDPOINT_GRAPHIQL
should be the public hasura endpoint. (https://gdev-indexer.p2p.legal)
Oh, thanks, I did not have the strength to dig in the code to see what it was supposed to be.
So for example?
- INDEXER_DUNITER_WS_ENDPOINT_GRAPHIQL="wss://gdev.coinduf.eu/ws"
- INDEXER_HASURA_GRAPHQL_ENDPOINT_GRAPHIQL="https://hasura.gdev.coinduf.eu/"
I set these ones, but the app is still unavailable: https://indexer.gdev.coinduf.eu/
Looks good!
You wrote “looks good” at the time I updated my message to say that https://indexer.gdev.coinduf.eu/ was an empty page, even with this config.
Remove the double quote :
- INDEXER_DUNITER_WS_ENDPOINT_GRAPHIQL=wss://gdev.coinduf.eu/ws
- INDEXER_HASURA_GRAPHQL_ENDPOINT_GRAPHIQL=https://hasura.gdev.coinduf.eu/
Should not change anything in yaml
file, no?
This config should be in .env
file or docker-compose.prod.yaml
file.
Right now as I show it (with the -
before), it is yaml
in the docker-compose.yml
file. So I do not feel like I should try without quotes (moreover with the :
special character)
Double quote is the problem :
Ok, I do not know which yaml parser would lead to this ><
TADAAA : https://indexer.gdev.coinduf.eu/ (thanks, @ManUtopiK)
Bravo !
@ManUtopiK what’s the name of the plugin you told about to have clickable checkbox to make his little recipe as proposed by the Hasura console?
this was this one