{"action":"created","issue":{"url":"https://api.github.com/repos/spark/firmware/issues/516","labels_url":"https://api.github.com/repos/spark/firmware/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/spark/firmware/issues/516/comments","events_url":"https://api.github.com/repos/spark/firmware/issues/516/events","html_url":"https://github.com/spark/firmware/issues/516","id":98645687,"number":516,"title":"Photon: PANIC when TCPClient fails to connect ","user":{"login":"maghis","id":1429352,"avatar_url":"https://avatars.githubusercontent.com/u/1429352?v=3","gravatar_id":"","url":"https://api.github.com/users/maghis","html_url":"https://github.com/maghis","followers_url":"https://api.github.com/users/maghis/followers","following_url":"https://api.github.com/users/maghis/following{/other_user}","gists_url":"https://api.github.com/users/maghis/gists{/gist_id}","starred_url":"https://api.github.com/users/maghis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maghis/subscriptions","organizations_url":"https://api.github.com/users/maghis/orgs","repos_url":"https://api.github.com/users/maghis/repos","events_url":"https://api.github.com/users/maghis/events{/privacy}","received_events_url":"https://api.github.com/users/maghis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spark/firmware/milestones/9","html_url":"https://github.com/spark/firmware/milestones/0.4.4","labels_url":"https://api.github.com/repos/spark/firmware/milestones/9/labels","id":1207267,"number":9,"title":"0.4.4","description":null,"creator":{"login":"m-mcgowan","id":2465470,"avatar_url":"https://avatars.githubusercontent.com/u/2465470?v=3","gravatar_id":"","url":"https://api.github.com/users/m-mcgowan","html_url":"https://github.com/m-mcgowan","followers_url":"https://api.github.com/users/m-mcgowan/followers","following_url":"https://api.github.com/users/m-mcgowan/following{/other_user}","gists_url":"https://api.github.com/users/m-mcgowan/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mcgowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mcgowan/subscriptions","organizations_url":"https://api.github.com/users/m-mcgowan/orgs","repos_url":"https://api.github.com/users/m-mcgowan/repos","events_url":"https://api.github.com/users/m-mcgowan/events{/privacy}","received_events_url":"https://api.github.com/users/m-mcgowan/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":13,"state":"open","created_at":"2015-07-14T15:50:21Z","updated_at":"2015-08-13T09:43:44Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-08-02T23:42:11Z","updated_at":"2015-08-13T14:25:00Z","closed_at":null,"body":"When trying to connect to a closed port or just failing to connect, the Photon restarts with an SOS instead of simply returning false.\r\n\r\nUpdate:\r\n- crashes and restarts w a PANIC if you try to connect right after the unit has connected to the internet (if you wait 2 seconds it works, less and it fails)\r\n- crashes and restart w a PANIC if: address doesn't exist, nobody is listening on the port or if the tcp connection fails after a successful connect"},"comment":{"url":"https://api.github.com/repos/spark/firmware/issues/comments/130694572","html_url":"https://github.com/spark/firmware/issues/516#issuecomment-130694572","issue_url":"https://api.github.com/repos/spark/firmware/issues/516","id":130694572,"user":{"login":"m-mcgowan","id":2465470,"avatar_url":"https://avatars.githubusercontent.com/u/2465470?v=3","gravatar_id":"","url":"https://api.github.com/users/m-mcgowan","html_url":"https://github.com/m-mcgowan","followers_url":"https://api.github.com/users/m-mcgowan/followers","following_url":"https://api.github.com/users/m-mcgowan/following{/other_user}","gists_url":"https://api.github.com/users/m-mcgowan/gists{/gist_id}","starred_url":"https://api.github.com/users/m-mcgowan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-mcgowan/subscriptions","organizations_url":"https://api.github.com/users/m-mcgowan/orgs","repos_url":"https://api.github.com/users/m-mcgowan/repos","events_url":"https://api.github.com/users/m-mcgowan/events{/privacy}","received_events_url":"https://api.github.com/users/m-mcgowan/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T14:25:00Z","updated_at":"2015-08-13T14:25:00Z","body":"We are waiting for WICED to give us a permissive license for SDK 3.3.1 which may resolve the WICED issues, since Broadcom are updating the LwIP stack, so this problem may simply disappear soon. Much appreciated if everyone can keep their test setups so we can retest later. I've added some cases to our test suite. "}}