Four Stars

Cannot connect to project

Hi,
I am receiving the following error when trying to connect to Talend on a client computer. The project loads without error when on the server. I deleted the workspace folder on the client computer, but I am still getting the same error. Thanks for your help.

org.talend.commons.exception.PersistenceException: Cannot connect to project with url 'http://testserver1.company.com:3690/svn/talendrepo/trunk/STOCK_LEDGER'
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(Unknown Source)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(Unknown Source)
at org.talend.repository.model.ProxyRepositoryFactory.logOnProject(Unknown Source)
at org.talend.repository.ui.login.LoginDialog$1.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: org.talend.commons.exception.PersistenceException: org.tigris.subversion.javahl.ClientException: svn: connection refused by the server
svn: OPTIONS request failed on '/svn/talendrepo/trunk/STOCK_LEDGER'
at org.talend.repository.svnprovider.SvnEclipseHandler.info(Unknown Source)
at org.talend.repository.svnprovider.SvnProjectUrlCheck.check(Unknown Source)
... 6 more
Caused by: org.tigris.subversion.javahl.ClientException: svn: connection refused by the server
svn: OPTIONS request failed on '/svn/talendrepo/trunk/STOCK_LEDGER'
at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:777)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1850)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.info(SVNClientImpl.java:1598)
at org.talend.repository.svnprovider.SvnHandler.info(Unknown Source)
... 8 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: connection refused by the server
svn: OPTIONS request failed on '/svn/talendrepo/trunk/STOCK_LEDGER'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:106)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:90)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:628)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:274)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:262)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:516)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:98)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:999)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:178)
at org.tmatesoft.svn.core.wc.SVNBasicClient.getRevisionNumber(SVNBasicClient.java:482)
at org.tmatesoft.svn.core.wc.SVNBasicClient.getLocations(SVNBasicClient.java:851)
at org.tmatesoft.svn.core.wc.SVNBasicClient.createRepository(SVNBasicClient.java:534)
at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2567)
at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2899)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.info(SVNClientImpl.java:1591)
... 9 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)
at java.lang.Thread.run(Unknown Source)
4 REPLIES
Community Manager

Re: Cannot connect to project

Hi
You have a problem to access svn server, try to open the url /svn/talendrepo/trunk/STOCK_LEDGER in browser and see if you can access it. I suggest you to report a support ticket so our support team can assist you further.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Cannot connect to project

Hi All,
I am facing a similar issue as mentioned above I am able to connect to repository url in TAC console it is working fine and I can also access in browser in client machine but when opening project through talend it is throwing error as mentioned, I have also attached screenshot for reference can somebody help me out in resolving this issue.

org.talend.commons.exception.PersistenceException: Can not connect to project with url "".
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:347)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon(RemoteRepositoryFactory.java:306)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.beforeLogon(RemoteRepositoryFactory.java:249)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1773)
at org.talend.repository.ui.login.LoginDialog$2.run(LoginDialog.java:366)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.RuntimeException: org.talend.commons.exception.PersistenceException: org.tigris.subversion.javahl.ClientException: svn: E170001: Authentication required for '<> VisualSVN Server'
at org.talend.repository.svnprovider.SvnProjectUrlCheck.check(SvnProjectUrlCheck.java:31)
at org.talend.repository.remoteprovider.RemoteRepositoryFactory.delegateBeforeLogon2(RemoteRepositoryFactory.java:345)
... 5 more
Caused by: org.talend.commons.exception.PersistenceException: org.tigris.subversion.javahl.ClientException: svn: E170001: Authentication required for '<> VisualSVN Server'
at org.talend.repository.svnprovider.SvnEclipseHandler.info(SvnEclipseHandler.java:377)
at org.talend.repository.svnprovider.SvnProjectUrlCheck.check(SvnProjectUrlCheck.java:28)
... 6 more
Caused by: org.tigris.subversion.javahl.ClientException: svn: E170001: Authentication required for '<> VisualSVN Server'
at org.tigris.subversion.javahl.JavaHLObjectFactory.throwException(JavaHLObjectFactory.java:785)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.throwException(SVNClientImpl.java:1897)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.info(SVNClientImpl.java:1640)
at org.talend.repository.svnprovider.SvnHandler.internalInfo(SvnHandler.java:524)
at org.talend.repository.svnprovider.SvnHandler.info(SvnHandler.java:518)
at org.talend.repository.svnprovider.SvnEclipseHandler.info(SvnEclipseHandler.java:374)
... 7 more
Caused by: org.tmatesoft.svn.core.SVNAuthenticationException: svn: E170001: Authentication required for '<> VisualSVN Server'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.authenticationFailed(SVNErrorManager.java:47)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.authenticationFailed(SVNErrorManager.java:41)
at org.tmatesoft.svn.core.internal.wc.DefaultSVNAuthenticationManager.getNextAuthentication(DefaultSVNAuthenticationManager.java:218)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:685)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:371)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:359)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:710)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:627)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:102)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1032)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:175)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:118)
at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:182)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45)
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.run(SvnRemoteGetInfo.java:46)
at org.tmatesoft.svn.core.internal.wc2.remote.SvnRemoteGetInfo.run(SvnRemoteGetInfo.java:31)
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:20)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1149)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at org.tmatesoft.svn.core.wc.SVNWCClient.doInfo(SVNWCClient.java:2523)
at org.tmatesoft.svn.core.javahl.SVNClientImpl.info(SVNClientImpl.java:1633)
... 10 more
Community Manager

Re: Cannot connect to project

I suggest that you raise a ticket to the customer Tech Support portal: https://support.talend.com/otrs/customer.pl
Elisa
Employee

Re: Cannot connect to project

Hi darshan.nd,
The error suggests that the user you are using to login the studio does not have rights to login into SVN. You have to do the following:
In TAC give rights to that user to logon to SVN and then try again. This might resolve your problem.

Thanks