Moralis v1 server issues

Can’t connect to server, server is ā€œactiveā€, resetting sometimes fixes but usually have to delete and recreate to get it working again.

Uncaught (in promise) Error: XMLHttpRequest failed: ā€œUnable to connect to the Parse APIā€

It was happening every now and then but now it’s daily.

What is your serverUrl? Or using a server consistently results in that error for you, even if it’s a new one? It could be a connection issue on your side.

This is on localhost, but yeah I create a new server and I get maybe a few hours now, I’ve had to recreate it twice today, different serverUrl’s

been fine for months, since v1 change been having a lot of issues

just now it’s happened again but this time with a CORS error -

Access to XMLHttpRequest at 'https://wm0fsdfoz48v.usemoralis.com:2053/server/functions/getPluginSpecs' from origin 'http://127.0.0.1:8000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

it looks like the server recovered now, if the server is not responding in a particular time interval, you will get that CORS error, it means that the server didn’t response in time in this case