-
Notifications
You must be signed in to change notification settings - Fork 56
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
HTTP errors are not being commited since version 1.5.3 #2306
Comments
The affected nodes show this log line:
which means that the |
@tmpolaczyk nice catch. Very interested about what could be the actual consequences of this, specially its impact on resolution of data requests, and reputation / collateral slashing. |
@aesedepece when a data source returns an http error, nodes running on 1.5.3 or 1.5.4 will not participate in the resolution of that data request. So we should see an "Insufficient commits" error in mainnet. But instead we see the "http error", even when it shouldn't be the result (in case of 1 error and 4 non-error sources). So we believe that there are some nodes running modified versions of the node, and they are the ones participating in these requests. |
@aesedepece @tmpolaczyk What if we let nodes refrain from committing errors only if majority of errors correspond to either http/401 (unauthorized) or http/403 (forbidden) ?? |
Starting from the 1.5.3 release, when a node encounters an HTTP error or a timeout in one of the sources of a data request, it will not commit any value at all.
Run a git bisect and e33986d is the first bad commit.
Besides, one single failing source would make the node to infer that the whole data request failed and, again, the node would refrain from committing any value or error at all. This is something that was presumably fixed before 1.5.3.
The text was updated successfully, but these errors were encountered: