HELP ARTICLE

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


I have a Shopify REST connector set up in SmartConnect that has been working for some time.
Now when I try to run a SmartConnect map using that Shopify REST connector as either a source or destination I get the error:

Connection could not be validated.
The underlying connection was closed: An unexpected error occurred on a send.

What is the issue and how can it be resolved?


The specific problem is that SmartConnect made a connection to the REST destination, but that destination client was terminated by the host/server- Shopify in this specific instance but it could be any other REST provider.

The reason this happened without warning in this situation is that Shopify recently disabled TLS 1.0/1.1 support and will now only allow TLS 1.2 connections. 

The first version of SmartConnect to support TLS 1.2 on REST connector method calls is SmartConnect 20.18.0.23.  Previous versions of SmartConnect would only use TLS 1.0/1.1 which was why this was working before the protocol change by Shopify.

To resolve this issue:
1. Download and install SmartConnect 20.18.0.23 or later

2. Enable TLS 1.2 on this client machine.  If TLS 1.2 is not enabled on the client machine, SmartConnect won’t be able to connect with TLS 1.2 and would return the same error.  This Microsoft article discusses how to enable TSL 1.2 on the client machine.  Since this machine is the “client”, make sure to enable the “client” TLS 1.2 protocol and not the “server” protocol unless you require that setting in another context.

Again note that this isn’t specifically a “Shopify” issue – it would affect any REST provider that requires a TLS 1.2 connection.

RECENT POSTS


Use the REST Connector to parse nested Value Arrays
SmartConnect email task fails with error: An invalid character was found in the email header
Does SmartConnect import into Avalara Avatax software
Could not initialize a collection when launching SmartConnect
ERROR [HY000] [Microsoft][ODBC Excel Driver]General error Unable to open registry key when you open a SmartConnect map.

POPULAR POSTS


SSL Security error using OLEDB Connection
This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms
Removed Part: /xl/vbaProject.bin part. (Visual Basic for Applications (VBA))
The server process could not be started because the configured identity is incorrect.
Using WINSCP and a task to upload or download files from an SFTP site

CATEGORIES

TAGS

Business Central CRM D365 Business Central Dynamics 365 dynamics crm Dynamics GP Dynamics NAV Econnect Employee Spotlight eone eOne News error Error Message Events Excel Excel Report Builder Extender Flexicoder GP integration Map Meet the Team Microsoft dynamics crm Microsoft Dynamics GP Navigation List Builder Office Relationships partners Popdock release Reporting SalesForce SalesForce.com SmartConnect SmartConnect.com SmartConnect Bootcamp SmartConnect Maps SmartConnect Office Hours SmartList SmartList Builder SmartPost SmartView SQL Tech Tuesday Templates training

Integrate & Automate without Any Code.

SmartList Data has Never Been Faster.

The Easiest Way to Report on GP Data.