Nat*_*oss 4 networking browser dns web macos
我无法浏览托管在单个 IP 地址(我管理的经销商网络托管帐户,其中包含多个网站)上的任何网站。所有浏览器中都会出现这种情况。其他网站都没问题。问题仅出在该经销商帐户托管的网站上。
\n\n错误:
\n\n苹果浏览器:
\n\nSafari can\xe2\x80\x99t open the page XXXXXXXX because the server unexpectedly dropped the connection.\nThis sometimes occurs when the server is busy. Wait for a few minutes, and then try again.\nRun Code Online (Sandbox Code Playgroud)\n\n铬合金:
\n\nNo data received\nERR_EMPTY_RESPONSE\nUnable to load the webpage because the server sent no data.\nRun Code Online (Sandbox Code Playgroud)\n\n火狐浏览器:
\n\nThe connection was reset\nThe connection to the server was reset while the page was loading.\nRun Code Online (Sandbox Code Playgroud)\n\n我能够通过 SSH、ping、traceroute 等连接到 IP 地址。我什至可以登录在不同端口上运行的经销商托管控制面板 (WHM) - 这纯粹是端口 80 上的网页浏览问题。
\n\n与我处于同一连接的其他机器没有问题 - 只是我的机器。
\n\n我尝试了很多不同的方法来解决这个问题:
\n\n如果我将机器连接到手机上的个人热点,我就可以毫无问题地浏览这些网站。切换回我的办公室网络,问题又回来了。这可能表明办公室连接被阻止,但是:
\n\n我已经与托管提供商核实过,他们认为最终没有任何问题。
\n\n我的机器:
\n\nMac Yosemite 10.10.4\n浏览器:Safari (8.0.7 (10600.7.12))、Chrome (44.0.2403.107 (64 位))、Firefox (39.0)
\n\n因此,我将这个奇怪的问题提出来,希望有人对问题的原因有一些想法。
\n\n期待一些想法。
\n\n谢谢,
\n\n内森
\n我设法进一步挖掘,并在 system.log 中找到以下条目:
acwebsecagent[257]: Connection : Failed to connect to XXX.XXX.XXX.XXX:80. Code : 60
Jul 29 12:53:47 zzzz.local acwebsecagent[257]: Connection : Caught exception. Code : 60
Jul 29 12:53:47 zzzz.local acwebsecagent[257]: Connection : Failed to connect externally. Code : 60
Jul 29 12:53:48 zzzz.local acwebsecagent[257]: Connection : Failed to connect to XXX.XXX.XXX.XXX. Code : 60
Jul 29 12:53:48 zzzz.local acwebsecagent[257]: Connection : Caught exception. Code : 60
Jul 29 12:53:48 zzzz.local acwebsecagent[257]: Connection : Failed to connect externally. Code : 60
Jul 29 12:53:51 zzzz.local acwebsecagent[257]: Connection : Auth key is not provided or is invalid, applying connection failure policy. CMode : 2 TMode : 1
Run Code Online (Sandbox Code Playgroud)
事实证明,这些错误是由CISCO AnyConnect 应用程序记录的。
我不再使用此应用程序,因此已将其删除,并且(到目前为止)问题似乎已得到解决。
如果我仍然需要使用此应用程序,可以禁用网络安全过滤:
Disabling and Enabling Filters Using Mac OS X
The service password used in this procedure is configured in the Authentication panel of the Web Security profile editor.
Step 1 Launch the Terminal application.
Step 2 Change to the /opt/cisco/anyconnect/bin folder.
Step 3 Disable or enable filtering:
To enable filtering, enter acwebsecagent -enablesvc
To disable filtering, enter acwebsecagent -disablesvc -servicepassword
Run Code Online (Sandbox Code Playgroud)