一、基本情况
- MacBook pro 2015,bigsur11.4,运行surge 4。
2.安装了Amphetamine防止合盖后mac休眠。
- 测试阶段,暂在Wi-Fi下开启surge的DHCP服务器功能。
二、症状
MacBook pro合盖运行约1h后,使用surge作为网关的设备不能正常访问youtube的内容。
后开盖运行MacBook pro一会儿,设备重连Wi-Fi,问题解决。
三、小白请问,是否和合盖运行surhe有关,还是线路问题?如何完美解决好该问题?
四、附有关日志:通过surge查看请求详情,远端地址、区域、ASN、ASO均显示为N/A。
摘录一条日志如下:
Rule Evaluating - 2 ms
Events
00:28:05.498880 Sub-rule matched: DOMAIN-SUFFIX googleapis.com
00:28:05.498933 Rule matched: RULE-SET Google.list
00:28:05.499898 Connecting with address: 183.2.194.18, bound to the primary interface (en0) explicitly under the Enhanced Mode, use TCP Fast Open
00:28:08.500073 Connection setup failed: Error Domain=SGSocketErrorDomain Code=2 "Attempt to connect to host timed out" UserInfo={NSLocalizedDescription=Attempt to connect to host timed out}, continue waiting for other connections
00:28:10.501974 Set up backup connection #2
00:28:10.502879 Connecting with address: 183.2.194.18, bound to the primary interface (en0) explicitly under the Enhanced Mode, use TCP Fast Open
00:28:13.502602 Connection setup failed: Error Domain=SGSocketErrorDomain Code=2 "Attempt to connect to host timed out" UserInfo={NSLocalizedDescription=Attempt to connect to host timed out}, continue waiting for other connections