Score:0

Nginx upgrade getting [Errno 14] HTTP Error 503 - Service Unavailable

cn flag

We have Nginx server installed for *Elasticsearch. We need to upgrade the Nginx from 1.16 to 1.20. Trying the mainline version. Used the repo script from Nginx.org page. Created a repository in the folder /etc/yum.repos.d/nginx.repo

name=nginx_mainline_repo
baseurl=http://nginx.org/packages/mainline/centos/7Server/x86_64/
gpgcheck=1
enabled=1
gpgkey=file:///home/<directory>/nginx_signing.key
module_hotfixes=true

When I ran the command, yum upgrade nginx, get the following error output.

failure: repodata/repomd.xml from nginx-mainline: [Errno 256] No more mirrors to try.
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable
http://nginx.org/packages/mainline/centos/7/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 503 - Service Unavailable

Any idea how to resolve this ? We are running it on NSX. Tested by allowing any rule for the server. In our perimeter firewall, seeing a tcp-rst-from-client.

djdomi avatar
za flag
i thought, nginx using https only?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.