Skip to content

SNS stuck on PendingConfirmation

edited June 2013 in Troubleshooting

Hi,

I've followed all the steps on the Getting Started guide but the subscriptions are not being confirmed and are stuck on PendingConfirmation. I have tried re-uploading all the files and deleting the topics on SNS but it doesn't seem to work.

Any ideas?

Thanks

Comments

  • Hi @Brenz,

    1. Check that your host does not have a firewall blocking connections
    2. Verify that your endpoint is correct
    3. Check that you've selected "http" instead of "https" when creating your SNS subscriptions

    Thanks.

    Best regards,
    Ben

  • edited June 2013

    I don't suppose you know what IP's or domains need to be allowed through the firewall?

    Thanks,
    Brendan

  • Hi @Brenz,

    Please see second last comment on this thread → http://forum.sendy.co/discussion/1151/sns-unreachable-endpoint/p1

    Thanks.

    Best regards,
    Ben

  • I've checked with my host and sns.us-east-1.amazonaws.com ins't blocked.

    Any other ideas?

  • If your host is not using a firewall to block connections, then there is nothing else I can think of other than the endpoint is set incorrectly. What is the endpoint URL you entered? Also, did you choose http?

  • The endpoint is set to http://letsflogit.co.uk/sendy/includes/campaigns/complaints.php and the protocol is http.

    I will see if they can white-list it just to make sure.

    Thanks

  • I've had the IP's of SNS white-listed and tried to add the topics and subscriptions again but they do not seem to be getting confirmed.

    Is there anything else you can suggest?

    Thanks

  • Hi Brenz,

    Please PM me these details so I can take a look:

    • FTP credentials
    • AWS login credentials

    Thanks.

    Best regards,
    Ben

  • Thanks Brenz,

    I received your login credentials.

    I can confirm your server is blocking connections. In the /includes/campaigns/bounces.php script, I included few lines of code right at the top of the script to write to a text file when the script is executed. When I visited http://letsflogit.co.uk/sendy/includes/campaigns/bounces.php directly in the browser, the text file was written. When I add the same URL to your bounces SNS subscription in which Amazon will execute the bounces.php script, the text file was not written.

    This means your host/server is blocking Amazon from executing the bounces.php script. Hence your SNS subscription is always stuck in "PendingConfirmation".

    You need to ask your host to whitelist "https://sns.us-east-1.amazonaws.com" although I understand your host says it isn't blocked. But it is.

    On another note, your host needs to white list "https://email.us-east-1.amazonaws.com" as well, this is the SES API endpoint, if this is blocked, no emails can be sent.

    Thanks.

    Best regards,
    Ben

  • edited July 2013

    Hi Ben,

    Just thought I would let you know I found the issue with SNS not reaching Sendy. It was because of mod_security, now its disabled it works fine.

    Hope this comes in useful when helping others.

    Thanks
    Brendan

This discussion has been closed.