V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
nemuol
V2EX  ›  问与答

sni 貌似不能代 insta***m

  •  
  •   nemuol · 2016-08-22 17:03:56 +08:00 · 1625 次点击
    这是一个创建于 3016 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有成功的吗
    7 条回复    2016-08-23 19:51:32 +08:00
    choury
        1
    choury  
       2016-08-22 17:35:52 +08:00   ❤️ 1
    你的代理有问题吧

    curl -v https://www.instagram.com/
    * Trying 127.0.0.1...
    * Connected to www.instagram.com (127.0.0.1) port 443 (#0)
    * found 173 certificates in /etc/ssl/certs/ca-certificates.crt
    * found 692 certificates in /etc/ssl/certs
    * ALPN, offering h2
    * ALPN, offering http/1.1
    * SSL connection using TLS1.2 / ECDHE_RSA_AES_128_GCM_SHA256
    * server certificate verification OK
    * server certificate status verification SKIPPED
    * common name: *.instagram.com (matched)
    * server certificate expiration date OK
    * server certificate activation date OK
    * certificate public key: RSA
    * certificate version: #3
    * subject: C=US,ST=CA,L=Menlo Park,O=Instagram LLC,CN=*.instagram.com
    * start date: Wed, 08 Apr 2015 00:00:00 GMT
    * expire date: Fri, 30 Dec 2016 12:00:00 GMT
    * issuer: C=US,O=DigiCert Inc,OU=www.digicert.com,CN=DigiCert SHA2 High Assurance Server CA
    * compression: NULL
    * ALPN, server accepted to use h2
    * Using HTTP2, server supports multi-use
    * Connection state changed (HTTP/2 confirmed)
    * TCP_NODELAY set
    * Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
    * Using Stream ID: 1 (easy handle 0x5610cca40400)
    > GET / HTTP/1.1
    > Host: www.instagram.com
    > User-Agent: curl/7.50.1
    > Accept: */*
    >
    * Connection state changed (MAX_CONCURRENT_STREAMS updated)!
    < HTTP/2 200
    < content-length: 14848
    < strict-transport-security: max-age=86400
    < content-language: en
    < set-cookie: sessionid=; expires=Thu, 01-Jan-1970 00:00:00 GMT; Max-Age=0; Path=/; HttpOnly; Domain=instagram.com
    < expires: Sat, 01 Jan 2000 00:00:00 GMT
    < vary: Cookie, Accept-Language, Accept-Encoding
    < pragma: no-cache
    < cache-control: private, no-cache, no-store, must-revalidate
    < date: Mon, 22 Aug 2016 09:34:18 GMT
    < x-frame-options: SAMEORIGIN
    < content-type: text/html
    < set-cookie: csrftoken=Z9jB9hOOT6tOPTeoSY4jZnD2foln7QZh; expires=Mon, 21-Aug-2017 09:34:18 GMT; Max-Age=31449600; Path=/; secure
    < set-cookie: mid=V7rHGgAEAAHsfIZKtUQU_3u2VBxC; expires=Sun, 17-Aug-2036 09:34:18 GMT; Max-Age=630720000; Path=/
    nemuol
        2
    nemuol  
    OP
       2016-08-22 19:00:36 +08:00
    @choury 你用的是 sni 吗, ins 貌似不支持全程 https
    LGA1150
        3
    LGA1150  
       2016-08-22 19:41:32 +08:00 via Android   ❤️ 1
    你是把*.akamaihd.net 也代理了?这个域名直接用 Akamai CDN 的 IP 就行了
    nemuol
        4
    nemuol  
    OP
       2016-08-23 15:31:06 +08:00 via Android
    @LGA1150 是的。忘记说了是 Android app 图片打不开,💻上可以。
    nemuol
        5
    nemuol  
    OP
       2016-08-23 15:35:14 +08:00 via Android
    @choury 忘记说了是 Android app 打不开图
    nemuol
        6
    nemuol  
    OP
       2016-08-23 15:40:25 +08:00 via Android
    @LGA1150 刚删除了,还是打不开。你的 Android app 正常吗
    nemuol
        7
    nemuol  
    OP
       2016-08-23 19:51:32 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5599 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 07:04 · PVG 15:04 · LAX 23:04 · JFK 02:04
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.