<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[用 Java 程序下载时 SSLHandshakeException: Remote host terminated the handshake]]></title><description><![CDATA[<p dir="auto">如图<br />
<img src="/assets/uploads/files/1666524647461-00e2852f-3a1b-49ba-9237-522757a354e0-image.png" alt="00e2852f-3a1b-49ba-9237-522757a354e0-image.png" class=" img-fluid img-markdown" /><br />
有些文件会刷，有些文件不会。简单搜了一下，往代码里加入了 <code>System.setProperty("https.protocols", "TLSv1,TLSv1.1,TLSv1.2");</code> 也不管用。</p>
<p dir="auto">从官方源下载时没有这样的问题。有开代理，但是关了以后也是这样。</p>
<p dir="auto">下载相关代码：<br />
<img src="/assets/uploads/files/1666524761106-0c581178-6880-40b6-bcff-6664087d0cb3-image.png" alt="0c581178-6880-40b6-bcff-6664087d0cb3-image.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://www.bangbang93.com/topic/205/用-java-程序下载时-sslhandshakeexception-remote-host-terminated-the-handshake</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Mar 2026 08:35:40 GMT</lastBuildDate><atom:link href="https://www.bangbang93.com/topic/205.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 23 Oct 2022 11:34:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 用 Java 程序下载时 SSLHandshakeException: Remote host terminated the handshake on Sat, 19 Nov 2022 01:02:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/subilan">@Subilan</a> 在 <a href="/post/581">用 Java 程序下载时 SSLHandshakeException: Remote host terminated the handshake</a> 中说：</p>
<blockquote>
<p dir="auto">嗯。。今天又试了一下，还是官方源没问题，BMCLAPI有这样的问题</p>
<pre><code>Failed to download minecraft/lang/ast_es.json from https://bmclapi2.bangbang93.com/assets/1d/1dc736ebf34149fa6318f1c3346b165a319b3fa8 (SSLHandshakeException: Remote host terminated the handshake)
</code></pre>
</blockquote>
<p dir="auto">试试用http，别用https</p>
]]></description><link>https://www.bangbang93.com/post/583</link><guid isPermaLink="true">https://www.bangbang93.com/post/583</guid><dc:creator><![CDATA[DeltaLimit]]></dc:creator><pubDate>Sat, 19 Nov 2022 01:02:06 GMT</pubDate></item><item><title><![CDATA[Reply to 用 Java 程序下载时 SSLHandshakeException: Remote host terminated the handshake on Wed, 26 Oct 2022 14:19:31 GMT]]></title><description><![CDATA[<p dir="auto">嗯。。今天又试了一下，还是官方源没问题，BMCLAPI有这样的问题</p>
<pre><code>Failed to download minecraft/lang/ast_es.json from https://bmclapi2.bangbang93.com/assets/1d/1dc736ebf34149fa6318f1c3346b165a319b3fa8 (SSLHandshakeException: Remote host terminated the handshake)
</code></pre>
]]></description><link>https://www.bangbang93.com/post/581</link><guid isPermaLink="true">https://www.bangbang93.com/post/581</guid><dc:creator><![CDATA[Subilan]]></dc:creator><pubDate>Wed, 26 Oct 2022 14:19:31 GMT</pubDate></item><item><title><![CDATA[Reply to 用 Java 程序下载时 SSLHandshakeException: Remote host terminated the handshake on Mon, 24 Oct 2022 09:13:02 GMT]]></title><description><![CDATA[<p dir="auto">可能是局部地区的网络问题，多观察几天看看？<br />
最好能给出文件URL，最好是重定向后的URL</p>
]]></description><link>https://www.bangbang93.com/post/580</link><guid isPermaLink="true">https://www.bangbang93.com/post/580</guid><dc:creator><![CDATA[bangbang93]]></dc:creator><pubDate>Mon, 24 Oct 2022 09:13:02 GMT</pubDate></item></channel></rss>