Mac OS无法在任何浏览器

时间:2016-09-30 23:30:15

标签: macos twitter-bootstrap

我目前正在使用一个使用bootstrap的网站,但每当我在我的用户帐户中加载网站时,我都会收到这些错误(指引导CDN)

SAFARI

[Error] Failed to load resource: The operation couldn’t be completed. Connection reset by peer
[Error] Failed to load resource: The operation couldn’t be completed. Connection reset by peer
[Error] Failed to load resource: The operation couldn’t be completed. Connection reset by peer

CHROME

https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css Failed to load resource: net::ERR_CONNECTION_CLOSED
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css Failed to load resource: net::ERR_CONNECTION_CLOSED
https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js Failed to load resource: net::ERR_CONNECTION_CLOSED

FIREFOX

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css. (Reason: CORS request failed). <unknown>
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css. (Reason: CORS request failed). <unknown>
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js. (Reason: CORS request failed). <unknown>

在我的用户帐户上发生了并且已经发生了一段时间,只是现在我请求帮助!

我也无法加载getbootstrap.com加载栏只是挂起。 (这也发生在其他网站上)

编辑: 这是我的标题

<link rel="stylesheet"href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

1 个答案:

答案 0 :(得分:0)

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css">
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

将标题代码更改为此

我删除了

integrity="<string>" crossorigin="anonymous"

从链接