chainlink 节点运行错误

  • 部署文档 https://docs.chain.link/docs/running-a-chainlink-node

  • 错误信息

    2021-02-02T01:20:07Z [FATAL] Unable to initialize ORM: dial tcp 127.0.0.1:5432: connect: connection refused
    unable to open postgresql://postgres:123456@172.17.0.2:5432/chainlink for gorm DB
    github.com/smartcontractkit/chainlink/core/store/orm.Connection.initializeDatabase
    /chainlink/core/store/orm/orm.go:1586
    github.com/smartcontractkit/chainlink/core/store/orm.NewORM
    /chainlink/core/store/orm/orm.go:78
    githu
  • .env文件

    ROOT=/chainlink
    LOG_LEVEL=debug
    ETH_CHAIN_ID=42
    MIN_OUTGOING_CONFIRMATIONS=2
    LINK_CONTRACT_ADDRESS=0xa36085F69e2889c224210F603D836748e7dC0088
    CHAINLINK_TLS_PORT=0
    SECURE_COOKIES=false
    GAS_UPDATER_ENABLED=true
    ALLOW_ORIGINS=*
    ETH_URL=wss://kovan.infura.io/ws/v3/
    DATABASE_URL=postgresql://postgres:123456@127.0.0.1:5432/chainlink
请先 登录 后评论

2 个回答

Tiny熊
  擅长:智能合约,以太坊
请先 登录 后评论
BING
请先 登录 后评论
  • 2 关注
  • 0 收藏,3506 浏览
  • Chainlink 提出于 2021-02-19 10:46