# Connection Refused Stack Traceback

**URL:** <https://forum.sierrawireless.com/t/connection-refused-stack-traceback/18689>\
**Category:** ALEOS Application Framework\
**Created:** [December 13, 2019, 4:24pm UTC](https://forum.sierrawireless.com/t/connection-refused-stack-traceback/18689 "2019-12-13T16:24:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaun](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@shaun](https://forum.sierrawireless.com/u/shaun)\
**Post date:** [December 13, 2019, 4:24pm UTC](https://forum.sierrawireless.com/t/connection-refused-stack-traceback/18689/1 "2019-12-13T16:24:16Z")

</div>

This is a long shot but here it goes. I have an RV50x that i am trying to install a .lua script to. I have made the connection in Remote System Explorer and can connect to the device. When I attempt to run the script on the device it throws an error. I have searched the forums and found a similar thread saying to restart the device. I followed those instructions but still getting this error:

In thread: 0x10190f8: /root/aleos/usr/readyagent/lua/racon/common.lua:86: connection refused stack traceback:  
[C]: in function ‘assert’  
/root/aleos/usr/readyagent/lua/racon/common.lua:86: in function ‘init’  
/root/aleos/usr/readyagent/lua/racon/devicetree.lua:281: in function ‘init’  
main.lua:120: in function main.lua:91

Any help will be very appreciated.

Thanks

---

<div class="post-metadata">

**Author:** ![Vianney](https://avatars.discourse-cdn.com/v4/letter/v/71e660/32.png) [@Vianney](https://forum.sierrawireless.com/u/Vianney)\
**Post date:** [December 16, 2019, 8:24am UTC](https://forum.sierrawireless.com/t/connection-refused-stack-traceback/18689/2 "2019-12-16T08:24:19Z")

</div>

Hi,  
If possible, please provide your configuration template of your RV50x and your script.

---

<div class="post-metadata">

**Author:** ![shaun](https://avatars.discourse-cdn.com/v4/letter/s/f07891/32.png) [@shaun](https://forum.sierrawireless.com/u/shaun)\
**Post date:** [December 16, 2019, 2:26pm UTC](https://forum.sierrawireless.com/t/connection-refused-stack-traceback/18689/3 "2019-12-16T14:26:52Z")

</div>

I figured out what was wrong. I overlooked a setting in the RV50x to enable ALEOS Application Framework. Once that was enabled, everything worked fine.
