{"action":"created","issue":{"url":"https://api.github.com/repos/marvell-iot/aws_starter_sdk/issues/36","repository_url":"https://api.github.com/repos/marvell-iot/aws_starter_sdk","labels_url":"https://api.github.com/repos/marvell-iot/aws_starter_sdk/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/marvell-iot/aws_starter_sdk/issues/36/comments","events_url":"https://api.github.com/repos/marvell-iot/aws_starter_sdk/issues/36/events","html_url":"https://github.com/marvell-iot/aws_starter_sdk/issues/36","id":151177542,"number":36,"title":"88MW302 not connecting to AWS IoT after proper provisioning of board on local network","user":{"login":"moondt","id":981408,"avatar_url":"https://avatars.githubusercontent.com/u/981408?v=3","gravatar_id":"","url":"https://api.github.com/users/moondt","html_url":"https://github.com/moondt","followers_url":"https://api.github.com/users/moondt/followers","following_url":"https://api.github.com/users/moondt/following{/other_user}","gists_url":"https://api.github.com/users/moondt/gists{/gist_id}","starred_url":"https://api.github.com/users/moondt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moondt/subscriptions","organizations_url":"https://api.github.com/users/moondt/orgs","repos_url":"https://api.github.com/users/moondt/repos","events_url":"https://api.github.com/users/moondt/events{/privacy}","received_events_url":"https://api.github.com/users/moondt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-26T16:17:17Z","updated_at":"2016-04-27T04:30:44Z","closed_at":null,"body":"Using 05 Nov 2015 Getting Started Guide on the Wiki at marvell-iot/aws_starter_sdk.\r\nMacOS, XCode w/ CL Tools, MacPorts, OpenOCD 0.9.0, had minicom on my serial port during the provisioning (tried this with 2 different AWS accounts):\r\n```\r\n#### AWS STARTER DEMO ####\r\nStarting micro-AP aws_starter-27DF\r\nConnected successfully to the configured network\r\naws shadow connect failed : -8\r\n```\r\nAlso confirmed that I can ping the persistent IP address that I've associated with the board on my network.\r\n\r\nRegarding the failed connect to AWS, wondering whether the board needed reflash with the latest AWS Starter Kit, I flashed aws_starter_sdk-2015_12_8.blob and tried the provisioning and connection again.  No effect; still received -8 return code from the aws_iot_shadow_connect( ) call.  According to the Amazon IoT Embedded C API, -8 is TCP_CONNECTION_ERROR.\r\n\r\nI don't believe this is a firewall issue with my network.  I was able to successfully connect via telnet from my network to my amazonaws URL, both ports 1883 and 8883 SSL.\r\n\r\nOn the AWS IoT side, I did confirm that a policy exists for this device, and it is associated with the certificate.\r\n\r\nI'm just trying to evaluate the board as a viable exploration channel for AWS IoT, not wanting to debug an SDK.  But if you have some tactical guidance on what this issue is and would like to advise steps, I'm available to work them.  Thanks for your kind support."},"comment":{"url":"https://api.github.com/repos/marvell-iot/aws_starter_sdk/issues/comments/214967179","html_url":"https://github.com/marvell-iot/aws_starter_sdk/issues/36#issuecomment-214967179","issue_url":"https://api.github.com/repos/marvell-iot/aws_starter_sdk/issues/36","id":214967179,"user":{"login":"anujdeshpande","id":969376,"avatar_url":"https://avatars.githubusercontent.com/u/969376?v=3","gravatar_id":"","url":"https://api.github.com/users/anujdeshpande","html_url":"https://github.com/anujdeshpande","followers_url":"https://api.github.com/users/anujdeshpande/followers","following_url":"https://api.github.com/users/anujdeshpande/following{/other_user}","gists_url":"https://api.github.com/users/anujdeshpande/gists{/gist_id}","starred_url":"https://api.github.com/users/anujdeshpande/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anujdeshpande/subscriptions","organizations_url":"https://api.github.com/users/anujdeshpande/orgs","repos_url":"https://api.github.com/users/anujdeshpande/repos","events_url":"https://api.github.com/users/anujdeshpande/events{/privacy}","received_events_url":"https://api.github.com/users/anujdeshpande/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T04:30:44Z","updated_at":"2016-04-27T04:30:44Z","body":"\r\n@moondt You can try updating the mcufw on your board using the latest source code. Simply run\r\n`make APP=sample_apps/aws_starter_demo`.\r\nOnce you have done that, you can upload the new .bin that has been created to your board.\r\n\r\n` sudo python sdk/tools/OpenOCD/flash.py --mcufw bin/mw302_rd/aws_starter_demo.bin `\r\n\r\nPress reset and you should be good to go. \r\n\r\nThe blob is not up to date with the source code. This is most likely why you are getting that error. While I fix that you do the above to get things working."}}