Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

503 Service unavailable for cgw/v1/chains call #157

Open
akshar opened this issue Aug 18, 2024 · 1 comment
Open

503 Service unavailable for cgw/v1/chains call #157

akshar opened this issue Aug 18, 2024 · 1 comment

Comments

@akshar
Copy link

akshar commented Aug 18, 2024

Hi Team,

We're trying to setup safe via docker-compose steps mentioned in this repo. for custom chain. FE is up at https://safel2.sx.technology/. Calls to https://safel2.sx.technology/cgw/v1/chains fails with 503 Service unavailable.

Additional information:

curl http://localhost:8000/cgw/v1/chains -L
{"code":503,"message":"Service unavailable"}
 - - [18/Aug/2024:02:00:06 +0000] "GET /api/v1/chains?limit=20&offset=0 HTTP/1.0" 301 0 "-" "node"
2024-08-18 02:00:06,297 MT::GET::api/v1/chains/::35::200::/cfg/api/v1/chains/
 - - [18/Aug/2024:02:00:06 +0000] "GET /api/v1/chains/?limit=20&offset=0 HTTP/1.0" 200 1894 "-" "node"
  • CGW debug logs when FE main page is rendered:
{"build_number":"234a559","level":"error","message":{"chain_id":null,"client_ip":"xxx.xx.xx.xx","detail":"Service unavailable","method":"GET","origin":null,"path":"/v1/chains","response_time_ms":61.282322000712156,"route":"/v1/chains","safe_app_user_agent":null,"status_code":503},"request_id":"43837fda-36b7-410c-bc27-68edd468cd12","timestamp":"2024-08-18T02:00:06.304Z","version":"v1.53.0"}
  • DJANGO_ALLOWED_HOSTS & CSRF_TRUSTED_ORIGINS are set correctly (localhost:* , nginix:*, currendDomain allowed) in cfg.env. Same for txs.env
@dankostiuk
Copy link

Hi team,

Any pointers? We are experiencing the same issue..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants