Skip to content
This repository has been archived by the owner on Oct 9, 2021. It is now read-only.

Chat not working - step 25 #51

Open
devpato opened this issue Jun 9, 2017 · 2 comments
Open

Chat not working - step 25 #51

devpato opened this issue Jun 9, 2017 · 2 comments

Comments

@devpato
Copy link

devpato commented Jun 9, 2017

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?

@RSid
Copy link

RSid commented Sep 11, 2017

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```

@jpwhite3
Copy link

jpwhite3 commented Oct 8, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants