aws-lambda-zombie-workshop
aws-lambda-zombie-workshop copied to clipboard
Chat not working - step 25
I'm doing the zombie github tutorial and I'm on step 25. https://github.com/awslabs/aws-lambda-zombie-workshop. When I login and write a message i click "Enter" my message remains there, and the text field gets disabled and it doesn't get posted into the main square. Then if I click stop chatting and press again start chatting the textfield is still disabled, even if I logged out and log back in. Same happens if a create more accounts Do you experience this too? if yes how did you solve it?
Adding more info, I get a 403 from the talkers and messages endpoints and these response headers:
content-type:application/json
date:Mon, 11 Sep 2017 18:46:25 GMT
status:403
via:1.1 ec7268fa1110683dbc457e57c2be1475.cloudfront.net (CloudFront)
x-amz-cf-id:FmsQPuN-QzwPQre9k413Bo03qP8nCR4dTPkD7n7Q7DikDsB1C-feWQ==
x-amzn-errortype:MissingAuthenticationTokenException
x-amzn-requestid:8375cdb3-9721-11e7-98e2-b3071386ceb6
x-cache:Error from cloudfront```
I am still receiving this message as well. I worked around this by setting the Authorization mechanism to "None" instead of "AWS_IAM" for all GETs and POSTs. I'm still digging around the code trying to figure out where this needs to be fixed.