{"action":"created","issue":{"url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/2","repository_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets","labels_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/2/comments","events_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/2/events","html_url":"https://github.com/odelot/aws-mqtt-websockets/issues/2","id":143477138,"number":2,"title":"MQTT fails on long messages","user":{"login":"svdgraaf","id":19777,"avatar_url":"https://avatars.githubusercontent.com/u/19777?v=3","gravatar_id":"","url":"https://api.github.com/users/svdgraaf","html_url":"https://github.com/svdgraaf","followers_url":"https://api.github.com/users/svdgraaf/followers","following_url":"https://api.github.com/users/svdgraaf/following{/other_user}","gists_url":"https://api.github.com/users/svdgraaf/gists{/gist_id}","starred_url":"https://api.github.com/users/svdgraaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svdgraaf/subscriptions","organizations_url":"https://api.github.com/users/svdgraaf/orgs","repos_url":"https://api.github.com/users/svdgraaf/repos","events_url":"https://api.github.com/users/svdgraaf/events{/privacy}","received_events_url":"https://api.github.com/users/svdgraaf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-03-25T10:58:21Z","updated_at":"2016-04-08T15:50:54Z","closed_at":"2016-03-28T11:56:17Z","body":"I think I've found an issue. When I publish a message with a quote it in `\"`, the message is never received on the iot end. When I publish a message without json, it does work:\r\n\r\nThe topic I subscribed to is `$aws/things/xyz/shadow/update`.\r\n\r\nWith regular text:\r\n```\r\nconnecting to wifi\r\nConnected\r\nsocket connected\r\nMQTT connecting\r\nMQTT connected\r\nMQTT subscribed\r\nMessage 1 arrived: qos 1, retained 0, dup 0, packetid 2\r\nPayload \r\nMessage 2 arrived: qos 1, retained 0, dup 0, packetid 4\r\nPayload foobar\r\nMessage 3 arrived: qos 1, retained 0, dup 0, packetid 5\r\nPayload {}\r\nMessage 4 arrived: qos 1, retained 0, dup 0, packetid 6\r\nPayload foo\r\n```\r\n\r\nWith quotes:\r\n```\r\nconnecting to wifi\r\nConnected\r\nsocket connected\r\nMQTT connecting\r\nMQTT connected\r\nMQTT subscribed\r\n```\r\n\r\nNo response ;)"},"comment":{"url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/comments/207489759","html_url":"https://github.com/odelot/aws-mqtt-websockets/issues/2#issuecomment-207489759","issue_url":"https://api.github.com/repos/odelot/aws-mqtt-websockets/issues/2","id":207489759,"user":{"login":"odelot","id":5109774,"avatar_url":"https://avatars.githubusercontent.com/u/5109774?v=3","gravatar_id":"","url":"https://api.github.com/users/odelot","html_url":"https://github.com/odelot","followers_url":"https://api.github.com/users/odelot/followers","following_url":"https://api.github.com/users/odelot/following{/other_user}","gists_url":"https://api.github.com/users/odelot/gists{/gist_id}","starred_url":"https://api.github.com/users/odelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odelot/subscriptions","organizations_url":"https://api.github.com/users/odelot/orgs","repos_url":"https://api.github.com/users/odelot/repos","events_url":"https://api.github.com/users/odelot/events{/privacy}","received_events_url":"https://api.github.com/users/odelot/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T15:50:54Z","updated_at":"2016-04-08T15:50:54Z","body":"I'm still investigating before close issue https://github.com/odelot/aws-mqtt-websockets/issues/5\r\n\r\n`tcp_abort(_pcb) ` improved, but I am still losing memory. I am looking at the moment in the `getCurrentTime ` function. Maybe it is a good idea to reuse the `WifiClient `object. It seems that we lose some memory there. The problem is find free time to work on this :-( I will keep you informed about my findings"}}