XLabs / portal-bridge-ui

Portal Bridge UI
https://www.portalbridge.com/
25 stars 38 forks source link

[bug] Error "transaction indexing is in progress" when sending from BSC #1086

Open agodlevska opened 2 months ago

agodlevska commented 2 months ago

Is there an existing issue for this?

Current Behavior

An error message "Error with transfer, please try again" is displayed, despite the transaction being successfully completed and the WBNB arriving in the Avalanche account (by checking transaction history and Avalanche account).

Wormhole Connect: error completing transfer Error: could not coalesce error (error={ "code": -32000, "data": "transaction indexing is in progress", "message": "transaction indexing is in progress" }, payload={ "id": 21, "jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": [ "0x842126f5ae1f7274d89afe8603806b4280e03b9edb13c519c79f1e5cd759d731" ] }, code=UNKNOWN_ERROR, version=6.13.2)
    at makeError (pb-index-DXSlH2sC.js:269:19452)
    at Pi.getRpcError (pb-index-DXSlH2sC.js:270:212791)
    at Pi.getRpcError (evm-Be_3Z-Hc-Bki2EK4O.js:7:2076)
    at pb-index-DXSlH2sC.js:270:215073
Screenshot 2024-09-17 at 16 07 29

Expected Behavior

The transactions should proceed without any error messages.

Steps To Reproduce

  1. Open https://preview.portalbridge.com/b1f3c5115d/
  2. Prepare to send 0.001 BNB from BSC (Rabby) to Avalanche (Rabby)
  3. Put "Gas" on 22%
  4. Initiate the transfer (automatic route)
  5. Observe the error message displayed: "Error with transfer, please try again."
  6. Check "Transaction history" and the Avalanche account to confirm that the transaction has started and WBNB has been received into the account

Environment

- OS: macOS Sonoma 14.6.1
- Wallet: Rabby
- Browser: Google Chrome Version 128.0.6613.120 (Official Build) (x86_64)

Anything else?

Video link.

Wesleyleung commented 2 months ago

I seem to be getting similar errors for BNB

Screenshot 2024-09-04 at 8 58 59 PM Screenshot 2024-09-04 at 8 58 52 PM
tsadovska commented 2 months ago

Reproducible on https://portalbridge.com/.

Wormhole Connect: error completing transfer Error: could not coalesce error (error={ "code": -32000, "data": "transaction indexing is in progress", "message": "transaction indexing is in progress" }, payload={ "id": 11, "jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": [ "0x4fe9538b3b1bb2095559b33c5acb99c166ed7f0cec952b64fa0f17585bacd49b" ] }, code=UNKNOWN_ERROR, version=6.13.2)
    at makeError (pb-index-Bk8S0RNv.js:271:19452)
    at Ui.getRpcError (pb-index-Bk8S0RNv.js:272:212791)
    at Ui.getRpcError (evm-SljAss8Z-B6Ctor01.js:7:2076)
    at pb-index-Bk8S0RNv.js:272:215073
image
sebastianscatularo commented 2 months ago

this is because the blockchain state has not been completed propagate to all the nodes, and the queried node has an inconsistent state, looking on to manage it and retry if this is the case

agodlevska commented 1 month ago

Issue reproducible on https://preview.portalbridge.com/49dc473073/, when sending 0.0001 BNB from BSC (Rabby) to Fantom (Rabby).

Wormhole Connect: error completing transfer Error: could not coalesce error (error={ "code": -32000, "data": "transaction indexing is in progress", "message": "transaction indexing is in progress" }, payload={ "id": 23, "jsonrpc": "2.0", "method": "eth_getTransactionReceipt", "params": [ "0x8b29a24e3d9296afed41244c52ed42e3c1c8fbfa613deb47b7546713eb039b53" ] }, code=UNKNOWN_ERROR, version=6.13.3)
    at makeError (pb-index-B2ANqJWe.js:271:19340)
    at Go.getRpcError (pb-index-B2ANqJWe.js:272:212916)
    at Go.getRpcError (evm-Dx7MGmIO-Y0Tyd2G4.js:7:2047)
    at pb-index-B2ANqJWe.js:272:215198

Attachment:

Screenshot 2024-10-11 at 12 14 41
agodlevska commented 2 weeks ago

Issue is reproducible on https://preview.portalbridge.com/0a16bf3ef2/, when sending from 0.0014 BSC (Rabby) to USDC on Optimism (Rabby) via Mayan Swift route.

The transaction is also not displayed in the progress widget, but is present in the transaction history.

Screenshot 2024-11-11 at 15 49 16