Skip to content

unhandledRejection: Error: Method not found with docker-compose.yml #1

Description

@1oid

use docker-compose start service

api:
    environment:
      MEMPOOL_BACKEND: "none"
      CORE_RPC_HOST: "172.17.0.1"
      CORE_RPC_PORT: "18443"
      CORE_RPC_USERNAME: "xxx"
      CORE_RPC_PASSWORD: "xxxxxx"
docker-compose up -d

Error

Sep 20 05:26:48 [143] INFO: Starting statistics service
Sep 20 05:26:48 [143] NOTICE: Mempool Server is running on port 8999
Sep 20 05:26:48 [143] NOTICE: The mempool is now in sync!
unhandledRejection: Error: Method not found
    at /backend/package/rpc-api/jsonrpc.js:142:35
    at Array.forEach (<anonymous>)
    at IncomingMessage.<anonymous> (/backend/package/rpc-api/jsonrpc.js:139:25)
    at IncomingMessage.emit (node:events:531:35)
    at endReadableNT (node:internal/streams/readable:1696:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  code: -32601
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions