Hello Team,
We are facing an issue when we are checking out code from SVN and we did workaround with below solutions but still we are facing same issue since last 5days and we are unable to fix the issue
Workaround steps:-
1)“-Dhudson.spool-svn=true” to JVM options parameter added in jenkins.xml file in java path which find from the stackoverflow(Jenkins org.tmatesoft.svn.core.SVNException: svn: E175002: Processing REPORT request response failed - Stack Overflow)
2)changed job repository URL with correct path
3)We have imported svn self signed certificate to jenkins cacerts with help of keyttol and we also update the same svn SSL cert to jenkins java cacert as well
4)created new credentials for the job
5)We have checked the traffic and our firewalls is correct form both svn and jenkins server side
6)Talked with jenkins community team and they confirmed that issue is from server side
7)compared successfull jobs which is using same svn repo URL and checkout is successful in jenkins and this jobs are pipeline scripted but standalone job is failing due to checkout issue which pasted below from jenkins console output.
Error from jenkins console output: -
Checking out https://10.167.4.34/svn/Repo/branches/V3.22.2 at revision ‘2023-03-09T10:37:20.447 +0530’
10:37:42 ERROR: Failed to check out https://10.167.4.34/svn/Repo/branches/V3.22.2
10:37:42 org.tmatesoft.svn.core.SVNException: svn: E175002: connection refused by the server
10:37:42 svn: E175002: OPTIONS request failed on ‘/svn/Repo/branches/V3.22.2’
10:37:42 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:112)
10:37:42 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:96)
10:37:42 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:765)
10:37:42 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
10:37:42 at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340)
10:37:42 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910)
10:37:42 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.exchangeCapabilities(DAVConnection.java:702)
10:37:42 at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.open(DAVConnection.java:113)
10:37:42 at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.openConnection(DAVRepository.java:1047)
10:37:42 at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getLatestRevision(DAVRepository.java:169)
10:37:42 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:119)
10:37:42 at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:180)
10:37:42 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:43)
10:37:42 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:831)
10:37:42 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26)
10:37:42 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11)
10:37:42 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
10:37:42 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
10:37:42 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
10:37:42 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
Caused by: java.net.ConnectException: Connection timed out: connect
10:37:42 at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
10:37:42 at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
10:37:42 at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
10:37:42 at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
10:37:42 at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
10:37:42 at java.net.PlainSocketImpl.connect(Unknown Source)
10:37:42 at java.net.SocksSocketImpl.connect(Unknown Source)
10:37:42 at java.net.Socket.connect(Unknown Source)
10:37:42 at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
10:37:42 at org.tmatesoft.svn.core.internal.util.SVNSocketConnection.run(SVNSocketConnection.java:57)
10:37:42 at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
10:37:42 at java.util.concurrent.FutureTask.run(Unknown Source)
10:37:42 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
10:37:42 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
Note:-Jenkins and svn is running on same server