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

Random RequestTimeoutError failure #187

Open
think-in-universe opened this issue Aug 7, 2022 · 0 comments
Open

Random RequestTimeoutError failure #187

think-in-universe opened this issue Aug 7, 2022 · 0 comments

Comments

@think-in-universe
Copy link
Member

I have migrated some old tests from workspaces-js v1.1.0 to v3.1.0 recently, and the test execution is quite flaky somehow. Usually a random number (1~7 usually) out of 20 test cases will fail with below error. The failure is quite random and seems to be related to sandbox environment I think.

Any ideas about the root cause, and how to fix it?


  Rejected promise returned by test. Reason:

  RequestTimeoutError {
    message: '',
  }

  › node_modules/near-workspaces/node_modules/near-api-js/lib/utils/web.js:34:44
  › async Object.exponentialBackoff [as default] (node_modules/near-workspaces/node_modules/near-api-js/lib/utils/exponential-backoff.js:7:24)
  › async Object.fetchJson (node_modules/near-workspaces/node_modules/near-api-js/lib/utils/web.js:22:22)
  › async node_modules/near-workspaces/node_modules/near-api-js/lib/providers/json-rpc-provider.js:312:34
  › async Object.exponentialBackoff [as default] (node_modules/near-workspaces/node_modules/near-api-js/lib/utils/exponential-backoff.js:7:24)
  › async JsonRpcProvider.sendJsonRpc (node_modules/near-workspaces/node_modules/near-api-js/lib/providers/json-rpc-provider.js:304:26)
  › async Account.signTransaction (node_modules/near-workspaces/node_modules/near-api-js/lib/account.js:96:23)
  › async node_modules/near-workspaces/node_modules/near-api-js/lib/account.js:118:34
  › async Object.exponentialBackoff [as default] (node_modules/near-workspaces/node_modules/near-api-js/lib/utils/exponential-backoff.js:7:24)
@github-project-automation github-project-automation bot moved this to Backlog 🥶 in DevRel Jun 3, 2024
@thisisjoshford thisisjoshford removed this from DevRel Oct 31, 2024
@github-project-automation github-project-automation bot moved this to NEW❗ in DevTools Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: NEW❗
Development

No branches or pull requests

1 participant