You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently suffered from a duplicate interactions issue caused by bundleInteraction failing in appearance by throwing an error while still managing to send the transaction to the Sequencer. Our system interpreted such errors reported by bundleInteraction as recoverable and reiterated the call to bundleInteraction, sometimes multiple times. This has led to some interactions being effectively run many times. I noticed over time that the method can have timeout errors (probably from Arweave's gateway?), errors from Redstone's Gateway, and also errors from the Sequencer (the .catch to gateway/sequencer/register's fetch). However, I'm unfortunately unable to provide more information on the specific issues that triggered bundleInteraction to throw while still sending the transactions as the concerned logs weren't retained...
Due to the criticality of such an issue, I also posted another issue describing a feature that would allow to proactively avoid duplicated interactions: #148.
The text was updated successfully, but these errors were encountered:
noomly
changed the title
bug: bundleInteraction can throws and still manage to send a transaction
bug: bundleInteraction can throw and still manage to send a transaction
May 24, 2022
So it may happen that a request to the sequencer (that is being done by bundleInteraction) will timeout before the "upload" method will timeout in the sequncer/bundlr.
From the SDK perspective it is then a timeout error, but the sequencer have processed the transaction properly.
Also - obviously our gateway indexes the bundled interaction only after getting a successful response from Bundlr - so it cannot happen, that we will cache/index something, that wasn't succssefully sent to Bundlr.
We recently suffered from a duplicate interactions issue caused by
bundleInteraction
failing in appearance by throwing an error while still managing to send the transaction to the Sequencer. Our system interpreted such errors reported bybundleInteraction
as recoverable and reiterated the call tobundleInteraction
, sometimes multiple times. This has led to some interactions being effectively run many times. I noticed over time that the method can have timeout errors (probably from Arweave's gateway?), errors from Redstone's Gateway, and also errors from the Sequencer (the .catch to gateway/sequencer/register's fetch). However, I'm unfortunately unable to provide more information on the specific issues that triggeredbundleInteraction
to throw while still sending the transactions as the concerned logs weren't retained...Due to the criticality of such an issue, I also posted another issue describing a feature that would allow to proactively avoid duplicated interactions: #148.
The text was updated successfully, but these errors were encountered: