{"action":"created","issue":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/336","labels_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/336/comments","events_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/336/events","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/336","id":66491870,"number":336,"title":"Seems like not transter 10KB/s over ssl","user":{"login":"AndrewTurkin","id":1492531,"avatar_url":"https://avatars.githubusercontent.com/u/1492531?v=3","gravatar_id":"","url":"https://api.github.com/users/AndrewTurkin","html_url":"https://github.com/AndrewTurkin","followers_url":"https://api.github.com/users/AndrewTurkin/followers","following_url":"https://api.github.com/users/AndrewTurkin/following{/other_user}","gists_url":"https://api.github.com/users/AndrewTurkin/gists{/gist_id}","starred_url":"https://api.github.com/users/AndrewTurkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndrewTurkin/subscriptions","organizations_url":"https://api.github.com/users/AndrewTurkin/orgs","repos_url":"https://api.github.com/users/AndrewTurkin/repos","events_url":"https://api.github.com/users/AndrewTurkin/events{/privacy}","received_events_url":"https://api.github.com/users/AndrewTurkin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-04-05T23:02:05Z","updated_at":"2015-04-13T15:39:28Z","closed_at":null,"body":"I was trying to transmit 10KB/s data over ssl and found that server ended up with :SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac or just shutting down.\r\n\r\n```lua\r\n-- wifi config start\r\nwifi.sta.config(\"Bla bla net\",\"\")\r\n-- wifi config end\r\n\r\nsk = nil\r\n\r\nuart.setup(0,115200,8,0,1)\r\n\r\nuart.on(\"data\", \"\\n\", function(data)\r\n\t\t\r\n\t\tif sk ~= nil then \r\n\t\t\tsk:send(data)\t\r\n\t\t\tprint(data)\r\n\t\telse \r\n\t\t\tprint(wifi.sta.getip())\r\n\t\t\tsk=net.createConnection(net.TCP, 1)\r\n\t\t\tsk:on(\"receive\", function(sck, c) print(c) end )\r\n\t\t\tsk:connect(1026,\"104.131.2.20\")\r\n\t\tend\r\nend, 0)\r\n```\r\n\r\nHave you tested transfer from uart over wi-fi with encryption on such speed?"},"comment":{"url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/comments/92405807","html_url":"https://github.com/nodemcu/nodemcu-firmware/issues/336#issuecomment-92405807","issue_url":"https://api.github.com/repos/nodemcu/nodemcu-firmware/issues/336","id":92405807,"user":{"login":"abl","id":167740,"avatar_url":"https://avatars.githubusercontent.com/u/167740?v=3","gravatar_id":"","url":"https://api.github.com/users/abl","html_url":"https://github.com/abl","followers_url":"https://api.github.com/users/abl/followers","following_url":"https://api.github.com/users/abl/following{/other_user}","gists_url":"https://api.github.com/users/abl/gists{/gist_id}","starred_url":"https://api.github.com/users/abl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abl/subscriptions","organizations_url":"https://api.github.com/users/abl/orgs","repos_url":"https://api.github.com/users/abl/repos","events_url":"https://api.github.com/users/abl/events{/privacy}","received_events_url":"https://api.github.com/users/abl/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T15:39:28Z","updated_at":"2015-04-13T15:39:28Z","body":"Oh, to be clear, I've never gotten Lua to speak SSL, but I haven't put as much effort in to it as I have other projects."}}