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

Unable to run integration-test against private rpc node with node v20 #2973

Closed
hui-an-yang opened this issue May 27, 2024 · 1 comment · Fixed by #2986
Closed

Unable to run integration-test against private rpc node with node v20 #2973

hui-an-yang opened this issue May 27, 2024 · 1 comment · Fixed by #2986
Assignees
Labels
bug Something isn't working
Milestone

Comments

@hui-an-yang
Copy link
Collaborator

When I tried to run integration-tests with node lts/iron -> v20.13.1 will get errors like below, lts/hydrogen -> v18.20.3 were fine.
Weirdly when i switch to public rpc url with the same node v20 were fine, might be a http and https differences.
I have back track to node v19.0.0 is when this behaviour started, will need to look into node release notes to find what need to be updated on taquito side.

    Failed to originate ticket contract {"method":"GET","url":"http://ecad-oxfordnet-full.i.tez.ie:8732/chains/main/chain_id","cause":{"message":"request to http://ecad-oxfordnet-full.i.tez.ie:8732/chains/main/chain_id failed, reason: socket hang up","type":"system","errno":"ECONNRESET","code":"ECONNRESET"},"name":"HttpRequestFailed","message":"GET http://ecad-oxfordnet-full.i.tez.ie:8732/chains/main/chain_id FetchError: request to http://ecad-oxfordnet-full.i.tez.ie:8732/chains/main/chain_id failed, reason: socket hang up"}

and

    HttpRequestFailed: GET http://ecad-ghostnet-rolling-2.i.tez.ie:8732/chains/main/chain_id FetchError: request to http://ecad-ghostnet-rolling-2.i.tez.ie:8732/chains/main/chain_id failed, reason: socket hang up
        at HttpBackend.<anonymous> (/Users/huianyang/ECAD_LABS/taquito/packages/taquito-http-utils/dist/taquito-http-utils.umd.js:504:31)
        at Generator.throw (<anonymous>)
        at rejected (/Users/huianyang/ECAD_LABS/taquito/packages/taquito-http-utils/dist/taquito-http-utils.umd.js:28:69)
        at processTicksAndRejections (node:internal/process/task_queues:95:5) {
      method: 'GET',
      url: 'http://ecad-ghostnet-rolling-2.i.tez.ie:8732/chains/main/chain_id',
      cause: FetchError {
        message: 'request to http://ecad-ghostnet-rolling-2.i.tez.ie:8732/chains/main/chain_id failed, reason: socket hang up',
        type: 'system',
        errno: 'ECONNRESET',
        code: 'ECONNRESET'
      }
    }
@hui-an-yang hui-an-yang added the bug Something isn't working label May 27, 2024
@hui-an-yang hui-an-yang added this to the v20+ milestone May 27, 2024
@dsawali dsawali modified the milestones: v20+, 20.1.0, 20.1 May 29, 2024
@dsawali dsawali self-assigned this Jun 10, 2024
@ac10n ac10n moved this to Done in Taquito Dev Jun 21, 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
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants