Solve the error of svn:E175002:Connection has been shutdown:SSLProtocolException

When using the SVN plug-in to access the SVN directory in Eclispe, you may encounter E175002. This error includes various situations where the svn client cannot connect to the server normally. Check the specific information. If it is similar: “”svn: E175002: handshake alert The SSLProtocolException error: unrecognized_name” may be related to the local JDK.

After JDK7, the default security settings using SSL are different from earlier versions. To solve this problem, you need to set the jsse.enableSNIExtension parameter to false when you start Eclipse.

Following the steps:

  1. Open the eclipse.ini file in the Eclipse installation directory and add at the end of the file
1
-Djsse.enableSNIExtension=false
  1. Restart Eclipse, then you can access the svn server.

Example of a complete eclispe.init file:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
-startup
plugins/org.eclipse.equinox.launcher_1.5.100.v20180827-1352.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.800.v20180827-1352
-product
org.eclipse.epp.package.jee.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=1.8
-Dosgi.dataAreaRequiresExplicitInit=true
-Xms256m
-Xmx1024m
--add-modules=ALL-SYSTEM
-Dfile.encoding=UTF-8
-Djsse.enableSNIExtension=false

本文标题:Solve the error of svn:E175002:Connection has been shutdown:SSLProtocolException

文章作者:Morning Star

发布时间:2021年07月07日 - 10:07

最后更新:2022年01月03日 - 11:01

原始链接:https://www.mls-tech.info/java/eclipse-svn-e175002-ssl-handshake-alert_en/

许可协议: 署名-非商业性使用-禁止演绎 4.0 国际 转载请保留原文链接及作者。