Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDK throws a timeout exceeded but the transaction can be found in hash scan #2614

Open
konstantinabl opened this issue Oct 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@konstantinabl
Copy link

Description

Currently, in the relay we experience this issue in the CI and on mainnet. When a user sends a transaction we call transaction.execute and we receive a timeout exceeded error for seemingly "short" transactions, which shouldn't exceed the default timeout of 10 seconds. On one instance the sdk returned a timeout, but afterwards the transaction could be found on hashscan. This leads to user confusion and bad user experience.

Steps to reproduce

The issue is hard to reproduce. It could be found in the CI when acceptance tests are ran and it appears on mainnet.
Failing in CI examples:
In the API Batch 3 raw logs in my PR trying to reproduce the issue -> https://github.com/hashgraph/hedera-json-rpc-relay/actions/runs/11521351852/job/32074803392?pr=3129 (my own fork of the sdk is used here in order to add some more logging)

On mainnet:
https://production.grafana.hedera-ops.com/goto/L4lgN0kNg?orgId=1 -> in these logs you can see the SDK throwing timeout exceeded and then in the relay we throw an error that the transaction execution failed.
[2024-10-03 14:08:13.646 +0000] WARN (consensus-node/84 on mainnet-hashio-6cb89dc686-5wjsn): [Request ID: 64d0e264-3e84-47b9-9e1a-75991fda5422] Fail to execute EthereumTransaction transaction: [email protected], callerName=eth_sendRawTransaction, status=UNKNOWN(21)
However, when taking the ID you can find it in hashscan
https://hashscan.io/mainnet/transaction/1727964478.235255000

Additional context

No response

Hedera network

mainnet

Version

2.50.0-beta.3

Operating system

None

@konstantinabl konstantinabl added the bug Something isn't working label Oct 28, 2024
@rwalworth rwalworth added this to the v2.54.0 milestone Oct 29, 2024
@ivaylonikolov7 ivaylonikolov7 self-assigned this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants