家里网络如下:
➜ ~ curl cip.cc
IP: 1.84.212.163
地址: 中国 陕西 咸阳
运营商: 电信
数据二: 陕西省西安市 | 电信
数据三:
URL: http://www.cip.cc/1.84.212.163
无论如何无法访问https://www.jianshu.com
但是ping 是OK的
浏览器和命令行访问都是报:
➜ ~ curl -I https://www.jianshu.com
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.jianshu.com:443
幸好,自己本地起了sockets 代理:
如下操作:
➜ ~ curl -I https://www.jianshu.com --socks5-hostname 127.0.0.1:7070
HTTP/2 200
server: Tengine
content-type: text/html; charset=utf-8
date: Tue, 20 Oct 2020 07:48:55 GMT
vary: Accept-Encoding
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
etag: W/"002fb68a370468b23dcf6790b0aa26bd"
cache-control: max-age=0, private, must-revalidate
set-cookie: locale=zh-CN; path=/
x-request-id: 82b04bda-1861-448b-a75b-d40961520d0f
x-runtime: 0.007925
strict-transport-security: max-age=31536000; includeSubDomains; preload
via: cache40.l2nu20-2[70,0], cache5.us8[739,0]
timing-allow-origin: *
eagleid: 2ff6199916031801350464162e
所以配置Safari的代理,其实是配置的网络的代理
关于sockets代理如下配置的:
/usr/local/bin/autossh -M 12345 -qTfnN -D 7070 xule@IP地址
再访问www.jianshu.com就OK了
暂时解决了。后期看下什么原因?
因为虚拟机里面的Centos主机是可以直接请求到的。同局域网的IOS设备也无法访问。难道是
简书的Tenginx做了特殊设置?歧视?
浏览器报错:
Secure Connection Failed
An error occurred during a connection to www.jianshu.com. PR_CONNECT_RESET_ERROR
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.
命令行下典型报错
➜ ~ curl -I https://www.jianshu.com/p/c5fa45312f5b
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to www.jianshu.com:443