It looks like you're new here. If you want to get involved, click one of these buttons!
Like others, I'm trying to set up the SNS. My sendy install is running in a virtual host on DigitalOcean and I was able to confirm the bounces topic instantly with the endpoint http://sendy.spoil.io/includes/campaigns/bounces.php. It found the endpoint and I got back the proper value for the confirmation.
When I try making the complaints topic though, I keep getting: "com.amazonaws.services.sns.model.InvalidParameterException: Invalid parameter: Unreachable Endpoint (Service: AmazonSNS; Status Code: 400; Error Code: InvalidParameter; Request ID: c991e2af-019c-5324-b64d-ae3981c65cbe)". The endpoint for it is http://sendy.spoil.io/includes/campaigns/complaints.php and it loads fine from my browser and my cell phone as well. If I go to modify the source code I can make it print text and I can see it printing fine on the browser.
Is there something I'm missing here? I'm running out of ideas haha
That's very strange, if bounces endpoint works, there's no reason why complaints won't.
Can you please re-upload a fresh copy of /includes/campaigns/complaints.php to your server.
Also make sure you used 'HTTP' protocol for your SNS endpoint.
Sorry for the late reply Ben! I was able to get it to work, but I have no idea what fixed it. I even added debug code to the complaints.php file just to see if it was being contacted successfully by Amazon (it was, both on success and failure). I used the exact same settings every single time and I removed it and added it back a few times and eventually it was successful.
I have learnt from another user that having a 'space' either appended or prepended to your SNS endpoint throws an 'Unreachable Endpoint' error. So I'm almost 100% sure you got that error previously because of an unintentional space in your SNS endpoint.