Uniswap / Uniswap/interface

Explore->Tokens/Pools/Transactions/NFTs are not working. CORS errors.

Open
#7,755 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.5k
Forks
5.4k
PR merge metrics
No merged PRs in 30d

Description

Hello! Pages
https://app.uniswap.org/explore
https://app.uniswap.org/explore/pools
https://app.uniswap.org/explore/transactions
https://app.uniswap.org/nfts
are not working. They have a lot of CORS errors:
"Access to fetch at 'https://interface.gateway.uniswap.org/v1/graphql' from origin 'https://app.uniswap.org' 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. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."

My browser: "Chrome. Version 127.0.6533.120 (Official Build) (x86_64)"
Address: Ukraine, Kyiv

Screenshot 2024-08-17 at 23 15 52 Screenshot 2024-08-17 at 23 20 40

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure on the listed Explore, Pools, Transactions, and NFTs pages, then inspect the preflight request to https://interface.gateway.uniswap.org/v1/graphql and its CORS response. Done means these pages load successfully from https://app.uniswap.org without the reported CORS errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api, frontend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.