[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] svn+ssh causes "Malformed network data"

From: Rudolf Pfister <rudolf.pfister_at_vr-web.de>
Date: 2006-02-06 23:02:12 CET

Hi Alexander,

I located the reason for the error.

In my .bashrc I have had two echo-lines.
After removing these lines the creation of the connection works well.

Sorry
  Rudolf

Rudolf Pfister schrieb:
> Hello Alexander,
>
> I added the log-file you asked for as attachemnt.
>
> The sceneario:
> - Starting eclipse
> - Try to add an URL in form svn+ssh://<hostname>/<repos-path>
> => The error message occurs without dialog 'Enter SSH Credentials'
> (May be that the password is already stored locally)
> - Try to add an URL in form svn+ssh://<ip-address>/<repos-path>
> => The dialog 'Enter SSH Credentials' appears.
> - Try to use an incorrect password and click o.k.
> => The dialog 'Enter SSH Credentials' appears again
> - Try to use the correct password and click o.k.
> => The error message occurs
>
> The step with the incorrect password shows to me, that the
> authentification works fine.
>
> Little correction to the JDK I use, it's 1.5.0_06
>
> Rudolf
>
>
> Alexander Kitaev schrieb:
>> Hello Rudolf,
>>
>> Could you please get JavaSVN debug log and send it to me? To get JavaSVN
>> debug log, please alter you JDK_HOME/jre/lib/logging.properties, so that
>> javasvn log level is set to "FINEST" and file log handler (file output) is
>> enabled. Then restart Eclipse.
>>
>> Something like (comment out all other lines):
>>
>> javasvn.level=FINEST
>> handlers = java.util.logging.FileHandler
>>
>> java.util.logging.FileHandler.pattern = %h/javasvn.%u.log
>> java.util.logging.FileHandler.limit = 0
>> java.util.logging.FileHandler.count = 1
>> java.util.logging.FileHandler.append = true
>>
>> Alexander Kitaev,
>> TMate Software,
>> http://tmate.org/
>> http://jetbrains.com/tmate/
>>
>>> -----Original Message-----
>>> From: Rudolf Pfister [mailto:rudolf.pfister@vr-web.de]
>>> Sent: Monday, February 06, 2006 12:13 AM
>>> To: users@subclipse.tigris.org
>>> Subject: [Subclipse-users] svn+ssh causes "Malformed network data"
>>>
>>> Hello,
>>>
>>> When I try to create an ssh connection I get following error message:
>>> "Malformed network data"
>>>
>>> The step I do:
>>> - Right mouse klick in SVN Repository
>>> - Select 'New / Repository location'
>>> - Fill in the URL in the opened dialog: svn+ssh://<host>/<repos>
>>> - Clicked 'Finish'
>>> - Dialog 'Enter SSH Credentials' pops up with following data:
>>> Repository : svn+ssh://<host>
>>> Username : <user>
>>> Authentication
>>> x Use password authentication (<- is selected)
>>> o Use private key authentication
>>> Password : <empty>
>>> Key file : <empty> (disabled)
>>> Passphrase : <empty> (disabled)
>>> Port number: 22
>>>
>>> - After inserting my password the OK-Button is enabled.
>>> - OK klicked
>>> - A dialog appears with following text:
>>> Error validating location:
>>> "org.tigris.subversion.javahl.ClientException: svn: Malformed
>>> network data"
>>>
>>> Keep location anyway?
>>>
>>> - When clicking 'no', nothing is done.
>>> - When clicking 'yes', a connection is added, but doesn't work.
>>>
>>> If I use URL svn://<host>/<repos> it works fine (, of course
>>> without Dialog 'Enter SSH Credentials').
>>>
>>> When using the URL svn+ssh://<host>/<repos> with the svn
>>> command it works fine too.
>>>
>>> I'm using
>>> - Linux (SuSE 10)
>>> - Eclipse 3.1.1 (Java 1.4.2_06)
>>> - Subversion 1.2.3
>>> - Subclipse 0.9.104 (JavaSVN is set in the Preferences)
>>>
>>> Rudolf
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
>>> For additional commands, e-mail: users-help@subclipse.tigris.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
>> For additional commands, e-mail: users-help@subclipse.tigris.org
>>
>>
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
> <!DOCTYPE log SYSTEM "logger.dtd">
> <log>
> <record>
> <date>2006-02-06T21:17:50</date>
> <millis>1139257070472</millis>
> <sequence>0</sequence>
> <logger>javasvn</logger>
> <level>FINER</level>
> <class>org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger</class>
> <method>log</method>
> <thread>10</thread>
> <message>READ
> #</message>
> </record>
> <record>
> <date>2006-02-06T21:17:50</date>
> <millis>1139257070525</millis>
> <sequence>1</sequence>
> <logger>javasvn</logger>
> <level>FINE</level>
> <class>org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger</class>
> <method>logInfo</method>
> <thread>10</thread>
> <message>svn: Malformed network data</message>
> <exception>
> <message>org.tigris.subversion.javahl.ClientException: svn: Malformed network data</message>
> <frame>
> <class>org.tigris.subversion.javahl.JavaHLObjectFactory</class>
> <method>throwException</method>
> <line>435</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.javahl.SVNClientImpl</class>
> <method>throwException</method>
> <line>1167</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.javahl.SVNClientImpl</class>
> <method>info2</method>
> <line>1050</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter</class>
> <method>getInfo</method>
> <line>1480</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation</class>
> <method>validateConnection</method>
> <line>353</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.subclipse.ui.wizards.NewLocationWizard$1</class>
> <method>run</method>
> <line>84</line>
> </frame>
> <frame>
> <class>org.eclipse.jface.operation.ModalContext$ModalContextThread</class>
> <method>run</method>
> <line>113</line>
> </frame>
> </exception>
> </record>
> <record>
> <date>2006-02-06T21:17:50</date>
> <millis>1139257070526</millis>
> <sequence>2</sequence>
> <logger>javasvn</logger>
> <level>FINE</level>
> <class>org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger</class>
> <method>logInfo</method>
> <thread>10</thread>
> <message>svn: Malformed network data</message>
> <exception>
> <message>org.tmatesoft.svn.core.SVNException: svn: Malformed network data</message>
> <frame>
> <class>org.tmatesoft.svn.core.internal.wc.SVNErrorManager</class>
> <method>error</method>
> <line>42</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNReader</class>
> <method>readChar</method>
> <line>538</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNReader</class>
> <method>parse</method>
> <line>256</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNConnection</class>
> <method>read</method>
> <line>195</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNConnection</class>
> <method>handshake</method>
> <line>69</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNConnection</class>
> <method>open</method>
> <line>58</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl</class>
> <method>openConnection</method>
> <line>874</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl</class>
> <method>getLatestRevision</method>
> <line>82</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNBasicClient</class>
> <method>getRevisionNumber</method>
> <line>298</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNBasicClient</class>
> <method>getLocations</method>
> <line>401</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNBasicClient</class>
> <method>createRepository</method>
> <line>360</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNBasicClient</class>
> <method>createRepository</method>
> <line>325</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNWCClient</class>
> <method>doInfo</method>
> <line>1580</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.javahl.SVNClientImpl</class>
> <method>info2</method>
> <line>1039</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter</class>
> <method>getInfo</method>
> <line>1480</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation</class>
> <method>validateConnection</method>
> <line>353</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.subclipse.ui.wizards.NewLocationWizard$1</class>
> <method>run</method>
> <line>84</line>
> </frame>
> <frame>
> <class>org.eclipse.jface.operation.ModalContext$ModalContextThread</class>
> <method>run</method>
> <line>113</line>
> </frame>
> </exception>
> </record>
> <record>
> <date>2006-02-06T21:18:42</date>
> <millis>1139257122580</millis>
> <sequence>3</sequence>
> <logger>javasvn</logger>
> <level>FINER</level>
> <class>org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger</class>
> <method>log</method>
> <thread>11</thread>
> <message>READ
> #</message>
> </record>
> <record>
> <date>2006-02-06T21:18:42</date>
> <millis>1139257122583</millis>
> <sequence>4</sequence>
> <logger>javasvn</logger>
> <level>FINE</level>
> <class>org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger</class>
> <method>logInfo</method>
> <thread>11</thread>
> <message>svn: Malformed network data</message>
> <exception>
> <message>org.tigris.subversion.javahl.ClientException: svn: Malformed network data</message>
> <frame>
> <class>org.tigris.subversion.javahl.JavaHLObjectFactory</class>
> <method>throwException</method>
> <line>435</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.javahl.SVNClientImpl</class>
> <method>throwException</method>
> <line>1167</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.javahl.SVNClientImpl</class>
> <method>info2</method>
> <line>1050</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter</class>
> <method>getInfo</method>
> <line>1480</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation</class>
> <method>validateConnection</method>
> <line>353</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.subclipse.ui.wizards.NewLocationWizard$1</class>
> <method>run</method>
> <line>84</line>
> </frame>
> <frame>
> <class>org.eclipse.jface.operation.ModalContext$ModalContextThread</class>
> <method>run</method>
> <line>113</line>
> </frame>
> </exception>
> </record>
> <record>
> <date>2006-02-06T21:18:42</date>
> <millis>1139257122584</millis>
> <sequence>5</sequence>
> <logger>javasvn</logger>
> <level>FINE</level>
> <class>org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger</class>
> <method>logInfo</method>
> <thread>11</thread>
> <message>svn: Malformed network data</message>
> <exception>
> <message>org.tmatesoft.svn.core.SVNException: svn: Malformed network data</message>
> <frame>
> <class>org.tmatesoft.svn.core.internal.wc.SVNErrorManager</class>
> <method>error</method>
> <line>42</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNReader</class>
> <method>readChar</method>
> <line>538</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNReader</class>
> <method>parse</method>
> <line>256</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNConnection</class>
> <method>read</method>
> <line>195</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNConnection</class>
> <method>handshake</method>
> <line>69</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNConnection</class>
> <method>open</method>
> <line>58</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl</class>
> <method>openConnection</method>
> <line>874</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.internal.io.svn.SVNRepositoryImpl</class>
> <method>getLatestRevision</method>
> <line>82</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNBasicClient</class>
> <method>getRevisionNumber</method>
> <line>298</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNBasicClient</class>
> <method>getLocations</method>
> <line>401</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNBasicClient</class>
> <method>createRepository</method>
> <line>360</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNBasicClient</class>
> <method>createRepository</method>
> <line>325</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.wc.SVNWCClient</class>
> <method>doInfo</method>
> <line>1580</line>
> </frame>
> <frame>
> <class>org.tmatesoft.svn.core.javahl.SVNClientImpl</class>
> <method>info2</method>
> <line>1039</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter</class>
> <method>getInfo</method>
> <line>1480</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.subclipse.core.repo.SVNRepositoryLocation</class>
> <method>validateConnection</method>
> <line>353</line>
> </frame>
> <frame>
> <class>org.tigris.subversion.subclipse.ui.wizards.NewLocationWizard$1</class>
> <method>run</method>
> <line>84</line>
> </frame>
> <frame>
> <class>org.eclipse.jface.operation.ModalContext$ModalContextThread</class>
> <method>run</method>
> <line>113</line>
> </frame>
> </exception>
> </record>
> </log>
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Mon Feb 6 23:03:50 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.