Skip to content

Conversation

@fkenji
Copy link

@fkenji fkenji commented Feb 23, 2022

Retry a transaction on rpc errors, ie:

error while sending transaction: client: rpc error: code = Internal desc = failed to send transaction to a collection node: 3 errors occurred:
	* failed to send transaction to collection node at flow-1.staked.cloud:3569: rpc error: code = DeadlineExceeded desc = context deadline exceeded
	* failed to send transaction to collection node at p2p.240cb98b-097c-4473-8db7-e018030fec00.flow.bison.run:3569: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp: lookup p2p.240cb98b-097c-4473-8db7-e018030fec00.flow.bison.run on 169.254.169.254:53: no such host"
	* failed to send transaction to collection node at flow-0.staked.cloud:3569: rpc error: code = DeadlineExceeded desc = context deadline exceeded

Copy link

@judezhu judezhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants