Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContentDownloader#downloadWithSingleRetryOnError:94 - java.net.UnknownHostException #13091

Open
tripleabuilderbot opened this issue Jan 2, 2025 · 2 comments
Labels
2.7 Error Report Issue reported via the in-game error reporter

Comments

@tripleabuilderbot
Copy link
Contributor

Log Message

Error while downloading file

TripleA Version

2.7.14922

Java Version

11.0.19

Operating System

Windows 10

Heap Size

8180M

Stack Trace

Exception: java.net.UnknownHostException raw.githubusercontent.com
java.lang.Exception
	at java.base/java.net.InetAddress$CachedAddresses.get(InetAddress.java:797)
	at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1533)
	at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1386)
	at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1307)
	at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45)
	at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:112)
	at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376)
	at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
	at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
	at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
	at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
	at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
	at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
	at org.triplea.io.ContentDownloader.downloadWithSingleRetryOnError(ContentDownloader.java:94)
	at org.triplea.io.ContentDownloader.<init>(ContentDownloader.java:74)
	at org.triplea.io.ContentDownloader.<init>(ContentDownloader.java:56)
	at games.strategy.engine.framework.map.download.DownloadConfiguration.lambda$static$0(DownloadConfiguration.java:11)
	at games.strategy.engine.framework.map.download.ContentReader.downloadAndApplyAction(ContentReader.java:51)
	at games.strategy.engine.framework.map.download.ContentReader.download(ContentReader.java:40)
	at games.strategy.engine.framework.map.listing.MapListingFetcher.download(MapListingFetcher.java:67)
	at games.strategy.engine.framework.map.listing.MapListingFetcher.getMapDownloadListFromGithub(MapListingFetcher.java:50)
	at games.strategy.engine.framework.map.listing.MapListingFetcher.getMapDownloadList(MapListingFetcher.java:27)
	at games.strategy.engine.framework.ui.background.BackgroundTaskRunner$1.doInBackground(BackgroundTaskRunner.java:129)
	at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:304)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:343)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)


@tripleabuilderbot tripleabuilderbot added 2.7 Error Report Issue reported via the in-game error reporter labels Jan 2, 2025
@beelee1
Copy link
Contributor

beelee1 commented Jan 2, 2025

I think this has something to do with the security settings. Doesn't like triplea. @panther2 are you familiar with this one ?

@panther2
Copy link
Contributor

panther2 commented Jan 3, 2025

@beelee1

No, I have never seen this before. But I agree with your idea. Might be a firewall block or an overzealous Antivirus software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.7 Error Report Issue reported via the in-game error reporter
Projects
None yet
Development

No branches or pull requests

3 participants