Can't connect to server - get 502 error

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

Moderator: SourceGear

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Can't connect to server - get 502 error

Post by dave milne » Sat Nov 29, 2008 10:36 am

Hi,

I've just gota new computer, installed vista 64b and I can't connect to the Vault server. I get a 502 error and Fiddler tells me 2No connection could be made because the target machine actively refused it ". I am trying this with the firewall switched off, I can connect via my old pc using exactly the same details through the same router. I am completely stumped - any suggestions?

Thanks

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

Re: Can't connect to server - get 502 error

Post by lbauer » Sat Nov 29, 2008 2:21 pm

What's the specific error message you're getting on the client side?

Is there anything the the Vault Server log that corresponds to the failed connection? The Vault server log is sgvault.log and is in the %windir%\temp\sgvault directory on the Vault server machine
Linda Bauer
SourceGear
Technical Support Manager

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Re: Can't connect to server - get 502 error

Post by dave milne » Sun Nov 30, 2008 11:56 am

Hi,

The exact message is

Unable to connect to http://apps.intuitivesystems.co.uk:8080/VaultService. No server was found at the specified URL. Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client. Web Exception: Unable to connect to the remote server

If I have fiddler running it changes to

Unable to connect to http://apps.intuitivesystems.co.uk:8080/VaultService. No server was found at the specified URL. Please verify your network settings using the Options dialog under the Tools menu in the Vault GUI Client. Web Exception: The request failed with HTTP status 502: Fiddler - Connection Failed.


My attempts don't register at all on the log file on the server

Thanks

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

Re: Can't connect to server - get 502 error

Post by lbauer » Mon Dec 01, 2008 5:44 pm

Is Fiddler acting as a proxy? In the Vault GUI Client under Tools->Options->Network settings, see if using/changing proxy settings makes a difference.
Linda Bauer
SourceGear
Technical Support Manager

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Re: Can't connect to server - get 502 error

Post by dave milne » Tue Dec 02, 2008 6:28 am

Hi,

I believe Fiddler does act as a proxy, I had to change the proxy settings to 127.0.0.1:8888 to allow Fiddler to pick up the request. When I don't have that set I get the first message.

Thanks

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

Re: Can't connect to server - get 502 error

Post by lbauer » Tue Dec 02, 2008 2:34 pm

Can you connect via a web browser to http://apps.intuitivesystems.co.uk:8080/VaultService?

Since your other machine can connect, there's something about the configuration on this machine or network between client and server that's blocking the connection.

Is anything blocking port 8080? Check your firewalls, routers, and general network topology to see if anything else might be contributing to the problem.
Linda Bauer
SourceGear
Technical Support Manager

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Re: Can't connect to server - get 502 error

Post by dave milne » Wed Dec 03, 2008 3:35 pm

Hi,

I can't connect to the standard weblink, I have tried installing on my laptop running vista 32 and I get exactly the same problem.

My old xp machine can connect fine, is there any reason you know of why the server application might refuse the same login from different computers? Although I guess that doesn't apply for different computers at my home as they'll have the same IP.

One thing I have noticed different is that both my installs on vista under the options menu have only 2 sections, general and network. My install that does work has loads more. Is there any chance I've somehow got a different version or something? The version no is the same on all though (4.1.1(18060))

Also I have been trying this with the firewall turned off on the vista machines

Thanks

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

Re: Can't connect to server - get 502 error

Post by Beth » Thu Dec 04, 2008 4:32 pm

I can't connect to the standard weblink,
So, even just http://apps.intuitivesystems.co.uk:8080/VaultService can't connect?

Can you connect to other websites?

Are you on a home network or a business network?

If you have other computers around you, can you view them from Vista?

Could you try running your Vista Network Diagnosis and Repair Utility? That is found in your Network and Sharing Center. Look to the left on that screen for the link to Diagnose and Repair.
Beth Kieler
SourceGear Technical Support

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Re: Can't connect to server - get 502 error

Post by dave milne » Fri Dec 05, 2008 9:15 am

Hi,

That's correct, my internet access per se is fine, I can ping apps.intuitivesystems.co.uk fine.

I am on a home network, I can see my other xp pc fine but I will test that some more. I've not tried viewing the vista laptop yet I will give that a go along with the netwrok diagnosis tool.

Just for information the soucegear link is connecting over the internet not though a vpn or anything

Thanks

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

Re: Can't connect to server - get 502 error

Post by Beth » Fri Dec 05, 2008 11:45 am

Just let me know your results after you do the things you mentioned in your last post.

Also, could you open Vault on a machine that can connect to the Vault server, login, and go to Help - Technical Support? Then copy the environment information from there and post it here? Do the same on your Vista machine, but you don't have to worry about connecting to the server on that one.

What OS is the Vault server on?
Beth Kieler
SourceGear Technical Support

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Re: Can't connect to server - get 502 error

Post by dave milne » Sun Dec 07, 2008 6:23 am

Hi,

I tried the network diagnosis tool and that said there was nothing wrong. I can get onto my vista machine from my xp one over the network that's no problem at all.

Here is the environment information fmr my working connection:

Client Information
Vault Client Version: 4.1.1.18060
.Net Framework Version: 2.0.50727.3031
Operating System: Microsoft Windows XP Professional
Service Pack: 3.0
OS Version: 5.1.2600
Total Physical Memory: 3 GB
Time Zone: (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London

Server Information
Vault Server Version: 4.1.1.18060
.Net Framework Version: 2.0.50727.1433
Operating System: Microsoft(R) Windows(R) Server 2003 Standard x64 Edition
Service Pack: 2.0
OS Version: 5.2.3790
Timezone: (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London
SQL Version: Microsoft SQL Server 2005 - 9.00.3073.00 (X64)
Aug 5 2008 14:31:47
Copyright (c) 1988-2005 Microsoft Corporation
Standard Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 2)

License Information
5 serial number(s):
1 of 5: 1 full users, permanent
2 of 5: 10 full users, expiring 06/06/2008
3 of 5: 1 full users, permanent
4 of 5: 4 full users, permanent
5 of 5: 1 full users, permanent

Here's the info from one of my vista installs that won'r connect

Client Information
Vault Client Version: 4.1.1.18060
.Net Framework Version: 2.0.50727.1434
Operating System: Microsoft® Windows Vista™ Ultimate
Service Pack: 1.0
OS Version: 6.0.6001
Total Physical Memory: 1021.44 MB
Time Zone: (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London

Server Information
Server version information unavailable

License Information
License information unavailable

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

Re: Can't connect to server - get 502 error

Post by Beth » Mon Dec 08, 2008 4:01 pm

I can get onto my vista machine from my xp one over the network that's no problem at all.
Can you connect to your XP machine from Vista?

Are all updates/service packs installed?
Beth Kieler
SourceGear Technical Support

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Re: Can't connect to server - get 502 error

Post by dave milne » Tue Dec 09, 2008 2:25 am

Beth wrote:
I can get onto my vista machine from my xp one over the network that's no problem at all.
Can you connect to your XP machine from Vista?

Are all updates/service packs installed?
Yes I can see both ways, and all service packs/updates are installed

thanks

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Re: Can't connect to server - get 502 error

Post by dave milne » Tue Dec 09, 2008 1:56 pm

I have just tried connecting to the weburl from my laptop and again Fiddler reports
Connection to apps.intuitivesystems.co.uk failed.
Exception Text: No connection could be made because the target machine actively refused it 92.244.168.99:8080

dave milne
Posts: 10
Joined: Sat Nov 29, 2008 10:32 am

Re: Can't connect to server - get 502 error

Post by dave milne » Tue Dec 09, 2008 3:27 pm

more info - I reset the port setting on iis on the server to 80, removed the 8080 from my url and bingo. I set it back again and nothing

I have yet to consult with my administrators about why it's on 8080 but that's not the salient point here, for some reason I can't connect to a site on 8080, I know it's not my router but appear to be common to vista, this is surely nothing to do with vault either must be an os issue.

If anyone has any ideas great if not cheers for your assistance, I'll post any answers I find

thanks

Post Reply