Nginx 克隆服务器后,获取504部署失败

Nginx 克隆服务器后,获取504部署失败,nginx,scrapy,scrapyd,Nginx,Scrapy,Scrapyd,我有一个正在运行的实例。此实例已克隆,现在已在另一个服务器IP下启动并运行。克隆服务器工作正常,只是我无法再部署到新的IP 我越来越 retry_on_eintr(check_call, [sys.executable, 'setup.py', 'clean', '-a', 'bdist_egg', '-d', d], Deploying to project "test" in http://myip:6843/addversion.json Deploy failed

我有一个正在运行的实例。此实例已克隆,现在已在另一个服务器IP下启动并运行。克隆服务器工作正常,只是我无法再部署到新的IP

我越来越

  retry_on_eintr(check_call, [sys.executable, 'setup.py', 'clean', '-a', 'bdist_egg', '-d', d],
Deploying to project "test" in http://myip:6843/addversion.json
Deploy failed (504):
<html>
<head><title>504 Gateway Time-out</title></head>
<body bgcolor="white">
<center><h1>504 Gateway Time-out</h1></center>
<hr><center>nginx/1.14.0 (Ubuntu)</center>
</body>
</html>

我遗漏了什么?

发现了问题。Scrapy正在尝试访问远程MySQL服务器,该服务器为此IP被阻止。

发现问题。Scrapy正在尝试访问远程MySQL服务器,该服务器为此IP被阻止。

发现问题。Scrapy正在尝试访问被此IP阻止的远程MySQL服务器。发现问题。Scrapy试图访问一个远程MySQL服务器,该服务器为此IP被阻止。
[error] 1180#1180: *62 upstream timed out (110: Connection timed out) while reading response header from upstream, client: myip, server: , request: "POST /addversion.json HTTP/1.1", upstream: "http://127.0.0.1:6800/addversion.json", host: "myip:6843"