# How to work with Websockets in Ignition Designer

**URL:** <https://forum.inductiveautomation.com/t/how-to-work-with-websockets-in-ignition-designer/86809>\
**Category:** Ignition\
**Created:** [March 5, 2024, 6:56am UTC](https://forum.inductiveautomation.com/t/how-to-work-with-websockets-in-ignition-designer/86809 "2024-03-05T06:56:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Srivatsa\_N](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@Srivatsa\_N](https://forum.inductiveautomation.com/u/Srivatsa_N)\
**Post date:** [March 5, 2024, 6:56am UTC](https://forum.inductiveautomation.com/t/how-to-work-with-websockets-in-ignition-designer/86809/1 "2024-03-05T06:56:12Z")

</div>

Hello, I'm attempting to establish a connection to a websocket server using Designer. I'm utilizing Python's library for this purpose.

I've followed the instructions outlined in [https://support.inductiveautomation.com/hc/en-us/articles/360056397252-Python-In-Ignition](https://support.inductiveautomation.com/hc/en-us/articles/360056397252-Python-In-Ignition) to install the websocket library.

However, I'm encountering an error where `pip install` indicates that websockets require Python version \>= 3.4. On the contrary, the documentation mentioned above states that we cannot work with Python version \> 2.5.

Do you have any suggestions or solutions for this issue?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [March 5, 2024, 3:34pm UTC](https://forum.inductiveautomation.com/t/how-to-work-with-websockets-in-ignition-designer/86809/2 "2024-03-05T15:34:48Z")

</div>

Don't attempt to use a Python library.

You're going to have much better results with built in Java libraries. system.net.httpClient offers wrapped access to a java.net.http.HttpClient instance, which has the ability to open websocket connections. There's some prior discussion on this forum, if you search for it.
