Rank: Member
Joined: 4/16/2010(UTC) Posts: 33
|
Hello,
We recently carried one of our BVC 5.7.3 stores to a brand new IIS 7 server and that made Avalara stop working completely.
We're getting a "System.Net.WebException Unable to connect to the remote server." error.
Does anyone know what can be causing this issue?
Thank you, Can Agaoglu
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
BV 5 runs under .NET 3.5 so the app pool must be in Classic .NET 2.0 mode. Also, a new server may have new firewall/security rules preventing outbound requests.
|
|
|
|
Rank: Member
Joined: 4/16/2010(UTC) Posts: 33
|
Thanks for the response Marcus.
The store is hosted by Resposio and they confirmed that the app pool was already set to Classic 2.0. They also said that there's nothing in the Firewall logs blocking outbound traffic from the site.
Can you think of anything else?
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
Avalara communicates over a port 80 web service so there should be no reason for it to be blocked. Was the site on IIS 7 before or on IIS 6? There is a different web.config file for IIS7 and perhaps a setting wasn't moved over correctly.
|
|
|
|
Rank: Member
Joined: 4/16/2010(UTC) Posts: 33
|
Everything looks good on the web.configs.
I did some more testing and saw that the store can't connect or load the RSS Viewer on the Admin Dashboard either. Below is the error I’m getting. It seems to be the same issue.
Unable to connect to the remote server[ at System.Net.HttpWebRequest.GetResponse() at BVModules_ContentBlocks_RSS_Feed_Viewer_view.RSSChannel.GetXMLDoc(String node) at BVModules_ContentBlocks_RSS_Feed_Viewer_view.RSSChannel.GetChannelItems() ]
Does this mean that there's an issue with the firewall/security rules or possibly the server?
|
|
|
|
Rank: Member
Joined: 4/29/2010(UTC) Posts: 256
Thanks: 4 times Was thanked: 11 time(s) in 10 post(s)
|
Sounds like you are using the IIS 6 web.config and not the IIS 7 one?
|
|
|
|
Rank: Member
Joined: 4/16/2010(UTC) Posts: 33
|
Hey Steve,
I think I am using the right web.config file. It has the two tags (attached below) that web.iis6.config doesn't have. I don't see any other major difference between the two.
<webServices> <soapExtensionImporterTypes> </soapExtensionImporterTypes> </webServices>
and
<system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="LoginPersister" type="BVSoftware.Bvc5.Core.Utilities.LoginPersister, BVSoftware.Bvc5.Core" preCondition="managedHandler" /> <add name="UrlRewriter" type="BVSoftware.Bvc5.Core.Utilities.UrlRewriter, BVSoftware.Bvc5.Core" preCondition="managedHandler" /> </modules> <validation validateIntegratedModeConfiguration="false"/> </system.webServer>
|
|
|
|
Rank: Member
Joined: 4/16/2010(UTC) Posts: 33
|
We tried turning off the Firewall and that didn't fix it. Tried opening port 8172 outbound and that didn't help either.
Do you guys have any other suggestions? This is quiet important for us as we have 10 stores running Avalara.
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
The System.Net.WebException "unable to connect to remote server" really points to some kind of security issue preventing an outbound call to Avalara. One option is to install a tool like Fiddler on the server which can watch http traffic and capture requests and responses. You can than see the exact request going out and confirm a) it's going to the correct location and b) that it isn't blocked by Windows, Firewall, etc.
|
|
|
|
Rank: Member
Joined: 4/16/2010(UTC) Posts: 33
|
Hey Marcus,
Here is the message we receive from Fiddler when connecting to the host, “avatax.avalara.net” :
[Fiddler] 504 Connection Failed: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 72.37.234.195:443
443 is the port we use for SSL connections. It's open for inbound and outbound traffic.
Do you know how we can drill down and see the reason the connection is failing?
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 1,786
|
The error message is saying that Avalara's server is rejecting your requests. Is is possible that Avalara has a list of IP addresses and will only accept inbound connections from your old IP?
|
|
|
|
Rank: Member
Joined: 4/16/2010(UTC) Posts: 33
|
Avalara said that they do not have a white-list, and that it should not be the problem. Many of their customers have dynamic IPs.
We tried telneting their IP and a couple of other websites and the requests timed out. It seems like the server has a connection issue. We'll keep looking what it may be.
|
|
|
|
Rank: Member
Joined: 4/29/2010(UTC) Posts: 256
Thanks: 4 times Was thanked: 11 time(s) in 10 post(s)
|
Did you manage to fix this in the end?
|
|
|
|
Rank: Member
Joined: 4/16/2010(UTC) Posts: 33
|
Yes. We had to replace the server. I don't really know the details of it but it was a hardware issue.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.