Setup question with S3
Closed this issue · 5 comments
Cool plugin. I'm looking forward to using it fully!
Initially I was have a problem where no images were being created in my S3 bucket and Slack would display an error message "- S3 error: 403 Client Error: Forbidden for url: https://xxxxxxxxx" with each message from Octoslack. I changed my bucket permissions to match a public web site, meaning that anyone who has a file URL can display it, and I have confirmed that if I put one of those URL's into Slack it displays. I also expanded IAM permissions assigned to Octoslack to basically make it a superuser figuring I will lock it down once it works and I understand which permissions it actually needs. Now Octoslack places images in the bucket but the Slack messages no longer contain links to the images. I have checked and unchecked the options to attach snapshots to messages with no effect. I'm stumped. What am I missing or what information do you need to troubleshoot?
Just a follow up on this. I redid my integration using a bot this time. I am using the API because the on-screen instructions indicate some functionality might not work with web hooks, but still no images.
As mentioned in the pull request referenced above, there may be two variations that I need to ensure Octoslack supports. I've just finished getting 1.6.0 out the door and pendind any major issues, I'll start looking into the changes @slintak has submitted in hopes of getting in a fix that works for everyone.
Thanks so much for your effort on this. I was fighting with the issue of too many pictures on Imgur.
I've just pushed 1.7.2 which includes a drop-down option to switch between the two Amazon S3 URL styles. It's rare that this should matter but if your bucket meets one of a limited number of critiera, you might need to use one or the other.
Feel free to reopen this issue if you continue to have problems.