Unable to connect to the Fortress item tracking web service.

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

Moderator: SourceGear

Post Reply
jrluker
Posts: 11
Joined: Fri Jun 20, 2008 12:48 pm

Unable to connect to the Fortress item tracking web service.

Post by jrluker » Wed Dec 10, 2008 11:43 am

We have been getting the error "Unable to connect to the Fortress item tracking web service." on a pretty random basis while trying to access the "Admin" tab "Item Tracking Projects" section of the web client. Most of the time, everything works fine, but when the error is getting thrown, it's only when clicking on the "Item Tracking Projects" links. Everything else in the web client works fine.

I am running the Fortress server (v1.1.3.18336) on Windows Server 2003 SP2 and accessing it remotely, both from the LAN and also over a MPLS network. The error is happening no matter what network is being used. It also does not matter if SSL was used to connect or not.

jrluker
Posts: 11
Joined: Fri Jun 20, 2008 12:48 pm

Re: Unable to connect to the Fortress item tracking web service.

Post by jrluker » Wed Dec 10, 2008 11:45 am

here is a snapshot of the log file:

----12/10/2008 10:31:14 AM JLuker--VTX-IT05DT(10.220.50.115)--SSL Disabled Login
----12/10/2008 10:57:40 AM BBohn--BRIANB-LAPTOP(10.220.60.25)--SSL Enabled Login
----12/10/2008 10:59:53 AM BBohn--BRIANB-LAPTOP(10.220.60.25)--SSL Enabled Login
----12/10/2008 11:05:48 AM --()-- Exception in plugin thread : The request failed with HTTP status 400: Bad Request.
----12/10/2008 11:06:05 AM BBohn--BRIANB-LAPTOP(10.220.60.25)--SSL Enabled Login
----12/10/2008 11:06:29 AM RMouritsen--VUT-L-IT01(10.220.60.78)--SSL Enabled System.Exception: Unable to connect to the Fortress item tracking web service.
at VaultWebLib.RemoteDragnetService..ctor()
at VaultService.Project.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at VaultWebLib.RemoteDragnetService..ctor()
at VaultService.Project.Page_Load(Object sender, EventArgs e)
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
----12/10/2008 11:08:07 AM PMarshall--VAL-PAULM(10.220.44.33)--SSL Disabled Logout
----12/10/2008 11:08:10 AM PMarshall--VAL-PAULM(10.220.44.33)--SSL Disabled Login
----12/10/2008 11:08:18 AM JLuker--VTX-IT05DT(10.220.50.115)--SSL Disabled Login
----12/10/2008 11:08:22 AM JLuker--VTX-IT05DT(10.220.50.115)--SSL Disabled Logout

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

Re: Unable to connect to the Fortress item tracking web service.

Post by Beth » Thu Dec 11, 2008 2:45 pm

1) Is it installed on a Domain Controller?
2) Did that page ever work?
3) During the initial install what IIS process model did you choose?
4) Can you bring up http://localhost/Fortress/DragnetWebService.asmx?
Beth Kieler
SourceGear Technical Support

jrluker
Posts: 11
Joined: Fri Jun 20, 2008 12:48 pm

Re: Unable to connect to the Fortress item tracking web service.

Post by jrluker » Thu Dec 11, 2008 3:48 pm

1) The server is not a domain controller
2) The page works most of the time, it randomly errors (see note at bottom)
3) I used the "Machine" IIS Process Model
4) I can access the Dragnet WebServce page

Note:
It may only be a coincidence, but the error seems to be occuring when myself and the one other person who has Admin privileges has logged into the web client around the same time (but not always at the exact same time). We can access everything but the "Item Tracking Projects" link. We only get the error if clicking on that link. But we aren't trying to modify the same Item Tracking Project at the same time.

Thanks.

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

Re: Unable to connect to the Fortress item tracking web service.

Post by Beth » Tue Dec 16, 2008 4:01 pm

If I'm reading this correctly, then if only one user accesses the admin web page, then all the item tracking parts work?
Beth Kieler
SourceGear Technical Support

jrluker
Posts: 11
Joined: Fri Jun 20, 2008 12:48 pm

Re: Unable to connect to the Fortress item tracking web service.

Post by jrluker » Tue Dec 16, 2008 4:28 pm

Yes, that seems to be the case, but not completely verified to be so.

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

Re: Unable to connect to the Fortress item tracking web service.

Post by Beth » Wed Dec 17, 2008 3:16 pm

When you tried http://localhost/Fortress/DragnetWebService.asmx, you were using 'localhost' and performing that right on the Fortress server, correct?

Could you run the following query against your SQL database and post the results?

Code: Select all

use sgvault
GO
SELECT from dbo.tblplugins
If you're not comfortable posting that information, you can email it to support at sourcegear.com (attn: Beth) with a link to this forum thread.
Beth Kieler
SourceGear Technical Support

jrluker
Posts: 11
Joined: Fri Jun 20, 2008 12:48 pm

Re: Unable to connect to the Fortress item tracking web service.

Post by jrluker » Wed Dec 17, 2008 4:36 pm

I cannot access http://localhost/Fortress/DragnetWebService.asmx when trying from the server itself. I can't access any of the Fortress web server locations when using LocalHost. I can only access the Fortress web server when using the actual IP Address of the site.

Here is the result from the sgvault db DELETE query:

Code: Select all

(0 row(s) affected)

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

Re: Unable to connect to the Fortress item tracking web service.

Post by Beth » Wed Dec 17, 2008 5:11 pm

Do you have more than one website on that server?

What could be happening is that your server doesn't know what localhost is and in order for the tracking service to work, your server needs to know that it is localhost. Go to the hosts file on your server (usually found in the folder something like "C:\WINDOWS\system32\drivers\etc"). I think adding the line

Code: Select all

127.0.0.1       <server name or FQDN>
For example, it could be something like
127.0.0.1 SourceGearServer.com
Beth Kieler
SourceGear Technical Support

jrluker
Posts: 11
Joined: Fri Jun 20, 2008 12:48 pm

Re: Unable to connect to the Fortress item tracking web service.

Post by jrluker » Thu Dec 18, 2008 9:16 am

Yes, there are multiple websites hosted on the server. For that reason, I'm reluctant to modify the Hosts file to change where 127.0.0.1 points to. Plus, I'm not convinced that it would make a difference, since the majority of the time, the Fortress server works without a problem. I would think that if it was an issue with localhost not being resolved correctly, then the Fortress server wouldn't work at all, right?

I may also be worth mentioning that the Fortress server is setup to run on HTTP port 88 and not 80, if that could make a difference.

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

Re: Unable to connect to the Fortress item tracking web service.

Post by Beth » Thu Dec 18, 2008 10:52 am

Oh, ok. Then try http://localhost:88/Fortress/DragnetWebService.asmx. Any different results? If that works, then you can ignore the next line.

Check out this forum thread, http://support.sourcegear.com/viewtopic ... m+tracking. Since you have multiple websites, you may need the same working around, which entails the entry into the hosts file.
Beth Kieler
SourceGear Technical Support

Post Reply