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

Notification

Icon
Error

Richard
#1 Posted : Thursday, May 15, 2008 6:06:17 PM(UTC)
Richard

Rank: Member

Joined: 4/28/2003(UTC)
Posts: 141

This showed up today in the admin > options > event log


Exception occurred during call to Paypal: com.paypal.sdk.exceptions.TransactionException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags) at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security._SslStream.StartFrameHeader(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.StartReading(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.Security._SslStream.ProcessRead(Byte[] buffer, Int32 offset, Int32 count, AsyncProtocolRequest asyncRequest) at System.Net.TlsStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead) --- End of inner exception stack trace --- at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) at com.paypal.soap.api.PayPalAPIAASoapBinding.SetExpressCheckout(SetExpressCheckoutReq SetExpressCheckoutReq) --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at com.paypal.sdk.core.APICaller.CallSOAP(MethodInfo method, Object obj, Object[] args) --- End of inner exception stack trace --- at com.paypal.sdk.core.APICaller.CallSOAP(MethodInfo method, Object obj, Object[] args) at com.paypal.sdk.core.APICaller.Call(String operationName, AbstractRequestType request) at com.paypal.sdk.services.CallerServices.Call(String operationName, AbstractRequestType request) at BVSoftware.PaypalWebServices.PayPalAPI.SetExpressCheckout(String paymentAmount, String returnURL, String cancelURL, PaymentActionCodeType paymentAction, CurrencyCodeType currencyCodeType, String name, String countryISOCode, String street1, String street2, String city, String region, String postalCode, String phone, String invoiceId) at BVSoftware.Bvc5.Core.BusinessRules.OrderTasks.StartPaypalExpressCheckout.Execute(OrderTaskContext context)





Any one have an idea what the problem is?



Richard

www.somethingmorestore.com
Andy Miller
#2 Posted : Thursday, May 15, 2008 7:28:59 PM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
Your web server was connected to a second server (probably PayPal's), when the second server unexpectedly closed the connection.

There are many reasons why a server would close a connection and it is impossible to determine the cause from your server's end. One reason is if too many clients are connected.

Ideally, the software on your end (apparently supplied by PayPal) would automatically try to reconnect and retry whatever it was trying in the first place. But it is impossible to determine whether the retry is happening from the error message.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
Richard
#3 Posted : Thursday, May 15, 2008 8:28:40 PM(UTC)
Richard

Rank: Member

Joined: 4/28/2003(UTC)
Posts: 141

Thanks Andy for the info. We are hosted with Resposio and running BV5 sp3.2 with all hotfixes applied. I will check with Noah in the AM about it. He might be able to shed some light from his end.

Richard
Andy Miller
#4 Posted : Friday, May 16, 2008 2:33:33 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
He probably will. Keep in mind that this error means the *other* server killed the connection...not your server. Also keep in mind that your server (and by extension, Noah) has no way of knowing why the other server killed the connection. It was probably just too busy at the moment the charge came through.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
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