Skip to content

Error while running self-hosted API instance #9

@krivochenko

Description

@krivochenko

I try to run my instance of API:

docker run -e TON_CONFIG=https://ton.org/global-config.json -p 3000:3000 tonwhales/ton-api-v4:v41

And during running I get error:

2023-06-07 17:39:43 Downloading configuration...
2023-06-07 17:39:43 Fetching "https://ton.org/global-config.json"
2023-06-07 17:39:44 Downloading current state....
node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: connect ECONNREFUSED 51.195.189.59:19434
    at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
Emitted 'error' event on ADNLClient instance at:
    at ADNLClient.onError (/app/node_modules/ton-lite-client/dist/adnl/client.js:124:14)
    at Socket.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -111,
  code: 'ECONNREFUSED',
  syscall: 'connect',
  address: '51.195.189.59',
  port: 19434
}

What I do wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions