safe-global / safe-infrastructure

One `docker-compose.yml` file to rule them all
MIT License
56 stars 92 forks source link

404 Error on /cgw/v1/chains Endpoint - would Correct Endpoint be /cfg/api/v1/chains/ ? #142

Closed metaver5o closed 2 months ago

metaver5o commented 3 months ago

Good day! I'm encountering the following error when trying to load the Safe:

GET http://xxx.compute-1.amazonaws.com:8000/cgw/v1/chains 404 (Not Found)
Error loading chains (Not Found)

The endpoint :8000/cgw/v1/chainsdoes not seem to open:

image

However, the information can be found at the following endpoint: :8000/cfg/api/v1/chains/

image

Could you please guide me on where to change/fix this configuration? I am running all Docker images from the latest version. Thank you.

metaver5o commented 2 months ago

After considering the issue, I realized the redirection problems might be coming from the reverse-proxy. So, I updated my nginx.conf with the current one live in the repository, and it worked fine. Thanks, everyone!