-
Notifications
You must be signed in to change notification settings - Fork 512
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
Stellar Horizon: select failed: sql: Scan error on column index 21, name \"ledger_close_time\": unsupported Scan #3751
Comments
I noticed that I was on a slightly outdated version of stellar-core: |
Thanks for the report. I think your DB got corrupted somehow. This can only happen when there's no row with ledger data in |
Thanks for looking into it @bartekn. I think your analysis might be correct because in fact my reaper process never succeeds. I have reported this here: #3728 (comment) To mirror the logs from the comment mentioned above, here is my reaper log from a few days ago:
|
Presumably disabling the reaper, or at least allowing it to succeed within 10s will help mitigate this issue for the time being. Is there a flag we can set to do that? Or should I just increase |
@leevlad to mitigate this I think you can remove |
Great bug report! Thanks for this @leevlad |
This is fixed by #3777. |
I've got same issue. I ended up nuking whole horizon DB as reap process was taking forever and starting from scratch. |
What version are you using?
What did you do?
Requested
/accounts/<public_address>/payments?limit=200&order=desc&join=transactions
from Stellar Horizon via the HTTP API.What did you expect to see?
A 200 response or a 404 response.
What did you see instead?
Logs
The following is in the Stellar Horizon logs from this request:
Stellar Horizon Config
Additional Context
I am running several nodes with Stellar-Core and Stellar-Horizon on each of them, all running on identical machines with identical software environments (Ubuntu 18.04). Starting yesterday I began seeing one of my nodes throwing 500 errors when fetching account payments via the API. This same call returns 200-level success response on the other nodes.
This issue has not resolved itself after 2 days.
The text was updated successfully, but these errors were encountered: