smartcontractkit / chainlink

node of the decentralized oracle network, bridging on and off-chain computation
https://chain.link
Other
6.98k stars 1.7k forks source link

CheckAttempt GetTxReceipt failed: Bad response on request: [ TransactionIndex ]. Error cause was EmptyResponse #1395

Closed snakehopper closed 4 years ago

snakehopper commented 5 years ago

System Information

Environment Variables

chainlink_1 | ACCOUNT_ADDRESS: 0xEc7D81df7E738297Ce914aD743EC530D25ece86e chainlink_1 | ALLOW_ORIGINS: * chainlink_1 | BRIDGE_RESPONSE_URL: chainlink_1 | ETH_CHAIN_ID: 3 chainlink_1 | CLIENT_NODE_URL: http://localhost:6688 chainlink_1 | CHAINLINK_DEV: false chainlink_1 | DATABASE_TIMEOUT: 500ms chainlink_1 | ETH_URL: ws://localhost:8546 chainlink_1 | ETH_GAS_BUMP_THRESHOLD: 12 chainlink_1 | ETH_GAS_BUMP_WEI: 5000000000 chainlink_1 | ETH_GAS_PRICE_DEFAULT: 20000000000 chainlink_1 | JSON_CONSOLE: false chainlink_1 | LINK_CONTRACT_ADDRESS: 188359601077557689708266213149319532060033299072 chainlink_1 | EXPLORER_URL: chainlink_1 | LOG_LEVEL: debug chainlink_1 | LOG_TO_DISK: true chainlink_1 | MINIMUM_CONTRACT_PAYMENT: 1.000000000000000000 chainlink_1 | MINIMUM_REQUEST_EXPIRATION: 300 chainlink_1 | MIN_INCOMING_CONFIRMATIONS: 3 chainlink_1 | MIN_OUTGOING_CONFIRMATIONS: 2 chainlink_1 | ORACLE_CONTRACT_ADDRESS: chainlink_1 | CHAINLINK_PORT: 6688 chainlink_1 | REAPER_EXPIRATION: 240h0m0s chainlink_1 | ROOT: /chainlink chainlink_1 | SESSION_TIMEOUT: 15m0s chainlink_1 | CHAINLINK_TLS_HOST: chainlink_1 | CHAINLINK_TLS_PORT: 0 chainlink_1 | cmd/local_client.go:137
chainlink_1 | [GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production. chainlink_1 | - using env: export GIN_MODE=release chainlink_1 | - using code: gin.SetMode(gin.ReleaseMode)

Additional Information

(Only what's applicable)

{
  "id": "af102b4ebf964e37b27894d398c1b85f",
  "jobId": "19c92c7649a543ac8e3f024d22173ee9",
  "result": {
    "jobRunId": "af102b4ebf964e37b27894d398c1b85f",
    "taskRunId": "0c1d19ece2d3497280a40c80b59370fb",
    "data": {
      "address": "0x1aDEca2e9002C30E89264770Fc636731D989032e",
      "dataPrefix": "0x3c2b283f4a8da2ea3f2b52fc847de10f9704027f2c1ac2a6126adcf63737711a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000cdf2e45d8319f0a920e05fb633a347e1c974f6192cdaaf300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005d0ce1b4",
      "functionSelector": "0x4ab0d190",
      "path": "USD",
      "result": "0x5f7186b69740586075495713914cf8db84140d2a21b71107531ddb2a5bbc81af",
      "times": 100,
      "url": "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD"
    },
    "status": "errored",
    "error": "CheckAttempt GetTxReceipt failed: Bad response on request: [ TransactionIndex ]. Error cause was EmptyResponse, (majority count: 59 / total: 59)"
  },
  "status": "errored",
  "taskRuns": [
    {
      "id": "baf2ab9ccf8d404092c76e61c2ad4c0a",
      "result": {
        "jobRunId": "af102b4ebf964e37b27894d398c1b85f",
        "taskRunId": "baf2ab9ccf8d404092c76e61c2ad4c0a",
        "data": {
          "address": "0x1aDEca2e9002C30E89264770Fc636731D989032e",
          "dataPrefix": "0x3c2b283f4a8da2ea3f2b52fc847de10f9704027f2c1ac2a6126adcf63737711a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000cdf2e45d8319f0a920e05fb633a347e1c974f6192cdaaf300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005d0ce1b4",
          "functionSelector": "0x4ab0d190",
          "path": "USD",
          "result": "{"USD":284.91}",
          "times": 100,
          "url": "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD"
        },
        "status": "completed",
        "error": null
      },
      "status": "completed",
      "task": {
        "id": 5,
        "createdAt": "2019-06-21T08:10:53.183251438Z",
        "updatedAt": "2019-06-21T08:10:53.183251438Z",
        "deletedAt": null,
        "type": "httpget",
        "confirmations": 0,
        "params": {
        }
      },
      "minimumConfirmations": 3,
      "confirmations": 3
    },
    {
      "id": "ccd9ab8c7e1c46e9814e6f3d1add737d",
      "result": {
        "jobRunId": "af102b4ebf964e37b27894d398c1b85f",
        "taskRunId": "ccd9ab8c7e1c46e9814e6f3d1add737d",
        "data": {
          "address": "0x1aDEca2e9002C30E89264770Fc636731D989032e",
          "dataPrefix": "0x3c2b283f4a8da2ea3f2b52fc847de10f9704027f2c1ac2a6126adcf63737711a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000cdf2e45d8319f0a920e05fb633a347e1c974f6192cdaaf300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005d0ce1b4",
          "functionSelector": "0x4ab0d190",
          "path": "USD",
          "result": 284.91,
          "times": 100,
          "url": "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD"
        },
        "status": "completed",
        "error": null
      },
      "status": "completed",
      "task": {
        "id": 6,
        "createdAt": "2019-06-21T08:10:53.18339965Z",
        "updatedAt": "2019-06-21T08:10:53.18339965Z",
        "deletedAt": null,
        "type": "jsonparse",
        "confirmations": 0,
        "params": {
        }
      },
      "minimumConfirmations": 3,
      "confirmations": 3
    },
    {
      "id": "3ceb2c19aba146839899a0ef42aac36a",
      "result": {
        "jobRunId": "af102b4ebf964e37b27894d398c1b85f",
        "taskRunId": "3ceb2c19aba146839899a0ef42aac36a",
        "data": {
          "address": "0x1aDEca2e9002C30E89264770Fc636731D989032e",
          "dataPrefix": "0x3c2b283f4a8da2ea3f2b52fc847de10f9704027f2c1ac2a6126adcf63737711a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000cdf2e45d8319f0a920e05fb633a347e1c974f6192cdaaf300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005d0ce1b4",
          "functionSelector": "0x4ab0d190",
          "path": "USD",
          "result": "28491",
          "times": 100,
          "url": "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD"
        },
        "status": "completed",
        "error": null
      },
      "status": "completed",
      "task": {
        "id": 7,
        "createdAt": "2019-06-21T08:10:53.18353486Z",
        "updatedAt": "2019-06-21T08:10:53.18353486Z",
        "deletedAt": null,
        "type": "multiply",
        "confirmations": 0,
        "params": {
        }
      },
      "minimumConfirmations": 3,
      "confirmations": 3
    },
    {
      "id": "b24d22716b99464d85302ff54f9d1902",
      "result": {
        "jobRunId": "af102b4ebf964e37b27894d398c1b85f",
        "taskRunId": "b24d22716b99464d85302ff54f9d1902",
        "data": {
          "address": "0x1aDEca2e9002C30E89264770Fc636731D989032e",
          "dataPrefix": "0x3c2b283f4a8da2ea3f2b52fc847de10f9704027f2c1ac2a6126adcf63737711a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000cdf2e45d8319f0a920e05fb633a347e1c974f6192cdaaf300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005d0ce1b4",
          "functionSelector": "0x4ab0d190",
          "path": "USD",
          "result": "0x0000000000000000000000000000000000000000000000000000000000006f4b",
          "times": 100,
          "url": "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD"
        },
        "status": "completed",
        "error": null
      },
      "status": "completed",
      "task": {
        "id": 8,
        "createdAt": "2019-06-21T08:10:53.183675493Z",
        "updatedAt": "2019-06-21T08:10:53.183675493Z",
        "deletedAt": null,
        "type": "ethuint256",
        "confirmations": 0,
        "params": {
        }
      },
      "minimumConfirmations": 3,
      "confirmations": 3
    },
    {
      "id": "0c1d19ece2d3497280a40c80b59370fb",
      "result": {
        "jobRunId": "af102b4ebf964e37b27894d398c1b85f",
        "taskRunId": "0c1d19ece2d3497280a40c80b59370fb",
        "data": {
          "address": "0x1aDEca2e9002C30E89264770Fc636731D989032e",
          "dataPrefix": "0x3c2b283f4a8da2ea3f2b52fc847de10f9704027f2c1ac2a6126adcf63737711a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000cdf2e45d8319f0a920e05fb633a347e1c974f6192cdaaf300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005d0ce1b4",
          "functionSelector": "0x4ab0d190",
          "path": "USD",
          "result": "0x5f7186b69740586075495713914cf8db84140d2a21b71107531ddb2a5bbc81af",
          "times": 100,
          "url": "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD"
        },
        "status": "errored",
        "error": "CheckAttempt GetTxReceipt failed: Bad response on request: [ TransactionIndex ]. Error cause was EmptyResponse, (majority count: 59 / total: 59)"
      },
      "status": "errored",
      "task": {
        "id": 9,
        "createdAt": "2019-06-21T08:10:53.183808642Z",
        "updatedAt": "2019-06-21T08:10:53.183808642Z",
        "deletedAt": null,
        "type": "ethtx",
        "confirmations": 0,
        "params": {
        }
      },
      "minimumConfirmations": 3,
      "confirmations": 3
    }
  ],
  "createdAt": "2019-06-21T13:50:16.266181589Z",
  "finishedAt": "2019-06-21T13:50:53.485455891Z",
  "updatedAt": "2019-06-21T13:50:53.486633933Z",
  "creationHeight": 5835642,
  "observedHeight": 5835644,
  "overrides": {
    "jobRunId": "",
    "taskRunId": "",
    "data": {
      "address": "0x1aDEca2e9002C30E89264770Fc636731D989032e",
      "dataPrefix": "0x3c2b283f4a8da2ea3f2b52fc847de10f9704027f2c1ac2a6126adcf63737711a0000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000cdf2e45d8319f0a920e05fb633a347e1c974f6192cdaaf300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005d0ce1b4",
      "functionSelector": "0x4ab0d190",
      "path": "USD",
      "times": 100,
      "url": "https://min-api.cryptocompare.com/data/price?fsym=ETH&tsyms=USD"
    },
    "status": "",
    "error": null,
    "amount": "1000000000000000000"
  },
  "initiator": {
    "type": "runlog",
    "params": {
      "address": "0x1adeca2e9002c30e89264770fc636731d989032e"
    }
  }
}
thodges-gh commented 5 years ago

This happens when connected to an Ethereum light client and the node attempts to get the receipt for a transaction. As you show, the transaction still goes through. We have a bug logged for it in our tracker here.

thodges-gh commented 4 years ago

Should be resolved in latest.