NEARFoundation / stats.gallery

Big & fun NEAR account analytics!
https://stats.gallery
GNU General Public License v3.0
33 stars 18 forks source link

CORS error - contract data not loading after page load completes #89

Open balaianu opened 1 year ago

balaianu commented 1 year ago

Describe the bug Contract data not loading. The page is loading, but no data is populated about the contract in any of the sections

To Reproduce Steps to reproduce the behavior:

  1. Go to https://stats.gallery/mainnet/drt1-service.coretois.near/overview?t=all
  2. I have the issue in Firefox (Windows). I haven't tested on other devices

Expected behavior Contract data should be shown in each page section once the page finishes loading.

Screenshots https://we.tl/t-YBvtGRmD6I

Desktop (please complete the following information):

Additional context As seen in the screenshot, the problem looks to be caused by improper CORS configuration.

jhammond2012 commented 1 year ago

I think this is a problem with the server itself. If I try to visit the API directly, I get a 502 error.

https://api.stats.gallery