服务器web界面仓库详情页面 500 错误
几天前遇到这个问题。
在个人的概览界面(登录后的首页)
报了一堆跨域的错
14:12:35.152 Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). g.csdnimg.cn:3:8118
14:12:35.193 LTSSDK:init success 4 report.js:61:1444
14:12:35.193
Some cookies are misusing the recommended “SameSite“ attribute 38
14:12:35.242 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/5da0dae3-481b-478b-92ca-3caa293e4a29/logs (“connect-src”). report.js:76:7837
14:12:35.243
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:35.243 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/a0119567-bf91-4314-ab75-f683ba6c0c0a/logs (“connect-src”). report.js:76:7837
14:12:35.243
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:35.462 Content-Security-Policy: The page’s settings blocked the loading of a resource at data:application/font-woff;charset=utf-8… (“font-src”). swatchion
14:12:35.486
Request to access cookie or storage on “<URL>” was blocked because it came from a tracker and content blocking is enabled. 4
14:12:35.612 Loading failed for the <script> with source “https://hmcdn.baidu.com/static/tongji/plugins/UrlChangeTracker.js”. swatchion:1:1
14:12:35.612 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://hmcdn.baidu.com/static/tongji/plugins/UrlChangeTracker.js (“script-src”). hm.js:35:317
14:12:37.195 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/5da0dae3-481b-478b-92ca-3caa293e4a29/logs (“connect-src”). report.js:76:7837
14:12:37.195
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:37.196 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/ea448b34-0491-4546-87aa-059120b54c53/logs (“connect-src”). report.js:76:7837
14:12:37.196
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:37.196 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/a0119567-bf91-4314-ab75-f683ba6c0c0a/logs (“connect-src”). report.js:76:7837
14:12:37.196
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:39.201 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/5da0dae3-481b-478b-92ca-3caa293e4a29/logs (“connect-src”). report.js:76:7837
14:12:39.201
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:39.201 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/ea448b34-0491-4546-87aa-059120b54c53/logs (“connect-src”). report.js:76:7837
14:12:39.201
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:39.201 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/a0119567-bf91-4314-ab75-f683ba6c0c0a/logs (“connect-src”). report.js:76:7837
14:12:39.201
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:41.205 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/5da0dae3-481b-478b-92ca-3caa293e4a29/logs (“connect-src”). report.js:76:7837
14:12:41.205
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:41.206 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/ea448b34-0491-4546-87aa-059120b54c53/logs (“connect-src”). report.js:76:7837
14:12:41.206
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
14:12:41.206 Content-Security-Policy: The page’s settings blocked the loading of a resource at https://eva2.csdn.net/v3/06981375190026432f77c01bfca33e32/lts/groups/dadde766-b087-42da-8e67-d2499a520ee7/streams/a0119567-bf91-4314-ab75-f683ba6c0c0a/logs (“connect-src”). report.js:76:7837
14:12:41.206
LTSSDK:LTS.0300|Request failed,response code=--,error=send fail. report.js:61:1643
查看自己的仓库或者是其他的人的第三方仓库,服务端都会报 500
错误。
Status
500
Internal Server Error
VersionHTTP/1.1
Transferred2.88 kB (2.46 kB size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityHighest
DNS ResolutionSystem
https://codechina-uploads.obs.cn-north-4.myhuaweicloud.com/%40hashed/6b/0f/6b0f184f14930ed2aab00d963792fac1cf7c8439503cb58ac06dde647c456940/89f20e3a1f4cf9c6ebe15e981ff5e338/80e1cf1d22447e83ad868b76ace2ecc2.png?response-content-disposition=inline; filename="80e1cf1d22447e83ad868b76ace2ecc2.png"; filename*=UTF-8''80e1cf1d22447e83ad868b76ace2ecc2.png&response-content-type=image/png&X-Amz-Expires=600&X-Amz-Date=20220117T100658Z&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=QK3ORGAKW2CFPLGKCDJI/20220117/cn-north-4/s3/aws4_request&X-Amz-SignedHeaders=host&X-Amz-Signature=8fe8a5960536fbedaed05e90c9cdc58eb4532d7a2464b61541a34dd700d6f8d4
另外web界面的仓库详情,还会请求以上图片,但是会报 400
错误
Status
400
Bad Request
VersionHTTP/1.1
Transferred702 B (0 B size)
Referrer Policystrict-origin-when-cross-origin
Request PriorityLow
DNS ResolutionSystem
我尝试重新注册了一个账户,发现新账户没有这个问题。
gitcode 的服务端最近改了什么新功能吗?老用户受影响?