mobilecoinfoundation / mobilecoin

Private payments for mobile devices.
Other
1.16k stars 151 forks source link

`Deadline Exceeded` when request `generate_tx` method with 8 UTXOs #3871

Open Ljzn opened 9 months ago

Ljzn commented 9 months ago

Hello, we're running a mobilecoind node, and use it via gRPC api.

problem

Call generate_tx method with 8 UTXOs as tx inputs.

The call failed with Deadline Exceeded.

%GRPC.RPCError{status: 4, message: \"Deadline Exceeded\"}}\n"}

We keep retried about 2 hours, then finally got it onchain. The tx is https://block-explorer.mobilecoin.foundation/txos/46A21D2C50F7856D85CF3306F8D30EF4544868EB1B5BA4AF0CB0BA6A7806E957 .

expect

not exceed deadline

nick-mobilecoin commented 9 months ago

Do you have the command args used to start mobilecoind? In particular what peers and source urls were being used?

Ljzn commented 9 months ago

@nick-mobilecoin Ok. The start command is:

./mobilecoind --mobilecoind-db /tmp/transaction-db --ledger-db /tmp/ledger-db --poll-interval 10 --peer mc://[node1.prod.mobilecoinww.com/](http://node1.prod.mobilecoinww.com/) --peer mc://[node2.prod.mobilecoinww.com/](http://node2.prod.mobilecoinww.com/)  --tx-source-url https://ledger.mobilecoinww.com/node1.prod.mobilecoinww.com/ --tx-source-url https://ledger.mobilecoinww.com/node2.prod.mobilecoinww.com/ --listen-uri insecure-mobilecoind://[0.0.0.0:4444/](http://0.0.0.0:4444/) --fog-ingest-enclave-css $(pwd)/ingest-enclave.css --chain-id main
nick-mobilecoin commented 9 months ago

Unfortunately we don't see anything that jumps out in those nodes during that time.

@Ljzn Are you all seeing this issue in a repeatable manner?