英文:
Invalid ECDH ServerKeyExchange signature
问题
我正在使用以下代码在Tomcat Web应用程序中获取€/Dollar汇率:
new XmlSlurper().parse('https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml')
我的JDK版本是OpenJDK Runtime Environment(版本号为11.0.4+11-post-Debian)。第一次运行时,该方法没有出现任何错误,但经过一段时间后,我收到了以下错误信息:
javax.net.ssl.SSLHandshakeException: Invalid ECDH ServerKeyExchange signature
是否有解决方案,而不必更改Java版本?
英文:
I'm using
new XmlSlurper().parse('https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml')
to get the €/Dollar in a tomcat web application. My jdk is OpenJDK Runtime Environment (build 11.0.4+11-post-Debian)
the first time the method don't get any error but after a lot of time i receive this error:
> javax.net.ssl.SSLHandshakeException: Invalid ECDH ServerKeyExchange
> signature
Any solution without change java version?
专注分享java语言的经验与见解,让所有开发者获益!
评论