从bmcl下载源会转到上海交大镜像站然后返回403错误
-
gradle.properties
中的内容:loom_libraries_base=https://bmclapi2.bangbang93.com/maven/ loom_resources_base=https://bmclapi2.bangbang93.com/assets/ loom_version_manifests=https://bmclapi2.bangbang93.com/mc/game/version_manifest_v2.json
运行Fabric项目构建,返回以下内容:
> Could not resolve all files for configuration ':minecraftLibraries'. > Could not download oshi-core-6.4.10.jar (com.github.oshi:oshi-core:6.4.10) > Could not get resource 'https://bmclapi2.bangbang93.com/maven/com/github/oshi/oshi-core/6.4.10/oshi-core-6.4.10.jar'. > Could not HEAD 'https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/rsync/bmclapi/733fecd96141545a9d5e8e77e1336afbe6f93fc1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=908a52f28a944adfab99b4ff81cecec8%2F20240426%2Fsjtug%2Fs3%2Faws4_request&X-Amz-Date=20240426T020514Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3D%22oshi-core-6.4.10.jar%22%3B%20filename%2A%3DUTF-8%27%27oshi-core-6.4.10.jar&X-Amz-Signature=cb98020fefc3baa988b27a73b2ca791494989c6fd77491b55e9eee81e85b4dce'. Received status code 403 from server: Forbidden > Could not download failureaccess-1.0.1.jar (com.google.guava:failureaccess:1.0.1) > Could not get resource 'https://bmclapi2.bangbang93.com/maven/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar'. > Could not HEAD 'https://s3.jcloud.sjtu.edu.cn/899a892efef34b1b944a19981040f55b-oss01/rsync/bmclapi/e2e298a2287610492fa21a9a790f2c4c97e609e6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=908a52f28a944adfab99b4ff81cecec8%2F20240426%2Fsjtug%2Fs3%2Faws4_request&X-Amz-Date=20240426T020514Z&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3D%22failureaccess-1.0.1.jar%22%3B%20filename%2A%3DUTF-8%27%27failureaccess-1.0.1.jar&X-Amz-Signature=dac6bb9e0ac8430fd5d6b357ea812033ec45166e41ef5a89a00aad9bd3ad19a7'. Received status code 403 from server: Forbidden
后面还有一系列的类似错误,不再列举。
-
上海交大这个地址目前用浏览器是可以访问的
-
HEAD请求有一些问题,我去问问