V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
wpzero
V2EX  ›  Linux

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

  •  
  •   wpzero · 2018-03-31 10:03:09 +08:00 · 2902 次点击
    这是一个创建于 2189 天前的主题,其中的信息可能已经有所发展或是发生改变。

    首先,在我的本地和生产服务器,我是可以 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

    请问,有什么可能呢?

    7 条回复    2018-03-31 22:11:32 +08:00
    tinytin
        1
    tinytin  
       2018-03-31 10:44:41 +08:00 via iPhone
    防火墙隔离
    defunct9
        2
    defunct9  
       2018-03-31 14:38:06 +08:00 via iPhone
    看 ssh,让我上去看看
    scriptB0y
        3
    scriptB0y  
       2018-03-31 14:53:04 +08:00
    贴一下 curl -v 的 log ?

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

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

    ```
    Trying 192.175.110.124...
    ```
    defunct9
        7
    defunct9  
       2018-03-31 22:11:32 +08:00 via iPhone
    @tempdban 其实我是个闲人
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1262 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 17:55 · PVG 01:55 · LAX 10:55 · JFK 13:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.