HTTP status 503: Service Unavailable

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
Tilman
Posts: 52
Joined: Thu Mar 08, 2007 3:49 am

HTTP status 503: Service Unavailable

Post by Tilman » Mon Apr 16, 2007 7:50 am

Hi,

We seem to be getting the below log entry a lot (every couple of minutes).

----16/04/2007 13:37:37 xxx--xxx.xxx.com(xxx.xxx.xxx.xxx)--SSL Disabled Exception in plugin thread : The request failed with HTTP status 503: Service Unavailable.

Vault seems to be running more or less fine, though.

Any ideas how I can stop this?

Regards,

Tilman

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

Post by lbauer » Mon Apr 16, 2007 8:29 am

Do you have shadow folders configured? It's possible this is coming from shadow folders trying to update and running into an error.
Linda Bauer
SourceGear
Technical Support Manager

Tilman
Posts: 52
Joined: Thu Mar 08, 2007 3:49 am

Post by Tilman » Mon Apr 16, 2007 9:05 am

Yes, we do have shadow folders enabled. As far as I can tell they are working fine, though.

Tilman

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

Post by lbauer » Mon Apr 16, 2007 10:18 am

Check the Windows Event viewer on the Vault Server machine for errors that might be related.

Also check the shadow folder service log, shadowfolderservice.txt in %windir%\temp\sgshadowfolder.
Linda Bauer
SourceGear
Technical Support Manager

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

Post by lbauer » Mon Apr 16, 2007 12:37 pm

Another thought -- there may be shadow folder plugins in the database that are "orphaned." Run this query:
SELECT * FROM sgvault.dbo.tblplugins
Do any of the results appear to invalid?
Linda Bauer
SourceGear
Technical Support Manager

Tilman
Posts: 52
Joined: Thu Mar 08, 2007 3:49 am

Post by Tilman » Tue Apr 17, 2007 4:14 am

Hi Linda,

That was it! I discovered that we had an abondened installation of Vault on another machine. Removing the corresponding line form the tblplugins table stopped the error messages.

Thanks a lot!

Tilman

Tilman
Posts: 52
Joined: Thu Mar 08, 2007 3:49 am

Post by Tilman » Wed May 09, 2007 4:12 am

Hi again,

We now moved the Vault server onto a different machine. The thing is, now the tblplugins table only contains the URL of the old machine and the shadow folder log says

5/9/2007 10:47:40 AM <generic>: [<No Name>:3724] GetEntryAssembly() returned null; not logging assembly name
5/9/2007 10:47:43 AM <generic>: [<No Name>:3268] SimpleLogger finalized

over and over.

Any ideas how to solve this?

Tilman

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

Post by lbauer » Wed May 09, 2007 2:55 pm

You should be able to remove that particular line from the tblplugins table in the Vault database.
Linda Bauer
SourceGear
Technical Support Manager

Tilman
Posts: 52
Joined: Thu Mar 08, 2007 3:49 am

Post by Tilman » Thu May 10, 2007 2:04 am

Sure, but shouldn't there be a row for the new machine?

Also, what about the messages in the log? Shouldn't it say a little more? It used to before.

Tilman

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

Post by lbauer » Thu May 10, 2007 9:07 am

Did you create new shadow folder associations with the Admin Tool after you moved the Vault Server?

It's possible there's not more info in the log because shadow folders aren't set up.

Did you have debug logging enabled in the old Vault Server installation? The new installation created a new shadow folder web.config file, where shadow folder associations and other config info is kept.

You can enable debug logging for the shadow folder service by uncommenting this line in the Vault Shadow Folder Service web.config file:

<add key="classesToLog" value="" />

For initial troubleshooting, you can log "all" classes:

<add key="classesToLog" value="all" />
Linda Bauer
SourceGear
Technical Support Manager

Tilman
Posts: 52
Joined: Thu Mar 08, 2007 3:49 am

Post by Tilman » Mon May 14, 2007 6:59 am

Did you create new shadow folder associations with the Admin Tool after you moved the Vault Server?
We copied the associations from the old web.config. They then showed up in the admin tool.

I enabled debug logging, but it doesn't seem to make a difference.

Should there be an entry for the new machine in the tblplugins table?

Thanks,

Tilman

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

Post by lbauer » Mon May 14, 2007 4:48 pm

Yes, just copying the config associations won't populate the database. I'd suggest deleting any shadow folder associations in the web.config file and recreating the shadow folder associations with the Vault Admin tool.
Linda Bauer
SourceGear
Technical Support Manager

Locked