Studio fails to log in to a remote project with 'svn: E175002: connection refused' error

Talend Version       All versions

Summary

 
Additional Versions  
Product Data Integration
Component Studio, TAC
Problem Description

TAC is properly configured with SVN (shows green on TAC page > Settings > Configuration > SVN tab). However, Studio fails to log in to a remote project with the following error:

 

org.talend.commons.exception.PersistenceException: Impossible de se connecter au projet avec l'URL "http://localhost/svn/PROJETTEST".
 at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:376) 
 at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:328)
 at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:267)
 at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1829)
 at org.talend.repository.ui.login.LoginHelper$1.run(LoginHelper.java:429)
 at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122) 
Caused by: java.lang.RuntimeException: org.talend.commons.exception.PersistenceException: org.tigris.subversion.javahl.ClientException: svn: E175002: connection refused by the server 
svn: E175002: OPTIONS request failed on '/svn/PROJETTEST' at org.talend.repository.svnprovider.SvnProjectUrlCheck.check(SvnProjectUrlCheck.java:31)
 at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:374)
 ... 5 more
Problem root cause TAC and SVN are running on the same host, and on TAC page > Settings > Configuration > SVN, the URL is set with localhost.
Solution or Workaround On TAC page > Settings > Configuration > SVN, replace localhost with the correct hostname (or IP) of the SVN server, even if TAC and SVN run on same machine. This URL will be passed by TAC to Studio, so Studio will use this URL to connect to SVN.
JIRA ticket number  
Version history
Revision #:
5 of 5
Last update:
‎09-29-2018 12:19 AM
Updated by: