Exception on running svnstats

5 messages Options
Embed this post
Permalink
anithad

Exception on running svnstats

Reply Threaded More More options
Print post
Permalink
HI,
I get the following exception when I run svnstats
IOException: Unable to obtain diff: java.io.IOException: svn: Can't connect to host

The svn host is accsessible and svn update and other commands work fine
Jason Kealey-2

Re: Exception on running svnstats

Reply Threaded More More options
Print post
Permalink
Could it be possible that you have a portion of your checked out copy points to multiple repositories, one of them not responding? (A particular sub-folder may be causing the issue whereas most of the tool works, for example). This could happen in a corrupted checked out folder or if you use svn externals. 

You could also run  StatSVN with the -debug command line parameter and see exactly what command StatSVN is trying to execute before this exception and replicate it at the command prompt. 

Finally, if this happens after a certain period of time when running StatSVN (after a few hundred diffs), I would try the  -threads 1 command line parameter. The server is possibly blocking you because it thinks you are a denial of service attack. 

Thanks,
---
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Thu, Jul 2, 2009 at 12:43 PM, anithad <[hidden email]> wrote:

HI,
I get the following exception when I run svnstats
IOException: Unable to obtain diff: java.io.IOException: svn: Can't connect
to host

The svn host is accsessible and svn update and other commands work fine
--
View this message in context: http://n2.nabble.com/Exception-on-running-svnstats-tp3196189p3196189.html
Sent from the StatSVN Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------

_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
anithad

Re: Exception on running svnstats

Reply Threaded More More options
Print post
Permalink

No, the entire repository is pointing to the same svn server. svn seems to be closing the connection after a few diffs

IOException: Unable to obtain diff: java.io.IOException: svn: Network connection closed unexpectedly


I tried with -threads 1 option and still faced the same problem
Jason Kealey-2

Re: Exception on running svnstats

Reply Threaded More More options
Print post
Permalink
The server is therefore blocking you because of "abuse". I suggest you contact your sysadmin and have him review his policies. 

Thanks,
---
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Fri, Jul 3, 2009 at 2:16 PM, anithad <[hidden email]> wrote:


No, the entire repository is pointing to the same svn server. svn seems to
be closing the connection after a few diffs

IOException: Unable to obtain diff: java.io.IOException: svn: Network
connection closed unexpectedly


I tried with -threads 1 option and still faced the same problem

--
View this message in context: http://n2.nabble.com/Exception-on-running-svnstats-tp3196189p3202751.html
Sent from the StatSVN Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------

_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
anithad

Re: Exception on running svnstats

Reply Threaded More More options
Print post
Permalink

Thanks. Will check. I am able to get it to work fine with a smaller log file. Thanks again for the quick response





The server is therefore blocking you because of "abuse". I suggest you
contact your sysadmin and have him review his policies.
Thanks,