# Unable to connect to the device: websocket: bad handshake

**URL:** <https://hub.mender.io/t/unable-to-connect-to-the-device-websocket-bad-handshake/5868>\
**Category:** General Discussions\
**Tags:** port-forwarding\
**Created:** [May 29, 2023, 10:52am UTC](https://hub.mender.io/t/unable-to-connect-to-the-device-websocket-bad-handshake/5868 "2023-05-29T10:52:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![johan](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@johan](https://hub.mender.io/u/johan)\
**Post date:** [June 5, 2023, 6:50am UTC](https://hub.mender.io/t/unable-to-connect-to-the-device-websocket-bad-handshake/5868/2 "2023-06-05T06:50:34Z")

</div>

Could it be the same as  
this: [Mender-connect sometimes fails](https://hub.mender.io/t/mender-connect-sometimes-fails/3399)

---

_[View the full topic](https://hub.mender.io/t/unable-to-connect-to-the-device-websocket-bad-handshake/5868)._
