-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error create-local. HTTP error creating the subgraph: ECONNRESET #1132
Comments
@Fi1osof Could you provide the |
@Jannis, i understood
Aug 26 16:02:09.430 INFO Connecting to Ethereum..., network: mainnet wait to connect with ethereum and this is infinit. On first run (when I'm not sure how exactly this should work), i thought everything started successfully (because there are no errors). I think we need to add connection timeout. I ran this script: https://github.com/graphprotocol/graph-node/blob/fb0a4c1283a6879fa670528a1fbdaebc3779d939/docker/setup.sh Thanks! |
i run $ graph create rajatnishu25/demosubgraph --node http://127.0.0.1:8020 |
Try this before
|
|
version: '3'
services:
graph-node:
image: graphprotocol/graph-node
ports:
- '8000:8000'
- '8001:8001'
- '8020:8020'
- '8030:8030'
- '8040:8040'
depends_on:
- ipfs
- postgres
environment:
postgres_host: postgres
postgres_user: graph-node
postgres_pass: let-me-in
postgres_db: graph-node
ipfs: 'ipfs:5001'
GRAPH_ALLOW__NON_DETERMINISTIC_IPFS: 1
ethereum: 'You need to get an RPC endpoint from an RPC provider e.g Alchemy'
GRAPH_LOG: info, error
ipfs:
image: ipfs/go-ipfs:v0.17.0
ports:
- '5001:5001'
volumes:
- ./data/ipfs:/data/ipfs
postgres:
image: postgres
ports:
- '5432:5432'
command: ['postgres', '-cshared_preload_libraries=pg_stat_statements']
environment:
POSTGRES_USER: graph-node
POSTGRES_PASSWORD: let-me-in
POSTGRES_DB: graph-node
POSTGRES_INITDB_ARGS: '-E UTF8 --locale=C'
volumes:
- ./data/postgres:/var/lib/postgresql/data |
bug
What is the current behavior?
Got
I checked listeners:
And seems like connection canceled, not unlistened.
No any errors in log((
What is the expected behavior?
This will also spin up a GraphiQL interface at http://127.0.0.1:8000/
The text was updated successfully, but these errors were encountered: