问题
I am having issues to connect to SVN server using Android Studio 1.01.
When I try to browse the remote SVN repository I get the following error:
Subversion: (Accessing URL: https://subversion.assembla.com/svn/whozeincharge) Received fatal alert: handshake_failure Please check Subversion SSL settings (Settings | Version Control | Subversion | Network) Maybe you should specify SSL protocol manually - SSLv3 or TLSv1
My SVN server is hosted at www.assembla.com
Assembla team blocked the SSL based connections to the SVN server and ask me to use TLS.
See my conversation with the assembla support.
Using the SVN CLI, I am able to connect to the the server with no issues.
My SVN client version is: 1.8.10
My Mac info:
system_profiler SPSoftwareDataType Software:
System Software Overview:
System Version: OS X 10.9.5 (13F34)
Kernel Version: Darwin 13.4.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: [name goes here]
User Name: [name goes here>]
After deleting the directory ~/.subversion/auth/svn.ssl.server
and restarting Android Studio I was able to browse the remote repository (using Android Studio) without any issues.
After a while the ssl handshake error came back and the folder ~/.subversion/auth/svn.ssl.server was created on the file system.
My Android Studio SVN configuration:
- General: Use Command line client: /sw/bin/svn (it points to the 1.8.10 SVN client)
- General: Use system default Subversion configuration directory: ~/.subversion
- Network: TLSv1
Please advice
回答1:
In Idea or Android Studio, Settings > Version Control > Subversion in General tab, check "Use command line client" with "svn" value.
My error was solved with this solution.
回答2:
I had same issue, the solution that works for me as follow:
- Open you Terminal through your Android Studio
- Tape (authentification): chmod 644 ~/.subversion/auth/svn.ssl.server/*
- Tape: svn list
- Tape (accept the certificates, permanently, no need to restart your IDE): p
来源:https://stackoverflow.com/questions/27845970/android-studio-fails-to-connect-to-svn-server-ssl-handshake-failure