# Getting an error message: ' Unable to open shell, rc:255'

**URL:** <https://forum.ansible.com/t/getting-an-error-message-unable-to-open-shell-rc-255/24726>\
**Category:** Ansible Project\
**Created:** [June 14, 2017, 2:36pm UTC](https://forum.ansible.com/t/getting-an-error-message-unable-to-open-shell-rc-255/24726 "2017-06-14T14:36:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harsheen\_Khandpur](https://avatars.discourse-cdn.com/v4/letter/h/e9a140/32.png) [@Harsheen\_Khandpur](https://forum.ansible.com/u/Harsheen_Khandpur)\
**Post date:** [June 14, 2017, 2:36pm UTC](https://forum.ansible.com/t/getting-an-error-message-unable-to-open-shell-rc-255/24726/1 "2017-06-14T14:36:07Z")

</div>

Hi ,  
I am getting this error message and the logs are not showing anything different. I have used the ping and shell module separately to test the connection and it works. Please suggest a solution.
