Search code examples
wsdlnetsuitesuitetalk

NetSuite sandbox suitetalk access


I am having trouble accessing the Sandbox environment through the Suitetalk web services. I am using the 2016_2 WSDL. I have tried making use of the newest version WSDL, but this did not help.

I am using this on an existing test application, which now stopped working. I can still access the NetSuite production environment through Suitetalk. The error I receive: "The underlying connection was closed: An unexpected error occurred on a send."

The error occurs on any call made to the API. So far, I haven't seen anyone else online with a similar issue.

Any help will be appreciated, thank you in advance.


Solution

  • Your problem is likely TLS 1.2 but your client is only supporting TLS 1.0 or 1.1

    This change was made by Netsuite and according to their release, on October 7th but I'm guessing it was moved back because a customer of mine had the issue over the weekend initially and I had to rush a patch fix.

    If you are using Dotnet, try this static property:

    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12