Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
    the image i am using is the latest image. i tried to pull again but still the same issue
    2020-06-08T09:18:59Z [FATAL] Unable to initialize ORM: dial tcp connect: connection refused
    unable to open postgresql://user:password@localhost:5432/db?sslmode=disable for gorm DB
    ffs .....ok, this was so silly of me. because the link is running inside a container. it cant connect to the host ip as the localhost would have been inside the container. i had to change the value to host.docker.internal to tell docker that i want to connect to the host's localhost, not containers localhost
    Jaeson Booker
    Screen Shot 2020-06-11 at 1.07.00 AM.png
    When I run "cd ~/.chainlink-kovan && docker run -p 6688:6688 -v ~/.chainlink-kovan:/chainlink -it --env-file=.env smartcontract/chainlink local n" to deploy a chainlink docker node, it gives me the error above.
    Grant Bartel

    I'm also getting this error: "[ERROR] unable to lock ORM: dial tcp: lookup ruby.db.elephantsql.com"

    I followed the tutorial on chain.link. I'm running Ubuntu 18.04.4 LTS. I run other docker images on my machine just fine, so I'm unsure of the problem here.

    The ETH_URL is set to point to Ropsten via fiews.io.
    How can I solve this error? I've Googled endlessly!
    Cheng Wang
    I am also get this problem. Any solutions, thank you.
    Open your firewall up
    Remove database timeout from your .env file ?
    Paste your .env config ?
    *paste your .env config into chat to allow us to see configuration variables please.
    Cheng Wang



    i tried to remove the database timeout, and changed the server to docker ip, but still get this error
    Ahmad Tabbakha
    Do i need to do anything special to get this preparetest command to run. I set my DB URL to what was recommended DATABASE_URL=postgresql://
    where is libpq behavior defined. Seems to me since no user is specified in the DB url its using my shell login. I'll try it with the chainlink user
    ->  chainlink git:(readme-build-steps) go run ./core/main.go local db preparetest
    2020-06-24T16:28:16Z [INFO]  Resetting database: "postgresql://localhost:5432/chainlink_test?ssl_mode=disable" cmd/local_client.go:360
    unable to drop postgres database: pq: password authentication failed for user "ahmad"
    You have to specify user on database url like this DATABASE_URL=postgresql://user:password@
    Change your IP as well. I thought might not work
    Ahmad Tabbakha
    what permissions are required for the chainlink user
    What is your DB name that created on Postgres?
    hi , anyone can take a look at this issue ?
    err=verifyEthereumChainID failed: ethereum ChainID doesn't match chainlink config.ChainID: config ID=3, eth RPC ID=0 errVerbose=ethereum ChainID doesn't match chainlink config.ChainID: config ID=3
    this is my command to startup eth
    docker run --name eth --restart always -p 8546:8546 -v ~/.geth-ropsten:/geth -it  ethereum/client-go:v1.9.15  --testnet --nousb --ws --ipcdisable            --wsaddr --wsorigins="*" --datadir /geth
    thodges Your Geth node probably isn't synced yet.
    @matrixbot ahh... make sense.. let me try after data synced.
    Cameron Dimitroff
    When making a requestEthereumPrice() from TestnetConsumer.sol to my oracle the 1 Link fee/request is arriving and the transaction is executing, but the activity is not being recorded on the GUI and ETH price does not update (remains at 0) when running currentPrice() on TestnetConsumer.sol.
    Rogelio Morrell
    hi, I'm running a job request but not getting any reply back
    this is the log
    truffle(ropsten)> b.logs[0]
      address: '0x4a80592d67ABEB37066e242D095E7AfB433C348F',
      blockHash: '0x6fea9c06796aafee95494ba3417b8476aa45f13ed41c1fda2523ebb78ea46cb9',
      blockNumber: 8440283,
      logIndex: 0,
      removed: false,
      transactionHash: '0xbcc4187dd47afa20f102fbb651ee9db1bf183a3c3402536bedc6aec7549168fe',
      transactionIndex: 0,
      id: 'log_cd198343',
      event: 'ChainlinkRequested',
      args: Result {
        '0': '0x570b66aaba17715572f9dfea18ed329441f509734ae6376bab9ff51c6997c594',
        __length__: 1,
        id: '0x570b66aaba17715572f9dfea18ed329441f509734ae6376bab9ff51c6997c594'
    Hello guys,please help
    docker run -d --name postgres -e POSTGRES_DB=chainlink_db -e POSTGRES_USER=node1 -e POSTGRES_PASSWORD=pass -v ~/postgres-data:/var/lib/postgresql/data -p 5432:5432 postgres
    .env file is 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=* DATABASE_URL=postgresql://node1:pass@postgres/chainlink_db
    I remove eth_url for protection, its alright I am using infura node
    but when i try to connect with offical docs
    ``2020-08-08T16:42:15Z [FATAL] Unable to initialize ORM: dial tcp: lookup postgres on no such host unable to open postgresql://node1:pass@postgres/chainlink_db for gorm DB
    I tried every possbile variation in DATABASE_URL
    I can connect with psql but I cannot with chainlink node ??????
    I fixed it with --net='host'
    in docker run command for chainlink node
    hi everyone, i've joined
    3 replies
    When I am initializing new chainlink node after I enter and confirm new password, somethimes input to enter API email appears but somethimes not
    Been having lot of trouble with this
    Not logs and explanations nothing
    The node just quits
    But sometimes Enter API email appears even though commands are the same
    I want to add a postgresql database as an external adapter to one of the nodes, I want to know that is it even possible or not?
    can I have a private chainlink(instance of chainlink core with different cintract addresses)?
    hi everyone, is chainlink alarm clock available now?
    i tested the function of chainlink alarm clock before, but now it's not working.