soscmd - intermittent errors with GetProject

If you are having a problem using SourceOffSite, post a message here.

Moderator: SourceGear

Post Reply
ppepperell
Posts: 1
Joined: Thu Aug 19, 2004 3:37 pm

soscmd - intermittent errors with GetProject

Post by ppepperell » Thu Aug 19, 2004 3:47 pm

We are using SOS 4.0.1. I have a set of batch files to pull source from SOS using the command line interface and then build them on the command line. Occasionally one of the GetProject calls will fail with the following error:

Net error during attempt to read headers. (RH1). Error: 0

When we run the same batch file for the same SOS project again, it will complete successfully. There is no consistency as far as which projects error out.

Here is the syntax of the command:

soscmd -command GetProject -server %SOSSERVER% -database %SOSDB% -name %SOSUser% -password %SOSPW% -project %SSPath%/%Project% -workdir "%SrcDir%\%Project%" -recursive

This is a real problem since our projects are layered on each other and one failed GetProject causes an entire build to fail. Any light you can shed would be great.

Thanks,

Peter

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Fri Aug 20, 2004 2:00 pm

We've seen this error before, but have not determined exactly what it means or how to resolve it. But SOS 4.0 has better logging, so perhaps we can get additional clues.

Set your logging to verbose mode. Then try to reproduce the error. As soon as you do, send me a copy of the log.txt file in the SOS Server directory.

Linda@sourcegear.com
Linda Bauer
SourceGear
Technical Support Manager

Post Reply