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:
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
Post a Comment