Official full node returns 502 when querying events in history

When I run the following RPC call

curl --request POST \
     --url https://fullnode.mainnet.sui.io \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "suix_queryEvents",
  "params": [
    {
      "MoveEventType": "0x1eabed72c53feb3805120a081dc15963c204dc8d091542592abaf7a35689b2fb::factory::CreatePoolEvent"
    },
    {"txDigest":"Ev63xvT8S6xJemyi5hBScopjoiTVxAqX3ctC7EfJvUsd","eventSeq":"0"},
    10,
    true
  ]
}'

I get a 502:

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>

This won’t happen if we change the cursor to a newer one. This issue is blocking our app to correctly read Cetus pool list, hence our app stops running for SUI network.

1 Like