Unirest 连接超时

Unirest connection timeout

我遇到了网络问题,运行我没有办法检查。我有一个我正在尝试发送的 unirest 请求,但我一直收到这个回复:

<html>
    <head><title>404 Not Found</title></head>
    <body bgcolor="white">
    <center><h1>404 Not Found</h1></center>
        <hr><center>nginx/1.13.4</center>
    </body>
</html>

连同错误消息 connection time out。当我尝试 运行 其他非 unirest 请求时也会发生此错误,所以我认为这是一个网络问题。

这是我到目前为止所做的:
1。请求将客户端网络服务的 IP 添加到我们网络的白名单中
2. 请求将我的 IP 列入我们 UAT 服务器网络的白名单,以防我的本地计算机尝试与其通信
3. 检查我们的客户端是否做了他们说没有做的任何白名单
4. 尝试从我的家用计算机 运行 我的代码,其中我的代码运行完美

非常欢迎和赞赏任何建议

编辑: 这是我对 nginx 的配置:

server {
    listen 443;
    server_name  api.nuvelco.com;

    location /{
        proxy_pass http://api.nuvelco.com/;
    }
}

nginx 可能有几个 'server' 配置,可能相差 IP/hostname/port。当它工作时和不工作时,你连接到它的方式不同吗?

在大多数情况下,404 意味着没有资源,或者 PHP 没有配置为处理 url。

查看 nginx access/error 日志可能会有帮助。