I’m getting a 504 Gateway Time-out every 5-15 minutes for some reason, is this a problem that’s begin formed at my backend side or is this an error on Moralis’ side?
Screenshot:
Backend Code:
const initMoralis = async () => {
await Moralis.start({ serverUrl: "https://rmatpmaksrdg.usemoralis.com:2053/server", appId: "xxxxxxxxxxxx" });
}
const GetAllNFTs = async () => {
initMoralis();
const allContractInfo = await Moralis.Web3API.token.getAllTokenIds({ address: address, chain: "rinkeby", });
const nftItems = allContractInfo.result;
// Some other unimportant backend code
}
setInterval(GetAllNFTs, 10000);