{"action":"created","issue":{"url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/6","repository_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets","labels_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/6/comments","events_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/6/events","html_url":"https://github.com/odelot/aws-mqtt-websockets/issues/6","id":151569278,"number":6,"title":"not able to connect to AWS IOT","user":{"login":"mrb0y","id":318040,"avatar_url":"https://avatars.githubusercontent.com/u/318040?v=3","gravatar_id":"","url":"https://api.github.com/users/mrb0y","html_url":"https://github.com/mrb0y","followers_url":"https://api.github.com/users/mrb0y/followers","following_url":"https://api.github.com/users/mrb0y/following{/other_user}","gists_url":"https://api.github.com/users/mrb0y/gists{/gist_id}","starred_url":"https://api.github.com/users/mrb0y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrb0y/subscriptions","organizations_url":"https://api.github.com/users/mrb0y/orgs","repos_url":"https://api.github.com/users/mrb0y/repos","events_url":"https://api.github.com/users/mrb0y/events{/privacy}","received_events_url":"https://api.github.com/users/mrb0y/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-28T07:36:29Z","updated_at":"2016-04-29T20:04:06Z","closed_at":null,"body":"Hi! Awesome job on getting the ESP8266 talking with AWS IOT. I have set up a \"thing\" on my AWS IOT account. I used the credentials created for a single user with AWS IOT privileges, verified the end point path, region and the like via the details output from the AWS IOS console and populate the AWS IOT config variables. I'm using a  NodeMCU 0.9(ESP-12 Module), 80MHz, 115200, 4M (3M SPIFFS) for the build option in the IDE. I'm able to get an internet connection via Wifi router but it fails when attempting to connect to AWS. Should I have some other configuration completed in the AWS IOT console? I basically have a single user with iot credentials and then used that to create a thing. Thanks for any help.\r\n\r\nSerial console out put...\r\nconnected\r\nerror connection to the websocket server\r\nerror connection to the websocket server\r\n \r\nSerial output from the more verbose memleak debug version...\r\nerror connection to the websocket server\r\n38923 - conn: 5 - (27216)\r\nerror connection to the websocket server\r\n46364 - conn: 6 - (27216)\r\nerror connection to the websocket server\r\n53837 - conn: 7 - (27216)\r\nerror connection to the websocket server\r\n61294 - conn: 8 - (27216)\r\n"},"comment":{"url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/comments/215865652","html_url":"https://github.com/odelot/aws-mqtt-websockets/issues/6#issuecomment-215865652","issue_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/6","id":215865652,"user":{"login":"daniele-salvagni","id":6751621,"avatar_url":"https://avatars.githubusercontent.com/u/6751621?v=3","gravatar_id":"","url":"https://api.github.com/users/daniele-salvagni","html_url":"https://github.com/daniele-salvagni","followers_url":"https://api.github.com/users/daniele-salvagni/followers","following_url":"https://api.github.com/users/daniele-salvagni/following{/other_user}","gists_url":"https://api.github.com/users/daniele-salvagni/gists{/gist_id}","starred_url":"https://api.github.com/users/daniele-salvagni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniele-salvagni/subscriptions","organizations_url":"https://api.github.com/users/daniele-salvagni/orgs","repos_url":"https://api.github.com/users/daniele-salvagni/repos","events_url":"https://api.github.com/users/daniele-salvagni/events{/privacy}","received_events_url":"https://api.github.com/users/daniele-salvagni/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T20:04:06Z","updated_at":"2016-04-29T20:04:06Z","body":"The `aws-sdk-arduino` repository from @awslabs has errors and will not compile without fixing them, which one are you using?\r\n\r\nYou should set your endpoint as follows:\r\n\r\n    char aws_endpoint[] = \"A1OKD21AI4PT54.iot.us-west-2.amazonaws.com\";\r\n"}}