When I try to setup PayPal Braintree in AbleCommerce GoldR12SR2 (build 9476) by going to admin > Configure > Payments > Gateways > Click on Add Payment Gateway button > Scroll to PayPal Braintree Gateway and click on the green add button I get this error.
Server Error in '/' Application.
An existing connection was forcibly closed by the remote host
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
Source Error:
Line 62: // INITIALIZE THE FORM
Line 63: Caption.Text = string.Format(Caption.Text, ProviderInstance.Name);
Line 64: ProviderInstance.BuildConfigForm(phInputForm);
Line 65:
Line 66: // DETERMINE IF PAYMENT METHODS SHOULD SHOW FOR THIS PROVIDER
Source File: c:\inetpub\wwwroot\AbleCommerceGold-GoldR12SR2-b9476-WSP\Website\Admin\Payment\AddGateway2.aspx.cs Line: 64
Stack Trace:
[SocketException (0x2746): An existing connection was forcibly closed by the remote host]
System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) +106
System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +130
[IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.]
System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) +291
System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) +32
System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) +156
System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) +281
System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest) +49
System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) +162
System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) +542
System.Net.TlsStream.CallProcessAuthentication(Object state) +42
System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +228
System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) +21
System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) +64
System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) +795
System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) +52
System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) +21
System.Net.ConnectStream.WriteHeaders(Boolean async) +388
[WebException: The underlying connection was closed: An unexpected error occurred on a send.]
System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) +283
System.Net.WebClient.DownloadString(Uri address) +100
System.Net.WebClient.DownloadString(String address) +30
CommerceBuilder.Payments.Providers.PayPalBraintree.BraintreeProvider.BuildConfigForm(Control parentControl) +1004
AbleCommerce.Admin._Payment.AddGateway2.Page_Init(Object sender, EventArgs e) in c:\inetpub\wwwroot\AbleCommerceGold-GoldR12SR2-b9476-WSP\Website\Admin\Payment\AddGateway2.aspx.cs:64
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnInit(EventArgs e) +95
System.Web.UI.Page.OnInit(EventArgs e) +13
System.Web.UI.Control.InitRecursive(Control namingContainer) +139
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +408
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2633.0
Anyone have any idea what the problem is.
Thanks in Advance Richard
http://www.somethingmorestore.com