asp.net - Timeout error for AWS SNSClient Publish request -


here piece of code :

                        //publishing topic                         snsclient.publish(new publishrequest                         {                             subject = constants.snstopicmessage,                             message = snsmessageobj.tostring(),                             topicarn = settings.topicarn                         }); 

i getting below error :

the underlying connection closed: connection expected kept alive closed server.

and here screenshot of detailed error: enter image description here

but not able idea how solve this. hint or link helpful.

we had exact same issue happen us. got error 40 times day, less 0.1% of successful push notifications sent out.

our solution? update awssdk nuget package 1.5.30.1 2.3.52.0 (the latest v2 release ease-of-upgrade). updated, errors stopped happening. looked through lots of release notes , couldn't find mentioning issue. have no idea why update worked, did.

i hope helps , else fix issue.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -