-
Notifications
You must be signed in to change notification settings - Fork 1
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
Occasional 404/502 Errors from RPC Proxy #14
Comments
that seems to be running an older version of this project.. the most recent one should have the status in that log, and also properly ignore servers that are erroring see #12 |
yeah, this is not the latest version: https://peers.akash.network |
Installed just cut release When request receives 404/502 response such as:
RPC proxy server logs show:
|
cool! there are a few nodes that I think always error - maybe we should remove them from the seed file as well? |
@caarlos0 are those |
@caarlos0 can you capture reply status and rule out nodes with 404/502 errors? |
We could definitely consider removing nodes from seeds if those nodes consistently error. But in addition - do we currently attempt an additional seed if the first attempted is unresponsive/returns error? |
it already does that... but after a while it will try again... its designed for intermittent errors, not exactly for things that always error...
we don't, easy enough to do though, can pr it later today |
these seem to be all the problematic ones |
The error rate is time-boxed too, can be customized by setting https://github.com/akash-network/rpc-proxy/blob/main/config.md |
if original node returns an error pass it to the client, don't try another node |
@caarlos0 - was there intent to remove these unresponsive nodes? Still getting sporadic occurrences of 404/502 and these same, identified nodes are used in such cases. Example - this morning getting 502 errors when |
I can remove them yes, @troian wdyt? |
this one seems to be back up though |
@caarlos0 lets do the following.
|
that sounds a bit overcomplicated... maybe something like this works better: #11 for the cases here, in which the server is always 5xx/404, it should solve the issue I think 🤔 |
sadly nature of RPC nodes on cosmos needs sophisticated health checks, historically the were pretty bad. |
https://public.stakewolle.com/cosmos/akash/rpc/ <- note the last slash, is causing issues because they seem to use a proxy with the public available rpcs themself but dont filter them. cosmos-spaces and notional are down consistently and handled. Other works for me. |
When testing the current implementation/deployment of the RPC Proxy approx 8 out 10 requests are serviced properly but 10-20% of requests receive 404 not found or 502 forbidden responses.
Version -
0.0.1-rc2
Testable via -
curl -ks https://peers.akash.network:443/rpc
Example - received 502 error moments ago and proxy logs show no evidence of issue such as:
The text was updated successfully, but these errors were encountered: