question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Too many subrequests.

See original GitHub issue

Hi,

on a blockchain, I’m trying to get the information that the transaction has been approved.

const confirmation = await connection.confirmTransaction({
        signature,
        blockhash,
        lastValidBlockHeight,
    },
    "finalized"
);

The confirmTransaction function assigns multiple get requests in the background to verify whether the transaction has been confirmed or not.

in this case “error: Too many sub-requests. Thus, employees can submit up to 50 sub-requests per request.”

the error returns. I don’t get errors when I do the same with Expressjs. What am I doing wrong?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
yusukebecommented, Oct 23, 2022

The @honojs/node-server library worked.

Good!

One last question; where can I deploy my project using this library?

You can deploy it anywhere Node.js works. Version 16.x or 18.x would be good. If you like “serverless”, maybe it will work on AWS lambda or Google Cloud Functions. Or you can make it runs on VPS or containers…

0reactions
tolgaandcommented, Oct 23, 2022

@yusukebe thanks for your comment.

The @honojs/node-server library worked. One last question; where can I deploy my project using this library?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found