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

BSC API: Increased number of response timeouts #900

Closed
kaladinlight opened this issue Dec 7, 2023 · 2 comments · Fixed by #908
Closed

BSC API: Increased number of response timeouts #900

kaladinlight opened this issue Dec 7, 2023 · 2 comments · Fixed by #908
Assignees
Labels
bug Something isn't working

Comments

@kaladinlight
Copy link
Collaborator

Overview

There has been a large number of 500's related to timeouts recently. I noticed this on bnbsmartchain specifically, but it appears to be somewhat prevalent across coinstacks.

I am able to make a lot of the same queries locally without any problem. This may be a kube networking issue? Need to investigate

References and additional details

::ffff:10.0.23.91 - GET /api/v1/account/0xef678d1ad8c897c71d0a6145390a474035db8f1f HTTP/1.1 500 41 - 10373.327 ms
ApiError [Internal Server Error]: timeout of 10000ms exceeded
    at handleError (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/utils.js:11:16)
    at Service.getAccount (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/service.js:89:43)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:533:9)
    at process.processTimers (node:internal/timers:507:7) {
  statusCode: 500
}
::ffff:10.0.158.60 - GET /api/v1/account/0x41cb654d1f47913acab158a8199191d160dabe4a HTTP/1.1 500 41 - 10003.075 ms
ApiError [Internal Server Error]: timeout of 10000ms exceeded
    at handleError (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/utils.js:11:16)
    at Service.getTxHistory (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/service.js:186:43)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:533:9)
    at process.processTimers (node:internal/timers:507:7) {
  statusCode: 500
}
::ffff:10.0.147.29 - GET /api/v1/account/0x5b00a277d7cc977f84e45e210c228440774cf943/txs?cursor=&pageSize=100 HTTP/1.1 500 41 - 10001.480 ms
ApiError [Internal Server Error]: timeout of 10000ms exceeded
    at handleError (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/utils.js:11:16)
    at Service.getTxHistory (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/service.js:186:43)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:533:9)
    at process.processTimers (node:internal/timers:507:7) {
  statusCode: 500
}
::ffff:10.0.81.12 - GET /api/v1/account/0x41cb654d1f47913acab158a8199191d160dabe4a/txs?cursor=&pageSize=100 HTTP/1.1 500 41 - 10001.623 ms
ApiError [Internal Server Error]: timeout of 10000ms exceeded
    at handleError (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/utils.js:11:16)
    at Service.getAccount (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/service.js:89:43)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:533:9)
    at process.processTimers (node:internal/timers:507:7) {
  statusCode: 500
}
::ffff:10.0.1.200 - GET /api/v1/account/0x5b00a277d7cc977f84e45e210c228440774cf943 HTTP/1.1 500 41 - 10002.057 ms
ApiError [Internal Server Error]: timeout of 10000ms exceeded
    at handleError (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/utils.js:11:16)
    at Service.getAccount (/app/node/coinstacks/bnbsmartchain/api/dist/common/api/src/evm/service.js:89:43)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:533:9)
    at process.processTimers (node:internal/timers:507:7) {
  statusCode: 500
}
::ffff:10.0.147.29 - GET /api/v1/account/0x9f52a8a135d0c1010e0ddbeb089ae7df5da061c0 HTTP/1.1 500 41 - 10373.645 ms

Acceptance Criteria

  • Determine root cause of timeouts
  • No more timeouts

Need By Date

No response

Screenshots/Mockups

No response

Estimated effort

No response

@0xean
Copy link
Contributor

0xean commented Dec 11, 2023

getting intermittent reports of this happening across multiple endpoints (not just BSC)

@0xean 0xean added the bug Something isn't working label Dec 11, 2023
@0xean 0xean moved this from To schedule to In progress in ShapeShift Dashboard Dec 11, 2023
@kaladinlight kaladinlight linked a pull request Dec 14, 2023 that will close this issue
@kaladinlight
Copy link
Collaborator Author

closed by #908

@github-project-automation github-project-automation bot moved this from In progress to Done in ShapeShift Dashboard Dec 14, 2023
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
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants