MATLAB: How to learn more info about the “svn:E210002: There was a problem while connecting to :22″ error message in MATLAB/Simulink Projects

MATLABprojectssimulinksvn

While attempting to communicate with my SVN remote repository with MATLAB or Simulink Projects, I receive the following error message for any command I issue:
svn: E210002: There was a problem while connecting to <url>:22
How can I learn more about what might be causing this error message? Is there a more verbose stack trace available? 

Best Answer

There are multiple root causes that may cause the "E210002" error message to arise from the SVN integration built into MATLAB/Simulink Projects. MATLAB Projects uses SVNKit, a Java library, for SVN integration.
At a high level, the SSH Client used by SVNKit is unable to connect to the SSH Server on the SVN remote repository. To learn more information about what may be specifically causing the error message, navigate to the following location and access the error log file generated when the issue was last encountered.
 
  1. Open MATLAB Preferences (launched from the MATLAB tool strip)
  2. Navigate to the "Project" section on the left-hand side
  3. Scroll to the bottom of the Project preferences pane to the Logging section and note the location of the Log Folder
  4. Outside of MATLAB, navigate to the Log Folder location and search for a log file generated on a day that you encountered the error message. This log file should contain a stack trace for the error.
The stack trace will contain more information about the circumstances surrounding the error message.