Timeout for SNS

0

I've been using sendy.co (self-hosted) to send emails via Amazon SNS / SES for over a year. It was less then around 350 emails / week. Today I've noticed that something is not working properly, and I'm getting timeouts.

It's endpoint: https://sns.us-east-1.amazonaws.com/?Action=ListSubscriptions Error communicating with Amazon SNS API. Failed to connect to sns.us-east-1.amazonaws.com port 443: Connection timed out

So I created a simple PHP script with curl to

  1. https://sns.us-east-1.amazonaws.com/?Action=ListSubscriptions and returns Failed to connect to sns.us-east-1.amazonaws.com port 443: Connection timed out
  2. https://3.239.232.78/?Action=ListSubscriptions returns Failed to connect to 3.239.232.78 port 443: Connection timed out
  3. https://wykop.pl/ - works fine (checking if curl can reach any other website on port 443)

This fails only when script is from from shared hosting - 86.111.241.88 It works fine when it's run from other VPS 95.217.75.29 or my local pc - 88.156.128.60

Does it mean that above IP 86.111.241.88 - is blocked on Amazon's side? If so, how can be unblocked?

1 回答
0
已接受的回答

I cannot tell whether you fell under a deny list or what... but to be honest I would try to check on this points and see if something rings...

  • Verify that outbound access is allowed on port 443 in your EC2 security group. SNS uses port 443 for HTTPS connections.
  • Check for any network ACLs that may be blocking outbound traffic to the SNS endpoint IP range.
  • Try simplifying your code and running basic SNS publish/subscribe tests to isolate where the issue may be occurring.
  • Consider using alternative SNS endpoints in different regions in case the primary endpoint has availability problems.
  • Review your AWS service health dashboard or service health history for any known issues on the day you encountered this problem.
profile picture
专家
已回答 1 个月前
  • Thanks for your reply. After few days it's working again (without making any changes from my side). Hard to say what happened.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则