繁体   English   中英

javax.net.ssl.sslhandshakeexception remotehost 终止了握手

[英]javax.net.ssl.sslhandshakeexception remotehost terminated the handshake

运行此命令后

pyspark  --packages io.delta:delta-core_2.12:2.1.0,org.apache.spark:spark-sql-kafka-0-10_2.12:3.2.1,org.apache.kafka:kafka-clients:2.8.1 --conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" --conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog" --driver-memory 100g --jars file:///C:/hadoop/jars/hadoop-azure-3.3.2.jar,file:///C:/hadoop/jars/wildfly-openssl-java-2.2.1.Final

我收到以下错误:

     :::: ERRORS
                Server access error at url https://repo1.maven.org/maven2/io/delta/delta-core_2.12/2.1.0/delta-core_2.12-2.1.0.pom 
(javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake)
                Server access error at url https://repo1.maven.org/maven2/io/delta/delta-core_2.12/2.1.0/delta-core_2.12-2.1.0.jar 
    (javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake)
                Server access error at url https://repos.spark-packages.org/io/delta/delta-core_2.12/2.1.0/delta-core_2.12-2.1.0.pom 
    (javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake)
                Server access error at url https://repos.spark-packages.org/io/delta/delta-core_2.12/2.1.0/delta-core_2.12-2.1.0.jar 
(javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake)

也许对您来说很有趣:我可以在浏览器中打开 URL。

正如我在一些帖子中所读到的。 原因可能是 TLS 版本不匹配。 我应该怎么做才能解决这个问题? 如果您能告诉我一步一步的设置,我将不胜感激

更新

  • 服务器(“https://repo1.maven.org/maven2/io”)使用 TLS1.2
  • 我从jdk.tls.disabledAlgorithms中的java.security中删除了 TLS1.2 和 TLS1.1

但是还是收到握手问题

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM