sni 貌似不能代 insta***m

2016-08-22 17:03:56 +08:00
 nemuol
有成功的吗
1565 次点击
所在节点    问与答
7 条回复
choury
2016-08-22 17:35:52 +08:00
你的代理有问题吧

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
2016-08-22 19:00:36 +08:00
@choury 你用的是 sni 吗, ins 貌似不支持全程 https
LGA1150
2016-08-22 19:41:32 +08:00
你是把*.akamaihd.net 也代理了?这个域名直接用 Akamai CDN 的 IP 就行了
nemuol
2016-08-23 15:31:06 +08:00
@LGA1150 是的。忘记说了是 Android app 图片打不开,💻上可以。
nemuol
2016-08-23 15:35:14 +08:00
@choury 忘记说了是 Android app 打不开图
nemuol
2016-08-23 15:40:25 +08:00
@LGA1150 刚删除了,还是打不开。你的 Android app 正常吗
nemuol
2016-08-23 19:51:32 +08:00

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

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

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

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

© 2021 V2EX