I have a Dapp on testnet where i just transfer tokens between different addresses and chains. I am the only user for this Dapp but my server https://poteo5fegttn.moralishost.com:2053/server always reaches 100% cpu and answers with „POST https://poteo5fegttn.moralishost.com:2053/server/functions/getNativeBalance net::ERR_INSUFFICIENT_RESOURCES“.
After a while when the cpu is back to normal 10% it get the error Error: XMLHttpRequest failed: “Unable to connect to the Parse API”
Access to XMLHttpRequest at ‘https://poteo5fegttn.moralishost.com:2053/server/functions/getTokenBalances’ from origin ‘http://localhost:3000’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
RESTController.js:304 POST https://poteo5fegttn.moralishost.com:2053/server/functions/getTokenBalances net::ERR_FAILED 403
Does anybody have an idea what did I wrong?
Thanks for your help.