1

I have created one http subscriber in My SNS console panel. I need to maintain the status of each email (bounce, complaints).

I have set up a publicly accessible http endpoint, created a subscription to my Topic, I click on the Subscribe button and the popup says "A confirmation message will be sent to the subscribed endpoint."

I just not understand how to verify my endpoint and collecting the post data from Amazon SNS.

I have put the endpoint url in below format.

http://example.com/amazon_sns/sns_notification.php

Endpoint will append all post data to a text file, when I request to endpoint from browser the data is written. Is something wrong I am doing.

I've been trying to subscribe for 1 days now, no luck. Any help much appreciated.

4

2 に答える 2

2

注: 問題は、エンドポイントが要求を認識していないことだと思います。それがあなたの問題でない場合は、私に返信して、あなたの問題について質問を更新してください。

以下にいくつかの可能性を示します。

  1. 自己署名証明書 (または SNS によって信頼されていない会社からの証明書) で https を使用しています ( https://forums.aws.amazon.com/thread.jspa?messageID=204271ᷯ )
  2. ポート 80 (http 用) 以外のポートでリッスンしているが、SNS にポートを指定していない
  3. ISP は、リッスンしているポートで着信接続をブロックしています
  4. リッスンしているポートで、ファイアウォールがブロックしているか、ルーターが接続を転送していません。
  5. PHP に問題がある

私があなたを助けやすくするいくつかの質問:

  1. PHP をホストしている場所 (自宅、EC2、ホスティング サービスなど)
  2. ホストされている場所以外の誰かから php ページにアクセスできますか?
于 2013-10-21T22:40:21.367 に答える