由于DHCP,HTTP / HTTPS超时进/出?

问题描述 投票:1回答:1

[我正在尝试调试在OVH.com上订购的新服务器,他们坚持认为即使向示例github.com发出卷曲请求时超时,它也会正常运行(在10次尝试中超时9次)

curl -L -v https://github.com

我知道

* Rebuilt URL to: https://github.com/
*   Trying 140.82.118.4...
* connect to 140.82.118.4 port 443 failed: Connection timed out
* Failed to connect to github.com port 443: Connection timed out
* Closing connection 0
curl: (7) Failed to connect to github.com port 443: Connection timed out

即使我设置了NGINX服务器,站点请求几乎每秒钟都会超时

所以我认为也许DHCP服务器可能是一个问题,所以我检查了一下,并从(var / lib / dhcp ..)中看到了这一点

lease {
  interface "ens4";
  fixed-address 10.0.X.XX;
  option subnet-mask 255.255.255.0;
  option routers 10.0.X.X;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option dhcp-server-identifier 10.0.X.X;
  option domain-name-servers 10.0.X.X;
  renew 6 2020/03/28 02:16:19;
  rebind 6 2020/03/28 13:47:57;
  expire 6 2020/03/28 16:47:57;
}
lease {
  interface "ens4";
  fixed-address 10.0.X.XX;
  option subnet-mask 255.255.255.0;
  option routers 10.0.X.X;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option dhcp-server-identifier 10.0.X.X;
  option domain-name-servers 10.0.X.X;
  renew 5 2020/03/27 16:51:54;
  rebind 5 2020/03/27 16:51:54;
  expire 5 2020/03/27 16:51:54;
}

我尝试通过执行此命令来获得一个新的,但没有任何变化,仍然与上面相同

sudo dhclient -r

我看的DHCP错误还是看起来正常?为了记录在案,我在此专用服务器上的公共IP以5而不是1开头,并且在Ubuntu 16.04 LTS上运行]

http https dhcp ovh
1个回答
0
投票

您在OVH提供什么?他们通常不将专用IP分配给专用服务器或虚拟专用服务器,所以这很奇怪。

您可能想收集一些跟踪信息以检查诸如:]之类的工具出了什么问题?

  • tcptraceroute检查端口80或443上域的路径看起来很奇怪
  • ping可以查看是否有数据包丢失
  • [tcpdump在发生超时时捕获原始网络数据包以查看发生了什么]
  • 这是一个好的开始,也可能会帮助您返回OVH支持并证明他们有问题。

© www.soinside.com 2019 - 2024. All rights reserved.