aws-samples / aws-nitro-enclave-blockchain-wallet

MIT No Attribution
38 stars 10 forks source link

[Errno 111] Connection refused when signing a transaction #4

Closed 0xYao closed 2 years ago

0xYao commented 2 years ago
  {
    "operation": "sign_transaction",
    "transaction_payload": {
      "value": 0.0001,
      "to": "0xa5D3241A1591061F2a4bB69CA0215F66520E67cf",
      "nonce": 0,
      "type": 2,
      "chainId": 4,
      "gas": 100000,
      "maxFeePerGas": 100000000000,
      "maxPriorityFeePerGas": 3000000000
    }
  }
dpdornseifer commented 2 years ago

Hi @0xYao , thanks for sharing this issue. Is this issue related to #5 or #6 or did it happen in an unrelated deployment? Did the EC2 or load balancer health checks fail? Which region did you deploy the stack into?

Cheers, David

0xYao commented 2 years ago

Hi @0xYao , thanks for sharing this issue. Is this issue related to #5 or #6 or did it happen in an unrelated deployment? Did the EC2 or load balancer health checks fail? Which region did you deploy the stack into?

Cheers, David

I had to fix both #5 and #6 first to successfully deploy. The load balancer health checks failed and I deployed the stack into us-east-1.

dpdornseifer commented 2 years ago

Hi @0xYao, the load balancer health checks would just fail if the http_server docker container is not running on the EC2 instance. Can you please confirm that the docker container is up and running. Just to make sure that I understand you correctly, you fixed the local build issue first (#6), executed the binary build step (./scripts/build_kmstool_enclave_cli.sh) and executed a cdk deploy with default settings to us-east-1?