但是在模组开发环境中,就会无法访问,不知道为什么。刚刚也复现了。
S
solid
@solid
-
从bmcl下载源会转到上海交大镜像站然后返回403错误 -
从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
后面还有一系列的类似错误,不再列举。
-
催更1.19.1BMCLAPI依然下载不到1.19.1,官方源的速度超级慢。
-
version_manifest.json等页面返回的url不是镜像https://bmclapi2.bangbang93.com/mc/game/version_manifest_v2.json
返回的结果中,url参数仍为mojang.com中的网址。
又如
https://bmclapi2.bangbang93.com/v1/packages/bce21f96530d9b66a8bf81a4187e31e12cde099f/1.19.json
client_mapping和server_mapping返回的url也是位于mojang.com中的,而这些网址无法访问。
这导致在涉及在IDEA中下载官方映射的地方,即使配置了loom_version_manifests=https://bmclapi2.bangbang93.com/mc/game/version_manifest_v2.json
仍无法下载。