Getting 502 Bad Gateway after attempting upgrade

Hi all,
I think I broke my site by clicking on Upgrade on “Discourse-Manager” if I recall correctly. It declared failure and I clicked on a box “reset upgrade” or sth. Cannot reproduce the actions precisely, as the site is down.

What I found out so far is that Rails does not connect to Redis, and I cannot rebuild app. Not sure how to proceed with this…

Rails production log says:
Error connecting to Redis on localhost:6379 (Errno::EADDRNOTAVAIL) subscribe failed, reconnecting in 1 second. Call stack /var/www/discourse/vendor/bundle/ruby/3.3.0/gems/redis-4.8.1/lib/redis/client.rb:398:in rescue in establish_connection’`

./launcher rebuild app:

Error response from daemon: toomanyrequests: Too Many Requests (HAP429).
Error response from daemon: toomanyrequests: Too Many Requests (HAP429).
Unable to find image 'discourse/base:2.0.20241203-0251' locally
docker: Error response from daemon: toomanyrequests: Too Many Requests (HAP429).
See 'docker run --help'.
Your Docker installation is not working correctly

You’re hitting a rate limit from Docker.

Many users were able to resolve the issue by disabling IPv6.

Similar issue:

3 Likes

Thank you, disabling ipv6 worked!

2 Likes