• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

canaraca
#1 Posted : Tuesday, August 9, 2011 11:59:54 AM(UTC)
canaraca

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
Marcus
#2 Posted : Friday, August 12, 2011 7:02:08 PM(UTC)
Marcus

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.
canaraca
#3 Posted : Monday, August 15, 2011 3:08:30 PM(UTC)
canaraca

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?
Marcus
#4 Posted : Monday, August 15, 2011 9:23:46 PM(UTC)
Marcus

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.
canaraca
#5 Posted : Tuesday, August 16, 2011 4:04:37 PM(UTC)
canaraca

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?
Steve95
#6 Posted : Wednesday, August 17, 2011 6:13:49 AM(UTC)
Steve95

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?
canaraca
#7 Posted : Wednesday, August 17, 2011 11:17:06 AM(UTC)
canaraca

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>
canaraca
#8 Posted : Thursday, August 18, 2011 4:34:58 PM(UTC)
canaraca

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.
Marcus
#9 Posted : Friday, August 19, 2011 8:29:02 AM(UTC)
Marcus

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.
canaraca
#10 Posted : Tuesday, August 23, 2011 3:03:46 PM(UTC)
canaraca

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?
Marcus
#11 Posted : Friday, August 26, 2011 8:13:59 AM(UTC)
Marcus

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?
canaraca
#12 Posted : Tuesday, August 30, 2011 3:44:46 PM(UTC)
canaraca

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.
Steve95
#13 Posted : Wednesday, November 30, 2011 12:03:44 PM(UTC)
Steve95

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?
canaraca
#14 Posted : Wednesday, November 30, 2011 1:32:48 PM(UTC)
canaraca

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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012