Skip to main content
Avalara Help Center

How to resolve the error: "The underlying connection was closed: An unexpected error occurred on a receive."?

Overview

You are trying to calculate tax, validate an address, etc, but receive the error below:

"The underlying connection was closed: An unexpected error occurred on a receive."

Environment

Microsoft Dynamics GP

Resolution

  • There are many possible causes of this error. Please check the following:
    • Test your AvaTax credentials to ensure you can connect successfully
    • Open an internet page and ensure you are connected to the internet
    • Go to status.avalara.com and make sure there is not an outage or service disruption
    • Restart the server running GP and AvaTax
  • If you are connected to the internet, there is no outage listed on status.avalara.com, and restarting the server running GP and AvaTax does not resolve the issue, please make sure you do not use SSL Certificates and have the AvaTax service URL listed in your configuration whitelisted on your network.