Intermittent errors while pushing a pdf to S3 bucket



We are using .NET 4.5 to put pdf objects on a S3 bucket. The code is working fine but we are getting intermittent errors for many pdf files. The errors seem random and are not related to file size.

Below is the error message:

{"ClassName":"System.AggregateException","Message":"One or more errors occurred.","Data":null,"InnerException":{"ClassName":"Amazon.Runtime.AmazonServiceException","Message":"A WebException with status ConnectFailure was thrown.","Data":null,"InnerException":{"ClassName":"System.Net.WebException","Message":"Unable to connect to the remote server","Data":null,"InnerException":{"NativeErrorCode":10060,"ClassName":"System.Net.Sockets.SocketException","Message":"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond","Data":null,"InnerException":null,"HelpURL":null,"StackTraceString":" at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)\r\n at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)\r\n at

Any pointers on how to debug this would be great.

Thanks, PM

asked a year ago365 views
1 Answer

Could be throttling, or other "rare, normal use" errors as described here? -

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions