centfinance / Symmetric.PoolsUI

High quality liquidity pool and index fund. The link below is for the xDai development server.
https://pools-xdai.cent.finance
GNU General Public License v3.0
5 stars 6 forks source link

Intermittent CORS issue #100

Closed TheNewAutonomy closed 2 years ago

TheNewAutonomy commented 2 years ago

We intermittently have issues with nodes and Subgraph where our calls are rejected with CORS errors.

We should look at how we're creating service requests and why from time to time we have these CORS responses.

tqmvt commented 2 years ago

I've checked about how we fetch data from external sources like Subgraph, but it looks fine. I think these CORS errors are from the third-party services because their servers are sometimes off or their backend system has changed.

TheNewAutonomy commented 2 years ago

CORS issues have been detected from node end points and sometimes from Fleek. We've switched the node end point to a dedicated endpoint which has CORS support correctly configured. We've created a separate issue for replacing Fleek with a local alternatives and so this issue can be closed.