invalid session token?

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

Moderator: SourceGear

Post Reply
guest

invalid session token?

Post by guest » Wed Jun 23, 2004 8:32 am

I am seeing this error message in the vault log when trying to get latest version of a file in the repository: FailInvalidSessionToken

Any ideas?

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

Post by jclausius » Wed Jun 23, 2004 10:02 am

A couple of things might have happened. Here is a list of things to check:

1) IIS is configured to restart at a given interval or when the server's state reaches a particular level.

2) Someone restarted the IIS Server.

3) An exception in Vault caused the IIS Server to recycle the ASP.Net process. You might be able to see some error in the server's sgvault.log file or your Windows' Events.

4) You had a session open longer than the time dictated by the server's session timeout.
Jeff Clausius
SourceGear

guest

more info from the log file

Post by guest » Wed Jun 23, 2004 11:23 am

here is the full text of messages from sgvault.log. From the vault client, I get "too many errors were encountered downloading files..." I am just trying to "get latest version" of 1 file.

===============

----6/23/2004 1:17:00 PM jjj--XXX(xxx)--SSL Disabled
Beginning file download
----6/23/2004 1:17:00 PM jjj--XXX(xxx)--SSL Disabled
VaultServiceBase.VaultRequestGetFile returned: SuccessRequireFileDownload
----6/23/2004 1:17:00 PM jjj--XXX(xxx)--SSL Disabled
BeginDownloadFiles returned: Success
----6/23/2004 1:17:00 PM --XXX(xxx)--SSL Disabled
VaultFileDownload starting
----6/23/2004 1:17:00 PM --XXX(xxx)--SSL Disabled
1011 : FailInvalidSessionToken
----6/23/2004 1:17:00 PM --XXX(xxx)--SSL Disabled
1011 : FailInvalidSessionToken
----6/23/2004 1:17:01 PM jjj--XXX(xxx)--SSL Disabled
Ending download process
----6/23/2004 1:17:01 PM jjj--XXX(xxx)--SSL Disabled
EndDownloadProcess returned: Success
----6/23/2004 1:17:01 PM jjj--XXX(xxx)--SSL Disabled
Getting repository Structure.
----6/23/2004 1:17:01 PM jjj--XXX(xxx)--SSL Disabled
GetRepositoryStructure returned: Success
----6/23/2004 1:17:01 PM jjj--XXX(xxx)--SSL Disabled
Getting list of checkout changes.
----6/23/2004 1:17:01 PM jjj--XXX(xxx)--SSL Disabled
GetCheckOutListChanges returned: Success

==============

there are no messages in the event log.

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

Post by jclausius » Wed Jun 23, 2004 11:51 am

It seems that subsequent trips to the server do not retain session information.

Are you getting FailInvalidSession or Failed too many times?

Are you going through a firewall or NAT device of some sort? Something that would be interpretting the web service request?
Jeff Clausius
SourceGear

Guest

Post by Guest » Wed Jun 23, 2004 12:04 pm

yes, I am going through a firewall, does this need anything other than port 80 open?

Guest

Post by Guest » Wed Jun 23, 2004 12:15 pm

yes, I am going through a firewall, does this need anything other than port 80 open?

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

Post by jclausius » Wed Jun 23, 2004 12:31 pm

When a download request is granted, a Download token is granted. It seems something is interferring with that information.

A couple of other questions:

1) A collegue wanted to know if you had MS Sharepoint installed?

2) Can you try to do the Get directly on the Vault server? If that works, we've narrowed the problem down to the firewall or some other device interferring with the network stream.
Jeff Clausius
SourceGear

Guest

Post by Guest » Wed Jun 23, 2004 12:52 pm

yes, sharepoint is installed on the same server -- this is my test/eval server...

and yes, everything works locally but File downloading does not work when it goes through the firewall.

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

Post by jclausius » Wed Jun 23, 2004 1:23 pm

There are problems related to having SharePoint installed on the same IIS Server as Vault's Server.

Can you look over these links, and see if any apply?
- http://support.sourcegear.com/viewtopic ... rt=15#2907
- http://support.sourcegear.com/viewtopic ... rt=15#2959
- http://support.sourcegear.com/viewtopic ... point#3357
Jeff Clausius
SourceGear

Post Reply