-
Notifications
You must be signed in to change notification settings - Fork 119
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
Rosetta: /construction/submit endpoint times out on first/second use after Node/API start #2169
Comments
I suspect the services (stacks-node and/or stacks-blockchain-api) are not ready for N second after boot, and that the broadcast is succeeding after that period of time rather than number of retries. The rosetta The API and postgres typically don't take long to start (maybe a few seconds?), so I'm assuming stacks-core isn't yet ready. Here's a few things you can try:
|
@crustywhale closing this issue. Please feel free to re-open or comment if you have any additional issues or questions |
Node: 3.0.0.0.2
API: 8.2.2
After starting or restarting a stacks node and stacks api, the first 1 or 2 attempts to use the /construction/submit endpoint to broadcast a transaction will fail (timeout). By the third or fourth attempt it will start working, and once it does the problem will not reappear again until the stacks node and stacks API are restarted.
The text was updated successfully, but these errors were encountered: