node-binary icon indicating copy to clipboard operation
node-binary copied to clipboard

500s on `/api/v1/fees`

Open wolfpack94 opened this issue 4 years ago • 7 comments

Hi.

We just recently, as in the last week, started getting 500s from the fees endpoint with not much description on the actual error. It was working fine prior to then. I also cannot find more descriptive error logs on the node we are running.

-- Logs begin at Mon 2020-01-27 03:49:31 UTC. --
Jun 01 17:34:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|17:34:00.133] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:19821
Jun 01 17:41:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|17:41:00.530] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:59387
Jun 01 17:48:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|17:48:00.117] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:33608
Jun 01 17:55:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|17:55:00.123] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:50681
Jun 01 18:02:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|18:02:00.121] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:46466
Jun 01 18:09:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|18:09:00.523] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:47313
Jun 01 18:16:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|18:16:00.035] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:59768
Jun 01 18:23:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|18:23:00.021] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:4594
Jun 01 18:30:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|18:30:00.126] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:51852
Jun 01 18:37:00 ip-10-2-1-165 bnbcli-prod[19564]: I[2020-06-01|18:37:00.434] Served RPC HTTP response                     module=apiserv method=GET url=/api/v1/fees status=500 duration=0 remoteAddr=xxx.xx.xxx.xxx:50986

Any idea on how to debug this more? Thank you

wolfpack94 avatar Jun 01 '20 18:06 wolfpack94

Hello, @wolfpack94

Could you share the endpoint URL here?

chainwhisper avatar Jun 03 '20 02:06 chainwhisper

Hi @huangsuyu unfortunately this node is running in a private subnet on AWS with no public endpoint. We are talking to it with VPC peering from an adjoining vpc. Are there any status commands I can run to make sure things are ok?

wolfpack94 avatar Jun 03 '20 15:06 wolfpack94

Hello, @wolfpack94

did you start a api-server for this?

bnbcli api-server 

chainwhisper avatar Jun 11 '20 01:06 chainwhisper

@huangsuyu yes. The node was functioning fine and then suddenly started returning 500s on the fees endpoint

wolfpack94 avatar Jun 11 '20 17:06 wolfpack94

which version of bnbcli do you use?

chainwhisper avatar Jun 12 '20 02:06 chainwhisper

Binance Chain Release: 0.6.2;Binance Chain Commit: 7182ae6; Cosmos Release: =v0.25.0-binance.19; Tendermint Release: =v0.31.5-binance.2;

wolfpack94 avatar Jun 12 '20 02:06 wolfpack94

Binance Chain Release: 0.6.2;Binance Chain Commit: 7182ae6; Cosmos Release: =v0.25.0-binance.19; Tendermint Release: =v0.31.5-binance.2;

Could you please bump your bnbcli version to v0.6.3 or higher ?

chainwhisper avatar Jul 16 '20 06:07 chainwhisper