SOSCommandLine Encrypted Client Problems

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

Moderator: SourceGear

BattelleV
Posts: 19
Joined: Fri Dec 07, 2007 12:34 pm

SOSCommandLine Encrypted Client Problems

Post by BattelleV » Mon Jun 30, 2008 5:44 pm

I was trying to verify certain features of the encrypted command line client before we use them in our development cycle. To that end we wrote a test plan.

We have been using the SOS Linux GUI client version 4.2 for a few months. The goal of the test was to verify that the command line client using an encryption key would behave identically to the encrypted GUI version. We ran into the following issues:

We added a file to the directory using the command line client. When we tried to remove the file we got a segmentation fault.

The following command results in a segmentation fault (note text was substituted for items within <> that is <name> was buckv etc).
$ soscmd -server <server> -alias <alias> -name <name> -password <password> -soshome $HOME/.soscmd -nocache -command CheckOutFile -project TestQualAddFolder -workdir ./MyWorkingDir -file foo.txt

Other commands such as Addfile etc work with the syntax above.
The CheckOutFile command above puts a file in the MyWorkingDir project but does not set its permissions correctly. Also the SOS GUI client does not show the file as checked out.

The checkin commands work correctly, the UndoCheckOut command results in a segmentation fault. The file modifications are gone but its permissions have not changed; further the GUI shows it is still checked out.

The CheckOut project and CheckInProject commands fail. They do not segmentation fault but they do nothing (i.e. no files are checked out and no files are checked in).

The UndoCheckOutProject also does nothing, the files with modifications are still there.

Any insight and feeback into the possible causes as well as mitigations of these errors would be greatly appreciated.

Again, the GUI client seems to do the steps above correctly; any information on what the GUI client does differently would be appreciated. We were guessing both used the VSS api for communications and assumed that the GUI called the command line version.

We ran ltrace and strace on the call, the last succesful step is a strcpy before a SIGSEGV is thrown.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jul 01, 2008 10:07 am

Could you check SOS server log for errors that were logged at the same time? The SourceOffSite log file (log.txt) is located on the machine where the SOS server resides in this path C:\Program Files\SourceOffSite Server.

BattelleV
Posts: 19
Joined: Fri Dec 07, 2007 12:34 pm

Post by BattelleV » Tue Jul 01, 2008 11:05 am

I have attached the entire log and am posting the segments from roughly the time I was running my tests (2:00-7:00).



6/30/2008 2:16:59 PM - Connection accepted from 131.167.91.144:17385 on local address 131.167.13.12:8081, session id is 3.
6/30/2008 2:17:04 PM - 3: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:20:15 PM - Connection accepted from 131.167.91.144:52120 on local address 131.167.13.12:8081, session id is 4.
6/30/2008 2:20:19 PM - 4: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:24:31 PM - Connection accepted from 131.167.91.144:52157 on local address 131.167.13.12:8081, session id is 5.
6/30/2008 2:24:36 PM - 5: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:25:11 PM - Connection accepted from 131.167.91.144:52188 on local address 131.167.13.12:8081, session id is 6.
6/30/2008 2:25:16 PM - 6: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:33:24 PM - Connection accepted from 131.167.91.144:52270 on local address 131.167.13.12:8081, session id is 7.
6/30/2008 2:33:28 PM - 7: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:33:45 PM - Connection accepted from 131.167.91.144:52272 on local address 131.167.13.12:8081, session id is 8.
6/30/2008 2:33:49 PM - 8: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:37:12 PM - Connection accepted from 131.167.91.144:52289 on local address 131.167.13.12:8081, session id is 9.
6/30/2008 2:37:16 PM - 9: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:39:25 PM - Connection accepted from 131.167.91.144:52308 on local address 131.167.13.12:8081, session id is 10.
6/30/2008 2:39:30 PM - 10: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:39:30 PM - 10: Exception during Login: The SourceSafe database path does not exist. Please select another database.
6/30/2008 2:39:30 PM - 10: The SourceSafe database path does not exist. Please select another database.
6/30/2008 2:39:53 PM - Connection accepted from 131.167.91.144:52309 on local address 131.167.13.12:8081, session id is 11.
6/30/2008 2:39:58 PM - 11: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:39:58 PM - 11: Exception during Login: The SourceSafe database path does not exist. Please select another database.
6/30/2008 2:39:58 PM - 11: The SourceSafe database path does not exist. Please select another database.
6/30/2008 2:40:19 PM - Connection accepted from 131.167.91.144:17550 on local address 131.167.13.12:8081, session id is 12.
6/30/2008 2:40:23 PM - 12: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:40:53 PM - Connection accepted from 131.167.91.144:52329 on local address 131.167.13.12:8081, session id is 13.
6/30/2008 2:40:57 PM - 13: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:40:57 PM - 13: Exception during Login: The SourceSafe database path does not exist. Please select another database.
6/30/2008 2:40:57 PM - 13: The SourceSafe database path does not exist. Please select another database.
6/30/2008 2:41:56 PM - Connection accepted from 131.167.91.144:17556 on local address 131.167.13.12:8081, session id is 14.
6/30/2008 2:42:00 PM - 14: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:43:11 PM - 6/30/2008 2:43:11 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 2:43:11 PM - 14: Connection Closed: CONNECTION CLOSED
6/30/2008 2:45:24 PM - Connection accepted from 131.167.91.144:52391 on local address 131.167.13.12:8081, session id is 15.
6/30/2008 2:45:29 PM - 15: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:48:25 PM - Connection accepted from 131.167.91.144:52484 on local address 131.167.13.12:8081, session id is 16.
6/30/2008 2:48:29 PM - 16: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:48:29 PM - 16: An item with the name $/TestQual already exists (8004d694)
6/30/2008 2:51:21 PM - Connection accepted from 131.167.91.144:17589 on local address 131.167.13.12:8081, session id is 17.
6/30/2008 2:51:26 PM - 17: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:51:26 PM - 17: An item with the name $/TestQual already exists (8004d694)
6/30/2008 2:52:00 PM - Connection accepted from 131.167.91.144:17594 on local address 131.167.13.12:8081, session id is 18.
6/30/2008 2:52:04 PM - 18: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:53:34 PM - Connection accepted from 131.167.91.144:17608 on local address 131.167.13.12:8081, session id is 19.
6/30/2008 2:53:38 PM - 19: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:53:39 PM - 19: An item with the name $/TestQual already exists (8004d694)
6/30/2008 2:53:45 PM - Connection accepted from 131.167.91.144:17609 on local address 131.167.13.12:8081, session id is 20.
6/30/2008 2:53:49 PM - 20: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:53:49 PM - 20: An item with the name $/TestQualAddFolder already exists (8004d694)
6/30/2008 2:54:28 PM - Connection accepted from 131.167.91.144:17616 on local address 131.167.13.12:8081, session id is 21.
6/30/2008 2:54:33 PM - 21: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:55:55 PM - Connection accepted from 131.167.91.144:17645 on local address 131.167.13.12:8081, session id is 22.
6/30/2008 2:56:00 PM - 22: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:56:06 PM - Connection accepted from 131.167.91.144:17647 on local address 131.167.13.12:8081, session id is 23.
6/30/2008 2:56:10 PM - 23: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:56:11 PM - 23: An item with the name $/TestQualAddFolder/foo.txt already exists (8004d694)
6/30/2008 2:57:42 PM - Connection accepted from 131.167.91.144:17651 on local address 131.167.13.12:8081, session id is 24.
6/30/2008 2:57:47 PM - 24: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:57:47 PM - 24: File or project not found (8004d68f)
6/30/2008 2:58:00 PM - Connection accepted from 131.167.91.144:17652 on local address 131.167.13.12:8081, session id is 25.
6/30/2008 2:58:05 PM - 25: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:59:22 PM - Connection accepted from 131.167.91.144:17656 on local address 131.167.13.12:8081, session id is 26.
6/30/2008 2:59:26 PM - 26: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:59:27 PM - 6/30/2008 2:59:27 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 2:59:27 PM - 26: Connection Closed: CONNECTION CLOSED
6/30/2008 2:59:37 PM - Connection accepted from 131.167.91.144:17659 on local address 131.167.13.12:8081, session id is 27.
6/30/2008 2:59:41 PM - 27: Unable to get hostname from address: 131.167.91.144
6/30/2008 2:59:42 PM - 6/30/2008 2:59:42 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 2:59:42 PM - 27: Connection Closed: CONNECTION CLOSED
6/30/2008 3:04:35 PM - Connection accepted from 131.167.91.144:52837 on local address 131.167.13.12:8081, session id is 28.
6/30/2008 3:04:40 PM - 28: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:04:40 PM - 6/30/2008 3:04:40 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:04:40 PM - 28: Connection Closed: CONNECTION CLOSED
6/30/2008 3:05:03 PM - Connection accepted from 131.167.91.144:17696 on local address 131.167.13.12:8081, session id is 29.
6/30/2008 3:05:08 PM - 29: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:05:51 PM - 6/30/2008 3:05:51 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:05:51 PM - 29: Connection Closed: CONNECTION CLOSED
6/30/2008 3:06:21 PM - Connection accepted from 131.167.91.144:52900 on local address 131.167.13.12:8081, session id is 30.
6/30/2008 3:06:26 PM - 30: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:06:26 PM - 6/30/2008 3:06:26 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:06:26 PM - 30: Connection Closed: CONNECTION CLOSED
6/30/2008 3:06:52 PM - Connection accepted from 131.167.91.144:17702 on local address 131.167.13.12:8081, session id is 31.
6/30/2008 3:06:57 PM - 31: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:07:27 PM - Connection accepted from 131.167.91.144:52958 on local address 131.167.13.12:8081, session id is 32.
6/30/2008 3:07:31 PM - 32: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:07:32 PM - 6/30/2008 3:07:32 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:07:32 PM - 32: Connection Closed: CONNECTION CLOSED
6/30/2008 3:07:43 PM - Connection accepted from 131.167.91.144:52970 on local address 131.167.13.12:8081, session id is 33.
6/30/2008 3:07:47 PM - 33: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:07:48 PM - 6/30/2008 3:07:48 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:07:48 PM - 33: Connection Closed: CONNECTION CLOSED
6/30/2008 3:11:06 PM - Connection accepted from 131.167.91.144:53075 on local address 131.167.13.12:8081, session id is 34.
6/30/2008 3:11:11 PM - 34: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:11:11 PM - 6/30/2008 3:11:11 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:11:11 PM - 34: Connection Closed: CONNECTION CLOSED
6/30/2008 3:11:38 PM - Connection accepted from 131.167.91.144:53076 on local address 131.167.13.12:8081, session id is 35.
6/30/2008 3:11:42 PM - 35: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:11:43 PM - 6/30/2008 3:11:43 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:11:43 PM - 35: Connection Closed: CONNECTION CLOSED
6/30/2008 3:11:52 PM - Connection accepted from 131.167.91.144:53078 on local address 131.167.13.12:8081, session id is 36.
6/30/2008 3:11:56 PM - 36: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:11:57 PM - 6/30/2008 3:11:57 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:11:57 PM - 36: Connection Closed: CONNECTION CLOSED
6/30/2008 3:45:39 PM - Connection accepted from 131.167.91.144:53774 on local address 131.167.13.12:8081, session id is 37.
6/30/2008 3:45:44 PM - 37: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:46:56 PM - Connection accepted from 131.167.91.144:53835 on local address 131.167.13.12:8081, session id is 38.
6/30/2008 3:47:00 PM - 38: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:47:55 PM - Connection accepted from 131.167.91.144:53837 on local address 131.167.13.12:8081, session id is 39.
6/30/2008 3:47:59 PM - 39: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:48:37 PM - Connection accepted from 131.167.91.144:53846 on local address 131.167.13.12:8081, session id is 40.
6/30/2008 3:48:41 PM - 40: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:48:42 PM - 6/30/2008 3:48:42 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:48:42 PM - 40: Connection Closed: CONNECTION CLOSED
6/30/2008 3:49:32 PM - Connection accepted from 131.167.91.144:53849 on local address 131.167.13.12:8081, session id is 41.
6/30/2008 3:49:37 PM - 41: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:49:37 PM - 6/30/2008 3:49:37 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:49:37 PM - 41: Connection Closed: CONNECTION CLOSED
6/30/2008 3:51:12 PM - Connection accepted from 131.167.91.144:53860 on local address 131.167.13.12:8081, session id is 42.
6/30/2008 3:51:17 PM - 42: Unable to get hostname from address: 131.167.91.144
6/30/2008 3:51:17 PM - 6/30/2008 3:51:17 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:51:17 PM - 42: Connection Closed: CONNECTION CLOSED
6/30/2008 3:52:15 PM - 6/30/2008 3:52:15 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 3:52:15 PM - 37: Connection Closed: CONNECTION CLOSED
6/30/2008 4:57:25 PM - Connection accepted from 131.167.91.144:18987 on local address 131.167.13.12:8081, session id is 43.
6/30/2008 4:57:29 PM - 43: Unable to get hostname from address: 131.167.91.144
6/30/2008 4:58:19 PM - Connection accepted from 131.167.91.144:18992 on local address 131.167.13.12:8081, session id is 44.
6/30/2008 4:58:23 PM - 44: Unable to get hostname from address: 131.167.91.144
6/30/2008 4:58:46 PM - Connection accepted from 131.167.91.144:18994 on local address 131.167.13.12:8081, session id is 45.
6/30/2008 4:58:51 PM - 45: Unable to get hostname from address: 131.167.91.144
6/30/2008 4:58:51 PM - 6/30/2008 4:58:51 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 4:58:51 PM - 45: Connection Closed: CONNECTION CLOSED
6/30/2008 5:00:56 PM - Connection accepted from 131.167.91.144:19057 on local address 131.167.13.12:8081, session id is 46.
6/30/2008 5:01:01 PM - 46: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:01:01 PM - 6/30/2008 5:01:01 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:01:01 PM - 46: Connection Closed: CONNECTION CLOSED
6/30/2008 5:25:26 PM - Connection accepted from 131.167.91.144:56219 on local address 131.167.13.12:8081, session id is 47.
6/30/2008 5:25:30 PM - 47: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:25:31 PM - 6/30/2008 5:25:31 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:25:31 PM - 47: Connection Closed: CONNECTION CLOSED
6/30/2008 5:28:55 PM - 6/30/2008 5:28:55 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:28:55 PM - 43: Connection Closed: CONNECTION CLOSED
6/30/2008 5:29:25 PM - Connection accepted from 131.167.91.144:19201 on local address 131.167.13.12:8081, session id is 48.
6/30/2008 5:29:29 PM - 48: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:29:30 PM - 6/30/2008 5:29:30 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:29:30 PM - 48: Connection Closed: CONNECTION CLOSED
6/30/2008 5:29:59 PM - Connection accepted from 131.167.91.144:19203 on local address 131.167.13.12:8081, session id is 49.
6/30/2008 5:30:03 PM - 49: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:30:04 PM - 6/30/2008 5:30:04 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:30:04 PM - 49: Connection Closed: CONNECTION CLOSED
6/30/2008 5:32:38 PM - Connection accepted from 131.167.91.144:56319 on local address 131.167.13.12:8081, session id is 50.
6/30/2008 5:32:43 PM - 50: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:35:28 PM - 6/30/2008 5:35:28 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:35:28 PM - 50: Connection Closed: CONNECTION CLOSED
6/30/2008 5:36:44 PM - Connection accepted from 131.167.91.144:56400 on local address 131.167.13.12:8081, session id is 51.
6/30/2008 5:36:49 PM - 51: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:36:49 PM - 6/30/2008 5:36:49 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:36:49 PM - 51: Connection Closed: CONNECTION CLOSED
6/30/2008 5:38:25 PM - Connection accepted from 131.167.91.144:56415 on local address 131.167.13.12:8081, session id is 52.
6/30/2008 5:38:29 PM - 52: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:38:30 PM - 6/30/2008 5:38:30 PM - Server Exception (402): NOT_LOCKED
6/30/2008 5:38:30 PM - 52: Server Error: 402
6/30/2008 5:38:40 PM - Connection accepted from 131.167.91.144:56417 on local address 131.167.13.12:8081, session id is 53.
6/30/2008 5:38:44 PM - 53: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:38:44 PM - 6/30/2008 5:38:44 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:38:44 PM - 53: Connection Closed: CONNECTION CLOSED
6/30/2008 5:40:11 PM - Connection accepted from 131.167.91.144:56423 on local address 131.167.13.12:8081, session id is 54.
6/30/2008 5:40:15 PM - 54: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:40:16 PM - 6/30/2008 5:40:16 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:40:16 PM - 54: Connection Closed: CONNECTION CLOSED
6/30/2008 5:40:20 PM - Connection accepted from 131.167.91.144:56426 on local address 131.167.13.12:8081, session id is 55.
6/30/2008 5:40:24 PM - 55: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:40:25 PM - 6/30/2008 5:40:25 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:40:25 PM - 55: Connection Closed: CONNECTION CLOSED
6/30/2008 5:53:01 PM - Connection accepted from 131.167.91.144:56742 on local address 131.167.13.12:8081, session id is 56.
6/30/2008 5:53:05 PM - 56: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:53:36 PM - Connection accepted from 131.167.91.144:56773 on local address 131.167.13.12:8081, session id is 57.
6/30/2008 5:53:41 PM - 57: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:54:24 PM - 6/30/2008 5:54:24 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:54:24 PM - 57: Connection Closed: CONNECTION CLOSED
6/30/2008 5:55:38 PM - Connection accepted from 131.167.91.144:56809 on local address 131.167.13.12:8081, session id is 58.
6/30/2008 5:55:43 PM - 58: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:55:51 PM - Connection accepted from 131.167.91.144:56830 on local address 131.167.13.12:8081, session id is 59.
6/30/2008 5:55:56 PM - 59: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:58:55 PM - Connection accepted from 131.167.91.144:56920 on local address 131.167.13.12:8081, session id is 60.
6/30/2008 5:58:59 PM - 60: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:59:00 PM - 6/30/2008 5:59:00 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:59:00 PM - 60: Connection Closed: CONNECTION CLOSED
6/30/2008 5:59:08 PM - Connection accepted from 131.167.91.144:56931 on local address 131.167.13.12:8081, session id is 61.
6/30/2008 5:59:12 PM - 61: Unable to get hostname from address: 131.167.91.144
6/30/2008 5:59:24 PM - 6/30/2008 5:59:24 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 5:59:24 PM - 61: Connection Closed: CONNECTION CLOSED
6/30/2008 6:00:22 PM - Connection accepted from 131.167.91.144:56960 on local address 131.167.13.12:8081, session id is 62.
6/30/2008 6:00:27 PM - 62: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:00:27 PM - 6/30/2008 6:00:27 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:00:27 PM - 62: Connection Closed: CONNECTION CLOSED
6/30/2008 6:01:00 PM - Connection accepted from 131.167.91.144:56961 on local address 131.167.13.12:8081, session id is 63.
6/30/2008 6:01:05 PM - 63: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:01:05 PM - 6/30/2008 6:01:05 PM - Server Exception (402): NOT_LOCKED
6/30/2008 6:01:05 PM - 63: Server Error: 402
6/30/2008 6:01:29 PM - Connection accepted from 131.167.91.144:56963 on local address 131.167.13.12:8081, session id is 64.
6/30/2008 6:01:34 PM - 64: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:01:45 PM - 6/30/2008 6:01:45 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:01:45 PM - 64: Connection Closed: CONNECTION CLOSED
6/30/2008 6:02:06 PM - Connection accepted from 131.167.91.144:56977 on local address 131.167.13.12:8081, session id is 65.
6/30/2008 6:02:11 PM - 65: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:02:11 PM - 6/30/2008 6:02:11 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:02:11 PM - 65: Connection Closed: CONNECTION CLOSED
6/30/2008 6:02:47 PM - Connection accepted from 131.167.91.144:56983 on local address 131.167.13.12:8081, session id is 66.
6/30/2008 6:02:52 PM - 66: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:02:59 PM - 6/30/2008 6:02:59 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:02:59 PM - 66: Connection Closed: CONNECTION CLOSED
6/30/2008 6:04:10 PM - Connection accepted from 131.167.91.144:56988 on local address 131.167.13.12:8081, session id is 67.
6/30/2008 6:04:14 PM - 67: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:04:15 PM - 6/30/2008 6:04:15 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:04:15 PM - 67: Connection Closed: CONNECTION CLOSED
6/30/2008 6:23:49 PM - Connection accepted from 131.167.91.144:19500 on local address 131.167.13.12:8081, session id is 68.
6/30/2008 6:23:54 PM - 68: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:24:24 PM - Connection accepted from 131.167.91.144:19501 on local address 131.167.13.12:8081, session id is 69.
6/30/2008 6:24:29 PM - 69: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:24:44 PM - 6/30/2008 6:24:44 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:24:44 PM - 69: Connection Closed: CONNECTION CLOSED
6/30/2008 6:25:29 PM - Connection accepted from 131.167.91.144:19502 on local address 131.167.13.12:8081, session id is 70.
6/30/2008 6:25:33 PM - 70: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:26:05 PM - Connection accepted from 131.167.91.144:19503 on local address 131.167.13.12:8081, session id is 71.
6/30/2008 6:26:10 PM - 71: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:26:27 PM - 6/30/2008 6:26:27 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:26:27 PM - 71: Connection Closed: CONNECTION CLOSED
6/30/2008 6:26:33 PM - Connection accepted from 131.167.91.144:19504 on local address 131.167.13.12:8081, session id is 72.
6/30/2008 6:26:37 PM - 72: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:27:36 PM - 6/30/2008 6:27:36 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:27:36 PM - 72: Connection Closed: CONNECTION CLOSED
6/30/2008 6:27:49 PM - Connection accepted from 131.167.91.144:19526 on local address 131.167.13.12:8081, session id is 73.
6/30/2008 6:27:53 PM - 73: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:28:02 PM - Connection accepted from 131.167.91.144:19527 on local address 131.167.13.12:8081, session id is 74.
6/30/2008 6:28:06 PM - 74: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:28:39 PM - 6/30/2008 6:28:39 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 6:28:39 PM - 74: Connection Closed: CONNECTION CLOSED
6/30/2008 6:29:00 PM - Connection accepted from 131.167.91.144:19532 on local address 131.167.13.12:8081, session id is 75.
6/30/2008 6:29:05 PM - 75: Unable to get hostname from address: 131.167.91.144
6/30/2008 6:29:05 PM - 75: File or project not found (8004d68f)
6/30/2008 7:19:48 PM - Connection accepted from 131.167.91.144:19668 on local address 131.167.13.12:8081, session id is 76.
6/30/2008 7:19:52 PM - 76: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:20:03 PM - 6/30/2008 7:20:03 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 7:20:03 PM - 76: Connection Closed: CONNECTION CLOSED
6/30/2008 7:21:23 PM - Connection accepted from 131.167.91.144:19669 on local address 131.167.13.12:8081, session id is 77.
6/30/2008 7:21:28 PM - 77: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:22:06 PM - Connection accepted from 131.167.91.144:19673 on local address 131.167.13.12:8081, session id is 78.
6/30/2008 7:22:10 PM - 78: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:22:24 PM - 6/30/2008 7:22:24 PM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
6/30/2008 7:22:24 PM - 78: Connection Closed: CONNECTION CLOSED
6/30/2008 7:22:32 PM - Connection accepted from 131.167.91.144:19674 on local address 131.167.13.12:8081, session id is 79.
6/30/2008 7:22:36 PM - 79: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:23:29 PM - Connection accepted from 131.167.91.144:19675 on local address 131.167.13.12:8081, session id is 80.
6/30/2008 7:23:33 PM - 80: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:23:33 PM - 80: Exception during Login: Invalid password
6/30/2008 7:23:33 PM - 80: Invalid password
6/30/2008 7:23:50 PM - Connection accepted from 131.167.91.144:19676 on local address 131.167.13.12:8081, session id is 81.
6/30/2008 7:23:54 PM - 81: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:24:29 PM - Connection accepted from 131.167.91.144:19677 on local address 131.167.13.12:8081, session id is 82.
6/30/2008 7:24:33 PM - 82: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:24:41 PM - Connection accepted from 131.167.91.144:19678 on local address 131.167.13.12:8081, session id is 83.
6/30/2008 7:24:45 PM - 83: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:24:46 PM - 83: File or project not found (8004d68f)
6/30/2008 7:25:00 PM - Connection accepted from 131.167.91.144:19679 on local address 131.167.13.12:8081, session id is 84.
6/30/2008 7:25:05 PM - 84: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:25:21 PM - Connection accepted from 131.167.91.144:19680 on local address 131.167.13.12:8081, session id is 85.
6/30/2008 7:25:25 PM - 85: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:25:25 PM - 85: File or project not found (8004d68f)
6/30/2008 7:28:18 PM - Connection accepted from 131.167.91.144:57503 on local address 131.167.13.12:8081, session id is 86.
6/30/2008 7:28:23 PM - 86: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:29:05 PM - Connection accepted from 131.167.91.144:57512 on local address 131.167.13.12:8081, session id is 87.
6/30/2008 7:29:10 PM - 87: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:41:12 PM - Connection accepted from 131.167.91.144:57544 on local address 131.167.13.12:8081, session id is 88.
6/30/2008 7:41:16 PM - 88: Unable to get hostname from address: 131.167.91.144
6/30/2008 7:41:16 PM - 88: File or project not found (8004d68f)
Attachments
log.txt
(117.58 KiB) Downloaded 549 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jul 01, 2008 3:37 pm

Does the command line work fine without encryption?

BattelleV
Posts: 19
Joined: Fri Dec 07, 2007 12:34 pm

Post by BattelleV » Tue Jul 01, 2008 4:22 pm

The version of SOS cmd line client without encryption works.
The version of SOS cmd line client with encyrption without using the encryption key also works.
The version of SOS cmd line client with encyrption and using the encryption key does not work.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jul 02, 2008 4:02 pm

When you were trying with the GUI, you had imported the encryption key into the GUI and used the secure port there also, right?

If you are using the secure port for SOS, I don't think it's supposed to connect if you don't have the key there, so I'm not sure how you connected with encryption without the key.

What automation component version is being used? The instructions for finding that information are posted here: Automation Component Version

Also, can this command you are using be simplified? Cut out all extra options that aren't necessarily needed. Also, I'm not really sure that one can use -SOSHome and -no cache together. They say opposite things.

Finally, when testing, try replacing -alias with the option for just the full path to the VSS database.

BattelleV
Posts: 19
Joined: Fri Dec 07, 2007 12:34 pm

Post by BattelleV » Thu Jul 03, 2008 12:06 pm

Beth,

Sorry if I confused you with my responses.
In response to your questions:
Question (1)
When you were trying with the GUI, you had imported the encryption key into the GUI and used the secure port there also, right?
Answer(1): Yes we had imported the key and used the secure port.

Question (2)
If you are using the secure port for SOS, I don't think it's supposed to connect if you don't have the key there, so I'm not sure how you connected with encryption without the key.
Answer(2): I used the client to connect to a different database; one that did not require encryption.

Question (3)
What automation component version is being used? The instructions for finding that information are posted here: Automation Component Version
Answer(3): The ssapi.dll file version is: 8.0.50727.42 (RTM.050727-4200).
The version of VSS running on our server is VSS 2005.

Question(4)
Also, can this command you are using be simplified? Cut out all extra options that aren't necessarily needed. Also, I'm not really sure that one can use -SOSHome and -no cache together. They say opposite things.
Answer(4) I think I am submitting the minimum parameters required to run a command. Can you specify what it is that you would like me to cut out?

Lastly in response to your final suggestion:
Finally, when testing, try replacing -alias with the option for just the full path to the VSS database.
--I tried this option, it had no effect.

Please see the attached listing for details
Attachments
editedconsoleoutput.txt
Linux console output edited to remove IP address and password
(1.95 KiB) Downloaded 527 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jul 08, 2008 12:48 pm

Do you have a time that you performed the actions that you did in the last post? If so, can you check your SOS server log around the same time to see if anything new was logged?

jclausius
Posts: 3702
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Jul 08, 2008 12:58 pm

A quick comment...

One thing I noticed is the -project argument in your samples are not fully qualified VSS database paths.

For example, "-project TestQualAddFolderTest2"

should be something like "-project $/path/to/TestQualAddFolderTest2"

I'm not sure this will fix anything, but the project path is not in the correct format.
Jeff Clausius
SourceGear

BattelleV
Posts: 19
Joined: Fri Dec 07, 2007 12:34 pm

Post by BattelleV » Tue Jul 08, 2008 2:35 pm

Log output from around the time I ran the test (approx 1 minute before to 5 minutes after).

7/3/2008 11:26:21 AM - Connection accepted from 131.167.91.144:49222 on local address 131.167.13.12:8081, session id is 94.
7/3/2008 11:26:26 AM - 94: Unable to get hostname from address: 131.167.91.144
7/3/2008 11:26:26 AM - 7/3/2008 11:26:26 AM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
7/3/2008 11:26:26 AM - 94: Connection Closed: CONNECTION CLOSED
7/3/2008 11:26:53 AM - Connection accepted from 131.167.91.144:49252 on local address 131.167.13.12:8081, session id is 95.
7/3/2008 11:26:57 AM - 95: Unable to get hostname from address: 131.167.91.144
7/3/2008 11:26:58 AM - 7/3/2008 11:26:58 AM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
7/3/2008 11:26:58 AM - 95: Connection Closed: CONNECTION CLOSED
7/3/2008 11:27:42 AM - 7/3/2008 11:27:42 AM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
7/3/2008 11:27:42 AM - 93: Connection Closed: CONNECTION CLOSED
7/3/2008 11:29:29 AM - Connection accepted from 131.167.91.144:49293 on local address 131.167.13.12:8081, session id is 96.
7/3/2008 11:29:34 AM - 96: Unable to get hostname from address: 131.167.91.144
7/3/2008 11:29:34 AM - Connection accepted from 131.167.91.144:49301 on local address 131.167.13.12:8081, session id is 97.
7/3/2008 11:29:39 AM - 97: Unable to get hostname from address: 131.167.91.144
7/3/2008 11:36:37 AM - Connection accepted from 131.167.91.144:20311 on local address 131.167.13.12:8081, session id is 98.
7/3/2008 11:36:42 AM - 98: Unable to get hostname from address: 131.167.91.144
7/3/2008 11:36:42 AM - 7/3/2008 11:36:42 AM - Server Exception (-100): [Socket error - ParseStream(). Received : 0] - CONNECTION CLOSED
7/3/2008 11:36:42 AM - 98: Connection Closed: CONNECTION CLOSED

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Tue Jul 08, 2008 2:43 pm

Any change if you try Jeff's suggestion?

BattelleV
Posts: 19
Joined: Fri Dec 07, 2007 12:34 pm

Post by BattelleV » Wed Jul 09, 2008 9:10 am

Beth,

There is no change in trying Jeff's suggestion.

We tried a few different permutations here of the checkoutfile command:
We turned off encryption on the server.

Here are the results we received:
Using an unencrypted cmdline client to connect to the now unencrypted server.
Issuing a CheckOutFile command with the encrypted key and without the encrypted key succeeds.

Using the encrypted cmdline client to connect to the now unencrypted server.
Issuing a CheckOutFile command without the encrypted key succeeds.
Issuing a CheckOutFile command with the encrypted key fails (segmentation fault).

BattelleV
Posts: 19
Joined: Fri Dec 07, 2007 12:34 pm

Post by BattelleV » Wed Jul 09, 2008 9:18 am

We turned encryption back on the server side.

Attached is the output from the last set of tests we ran
Using the encrypted client with no key to connect to the encrypted server results in a message that we need a key.

Using the encrypted client with key to connect to the encrypted server results in a segmentation fault.

Attached are the commands we ran along with the resulting core file.
please note: the commands are as run with one exception (the password field has been XXXX 'd out).

Lastly can you provide me with a phone number that I can use to contact SOS technical support?
Attachments
core.13119.gz
core file
(38.27 KiB) Downloaded 479 times
cmdline.txt
(748 Bytes) Downloaded 512 times

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jul 09, 2008 9:55 am

If you call or write in, please reference this forum thread.

Another thing I'll need to know is what exactly are you entering for the key information when it's created by the admin?

Support
• Web: http://support.sourcegear.com/
• E-mail: support@sourcegear.com
• Phone: 1-217-356-0105 x700 (weekdays 8:30am to 4:30pm US Central time)

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Post by Beth » Wed Jul 09, 2008 10:32 am

One other thing, check what your key file looks like. What is the name? If you are using an IP address, then the IP address for the SOS server should be in the key name.

Post Reply