[Download Utils] No download timeout causes downloads to hang if a server doesn't respond
@Jonathing is already working on this.
Since Oct 26, 2025.
Assessment
This issue has not been assessed yet.
Description
This is one of java's dumb default:
https://github.com/MinecraftForge/ForgeGradle/blob/63b758333137a929ae37186ff8c10d1335f934d0/src/common/java/net/minecraftforge/gradle/common/util/DownloadUtils.java#L213-L237
if you don't explicitly set a timeout value, it will wait indefinitely for a response that may never arrive.
Normally this works because you either get a response or it fails. But sometimes, in some random cases of network issues, there is no response at all and it will hang, waiting forever for a nonexistent response.
- Dominant language
- Java
- Stars
- 0
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MinecraftForge/Utils
-
MinecraftForge/Utils#8 · 1 assignee ·
-
MinecraftForge/Utils#6 · 3 comments · 1 assignee ·
-
MinecraftForge/Utils#3 · 1 assignee ·
-
MinecraftForge/Utils#2 · 2 assignees ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
MinecraftForge/Utils#1 · 4 comments ·
All issues in MinecraftForge/Utils
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
inu-appcenter/memorIN-backend#288 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
frontend maui-pilot pilot-ask question
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
area/plugin
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kestra-io/plugin-kestra#190 ·