# RV50 Lua SSL/HTTPS issues

**URL:** <https://forum.sierrawireless.com/t/rv50-lua-ssl-https-issues/9624>\
**Category:** AirLink routers\
**Created:** [November 16, 2017, 5:48pm UTC](https://forum.sierrawireless.com/t/rv50-lua-ssl-https-issues/9624 "2017-11-16T17:48:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdamHaun](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@AdamHaun](https://forum.sierrawireless.com/u/AdamHaun)\
**Post date:** [November 16, 2017, 5:48pm UTC](https://forum.sierrawireless.com/t/rv50-lua-ssl-https-issues/9624/1 "2017-11-16T17:48:39Z")

</div>

I’m having problems writing a Lua script to do HTTPS on my Airlink RV50. Some sites (like Google) seem to work, but others (like [httpbin.org](http://httpbin.org)) fail during the SSL handshake, giving an error message like:

/root/aleos/usr/readyagent/lua/ssl/https.lua:92: tlsv1 alert internal error

This happens even if I set up the connection manually using the socket library. What can I do to debug this? The LuaSec version seems to be 0.6alpha – is there a way to update to a newer version? Is it possible to get root access on the gateway?

Thanks,  
-Adam Haun
