Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-30196

SVN Exception : svn: E210004: Malformed network data

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • subversion-plugin
    • None
    • Jenkins 1.624
      Subversion Plug-in 2.5

      Though Jenkins is able to poll SCM and triggers build automatically but failed to check out svn repository with below error

      00:00:04.821 ERROR: Failed to check out svn://xxxx/yy
      00:00:04.822 org.tmatesoft.svn.core.SVNException: svn: E210004: Malformed network data
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
      00:00:04.823 at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readChar(SVNReader.java:478)
      00:00:04.823 at org.tmatesoft.svn.core.internal.io.svn.SVNReader.skipWhiteSpace(SVNReader.java:485)
      00:00:04.823 at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readTuple(SVNReader.java:287)
      00:00:04.823 at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:241)
      00:00:04.823 at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:276)
      00:00:04.823 at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:174)
      00:00:04.823 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:1276)
      00:00:04.823 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getDatedRevision(SVNRepositoryImpl.java:191)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:178)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:187)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:756)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
      00:00:04.823 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
      00:00:04.823 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259)
      00:00:04.823 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
      00:00:04.823 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:115)
      00:00:04.824 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
      00:00:04.824 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:170)
      00:00:04.824 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:133)
      00:00:04.824 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
      00:00:04.824 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:991)
      00:00:04.824 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:972)
      00:00:04.824 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:948)
      00:00:04.824 at hudson.FilePath.act(FilePath.java:991)
      00:00:04.824 at hudson.FilePath.act(FilePath.java:969)
      00:00:04.824 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:897)
      00:00:04.824 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:833)
      00:00:04.824 at hudson.scm.SCM.checkout(SCM.java:485)
      00:00:04.824 at hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
      00:00:04.824 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      00:00:04.824 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      00:00:04.824 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      00:00:04.824 at hudson.model.Run.execute(Run.java:1741)
      00:00:04.824 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      00:00:04.824 at hudson.model.ResourceController.execute(ResourceController.java:98)
      00:00:04.824 at hudson.model.Executor.run(Executor.java:381)
      00:00:04.825 java.io.IOException: Failed to check out svn://xxxx/yy
      00:00:04.826 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:126)
      00:00:04.826 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
      00:00:04.826 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:170)
      00:00:04.826 at hudson.scm.subversion.UpdateUpdater$TaskImpl.perform(UpdateUpdater.java:133)
      00:00:04.826 at hudson.scm.subversion.WorkspaceUpdater$UpdateTask.delegateTo(WorkspaceUpdater.java:162)
      00:00:04.826 at hudson.scm.SubversionSCM$CheckOutTask.perform(SubversionSCM.java:991)
      00:00:04.826 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:972)
      00:00:04.826 at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:948)
      00:00:04.826 at hudson.FilePath.act(FilePath.java:991)
      00:00:04.826 at hudson.FilePath.act(FilePath.java:969)
      00:00:04.826 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:897)
      00:00:04.826 at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:833)
      00:00:04.826 at hudson.scm.SCM.checkout(SCM.java:485)
      00:00:04.826 at hudson.model.AbstractProject.checkout(AbstractProject.java:1277)
      00:00:04.826 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:610)
      00:00:04.826 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      00:00:04.826 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:532)
      00:00:04.827 at hudson.model.Run.execute(Run.java:1741)
      00:00:04.827 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      00:00:04.827 at hudson.model.ResourceController.execute(ResourceController.java:98)
      00:00:04.827 at hudson.model.Executor.run(Executor.java:381)
      00:00:04.827 Caused by: org.tmatesoft.svn.core.SVNException: svn: E210004: Malformed network data
      00:00:04.827 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
      00:00:04.827 at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
      00:00:04.827 at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readChar(SVNReader.java:478)
      00:00:04.827 at org.tmatesoft.svn.core.internal.io.svn.SVNReader.skipWhiteSpace(SVNReader.java:485)
      00:00:04.827 at org.tmatesoft.svn.core.internal.io.svn.SVNReader.readTuple(SVNReader.java:287)
      00:00:04.827 at org.tmatesoft.svn.core.internal.io.svn.SVNReader.parse(SVNReader.java:241)
      00:00:04.827 at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.read(SVNConnection.java:276)
      00:00:04.827 at org.tmatesoft.svn.core.internal.io.svn.SVNConnection.authenticate(SVNConnection.java:174)
      00:00:04.827 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.authenticate(SVNRepositoryImpl.java:1276)
      00:00:04.827 at org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl.getDatedRevision(SVNRepositoryImpl.java:191)
      00:00:04.827 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.getRevisionNumber(SvnNgRepositoryAccess.java:178)
      00:00:04.827 at org.tmatesoft.svn.core.internal.wc2.SvnRepositoryAccess.getLocations(SvnRepositoryAccess.java:187)
      00:00:04.827 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgRepositoryAccess.createRepositoryFor(SvnNgRepositoryAccess.java:45)
      00:00:04.827 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:756)
      00:00:04.827 at org.tmatesoft.svn.core.internal.wcP2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26)
      00:00:04.828 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11)
      00:00:04.828 at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
      00:00:04.828 at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
      00:00:04.828 at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1259)
      00:00:04.828 at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
      00:00:04.828 at hudson.scm.subversion.CheckoutUpdater$1.perform(CheckoutUpdater.java:115)
      00:00:04.828 ... 20 more

          [JENKINS-30196] SVN Exception : svn: E210004: Malformed network data

          Amitej Priyadarshi created issue -

          amitejelex Did you try with Subversion Plugin 2.5.3?

          Manuel Recena Soto added a comment - amitejelex Did you try with Subversion Plugin 2.5.3?

          recena
          Thanks Manuel, I have not used latest SVN Plugin though I can see updates are available to 2.5.3. I will try it for sure but I think its Firewall that causing this issue as Jenkins instance we are using is on Cloud VM with no internet connection we have to open ports one by one. As of now we opened only 8080 and 3690, any idea what all ports need to be open to make this work?

          Amitej Priyadarshi added a comment - recena Thanks Manuel, I have not used latest SVN Plugin though I can see updates are available to 2.5.3. I will try it for sure but I think its Firewall that causing this issue as Jenkins instance we are using is on Cloud VM with no internet connection we have to open ports one by one. As of now we opened only 8080 and 3690, any idea what all ports need to be open to make this work?

          João Leonardo Pereira added a comment - - edited

          same here, verified my firewall and it's ok. I can checkout from command line svn client but jenkins gives me an exception. Also, the SVN Plugin is up to date (version 2.5.3).

          I think it's a problem with the svn:// protocol URL instead of the "default" http://...

          João Leonardo Pereira added a comment - - edited same here, verified my firewall and it's ok. I can checkout from command line svn client but jenkins gives me an exception. Also, the SVN Plugin is up to date (version 2.5.3). I think it's a problem with the svn:// protocol URL instead of the "default" http:// ...

          leuofiridia Could you attach the SVN Server log?

          Manuel Recena Soto added a comment - leuofiridia Could you attach the SVN Server log?

          recena The SVN server is managed by the client, but I'll try to take the log but no warranties.

          The SCM Pool function doesn't get any error when I'm configuring the project and it's strange. Ah, and the IDE's can connect and commit without problems, and some of them are, like jenkins, using the svnkit connector too.

          João Leonardo Pereira added a comment - recena The SVN server is managed by the client, but I'll try to take the log but no warranties. The SCM Pool function doesn't get any error when I'm configuring the project and it's strange. Ah, and the IDE's can connect and commit without problems, and some of them are, like jenkins, using the svnkit connector too.

          No go, I have no access to the SVN server log.

          João Leonardo Pereira added a comment - No go, I have no access to the SVN server log.
          João Leonardo Pereira made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          João Leonardo Pereira made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]

          amitejelex, If I send a PR with a possible solution, Could you try it in your environment?

          Manuel Recena Soto added a comment - amitejelex , If I send a PR with a possible solution, Could you try it in your environment?

            recena Manuel Recena Soto
            amitejelex Amitej Priyadarshi
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: