在 staging 环境不能 curl 一个网站,什么原因呢?

2018-03-31 10:03:09 +08:00
 wpzero

首先,在我的本地和生产服务器,我是可以 curl 那个网站的。

可是在我的 staging 环境中却失败,但是我 curl 别的网站是没有问题的。

我 curl -v site 的结果也是没有什么

*   Trying 192.175.110.124...

然后我的 tcpdump 的结果如下:

2018-03-31 01:16:34.453036 IP (tos 0x0, ttl 64, id 8852, offset 0, flags [DF], proto TCP (6), length 60) 10.11.112.108.59187 > 192.175.110.124.443: Flags [S], cksum 0xa9d1 (incorrect -> 0x11ef), seq 1631407811, win 29200, options [mss 1460,sackOK,TS val 353791063 ecr 0,nop,wscale 8], length 0 2018-03-31 01:16:35.452914 IP (tos 0x0, ttl 64, id 8853, offset 0, flags [DF], proto TCP (6), length 60) 10.11.112.108.59187 > 192.175.110.124.443: Flags [S], cksum 0xa9d1 (incorrect -> 0x10f5), seq 1631407811, win 29200, options [mss 1460,sackOK,TS val 353791313 ecr 0,nop,wscale 8], length 0 2018-03-31 01:16:37.456926 IP (tos 0x0, ttl 64, id 8854, offset 0, flags [DF], proto TCP (6), length 60) 10.11.112.108.59187 > 192.175.110.124.443: Flags [S], cksum 0xa9d1 (incorrect -> 0x0f00), seq 1631407811, win 29200, options [mss 1460,sackOK,TS val 353791814 ecr 0,nop,wscale 8], length 0 2018-03-31 01:16:41.464918 IP (tos 0x0, ttl 64, id 8855, offset 0, flags [DF], proto TCP (6), length 60) 10.11.112.108.59187 > 192.175.110.124.443: Flags [S], cksum 0xa9d1 (incorrect -> 0x0b16), seq 1631407811, win 29200, options [mss 1460,sackOK,TS val 353792816 ecr 0,nop,wscale 8], length 0 2018-03-31 01:16:49.480947 IP (tos 0x0, ttl 64, id 8856, offset 0, flags [DF], proto TCP (6), length 60) 10.11.112.108.59187 > 192.175.110.124.443: Flags [S], cksum 0xa9d1 (incorrect -> 0x0342), seq 1631407811, win 29200, options [mss 1460,sackOK,TS val 353794820 ecr 0,nop,wscale 8], length 0 2018-03-31 01:17:05.528931 IP (tos 0x0, ttl 64, id 8857, offset 0, flags [DF], proto TCP (6), length 60) 10.11.112.108.59187 > 192.175.110.124.443: Flags [S], cksum 0xa9d1 (incorrect -> 0xf395), seq 1631407811, win 29200, options [mss 1460,sackOK,TS val 353798832 ecr 0,nop,wscale 8], length 0

请问,有什么可能呢?

2922 次点击
所在节点    Linux
7 条回复
tinytin
2018-03-31 10:44:41 +08:00
防火墙隔离
defunct9
2018-03-31 14:38:06 +08:00
看 ssh,让我上去看看
scriptB0y
2018-03-31 14:53:04 +08:00
贴一下 curl -v 的 log ?

用代码的格式贴,不然看不了。格式为

```
code
```
tempdban
2018-03-31 18:03:06 +08:00
cksum 0xa9d1 (incorrect -> 0x0b16),
重启
tempdban
2018-03-31 18:03:35 +08:00
@defunct9 又是你…
wpzero
2018-03-31 18:16:19 +08:00
@scriptB0y 我贴了,真心没有啥 log, 只有一句,然后就一直等待了

```
Trying 192.175.110.124...
```
defunct9
2018-03-31 22:11:32 +08:00
@tempdban 其实我是个闲人

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/443041

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX