triplea-game / triplea

TripleA is a turn based strategy game and board game engine, similar to Axis & Allies or Risk.
https://triplea-game.org/
GNU General Public License v3.0
1.29k stars 381 forks source link

2.6.14752: ContentReader#lambda$downloadToFile$0:67 - org.apache.http.TruncatedChunkException #12669

Open tripleabuilderbot opened 1 week ago

tripleabuilderbot commented 1 week ago

Log Message

Failed to download: https://github.com/triplea-maps/a_song_of_ice_and_fire/archive/master.zip

TripleA Version

2.6.14752

Java Version

11.0.19

Operating System

Windows 10

Heap Size

1002M

Stack Trace

Exception: org.apache.http.TruncatedChunkException Truncated chunk (expected size: 78,572; actual size: 45,201)
java.lang.Exception
    at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:197)
    at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:135)
    at java.base/java.io.InputStream.transferTo(InputStream.java:704)
    at java.base/java.nio.file.Files.copy(Files.java:3078)
    at games.strategy.engine.framework.map.download.ContentReader.lambda$downloadToFile$0(ContentReader.java:67)
    at games.strategy.engine.framework.map.download.ContentReader.downloadAndApplyAction(ContentReader.java:52)
    at games.strategy.engine.framework.map.download.ContentReader.downloadToFile(ContentReader.java:67)
    at games.strategy.engine.framework.map.download.DownloadFile.lambda$startAsyncDownload$2(DownloadFile.java:65)
    at java.base/java.lang.Thread.run(Thread.java:829)
janusman582 commented 3 days ago

12676