# Https webhook and websocket?

**URL:** <https://community.hivemq.com/t/https-webhook-and-websocket/1104>\
**Category:** Uncategorized\
**Created:** [March 25, 2022, 4:17pm UTC](https://community.hivemq.com/t/https-webhook-and-websocket/1104 "2022-03-25T16:17:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocksetta](https://avatars.discourse-cdn.com/v4/letter/r/47e85d/32.png) [@rocksetta](https://community.hivemq.com/u/rocksetta)\
**Post date:** [March 25, 2022, 4:17pm UTC](https://community.hivemq.com/t/https-webhook-and-websocket/1104/1 "2022-03-25T16:17:38Z")

</div>

Second newbe comer question:

I teach a robotics course and wish for multiple ways to connect devices. HiveMQ does static webpage websockets really well, checkout my version [here](https://hpssjellis.github.io/my-examples-of-iot-platforms/public/hive05.html).

I assume an MQTT arduino connection will be easy (I have better test that soon), but my concern is I can’t seem to get a HTTPS connection working.

My example https static website is [here](https://hpssjellis.github.io/my-examples-of-iot-platforms/public/ubidots05.html). Many small Wifi devices can’t do complex websockets but could do a simple https request.

Is this not doable on hiveMQ, or is it something I could get going with a bit of effort.

---

<div class="post-metadata">

**Author:** ![edwin](https://avatars.discourse-cdn.com/v4/letter/e/73ab20/32.png) [@edwin](https://community.hivemq.com/u/edwin)\
**Post date:** [March 28, 2022, 6:03pm UTC](https://community.hivemq.com/t/https-webhook-and-websocket/1104/2 "2022-03-28T18:03:30Z")

</div>

Hello @rocksetta!

Thanks for the sharing the examples, they look great! By default HiveMQ uses an MQTT connection over TC/IP with support for websockets as you have displayed in your examples. Out of the box HiveMQ does not offer a way to create MQTT connections via HTTPS requests but this is something that could be done with some customizations/effort on your end.

Best Regards,  
Edwin

---

<div class="post-metadata">

**Author:** ![michael\_w](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.hivemq.com/michael_w/32/200_2.png) [@michael\_w](https://community.hivemq.com/u/michael_w)\
**Post date:** [March 29, 2022, 8:21am UTC](https://community.hivemq.com/t/https-webhook-and-websocket/1104/3 "2022-03-29T08:21:15Z")

</div>

Hi @rocksetta,

chiming in here, not sure if I oversee something but isn’t this what you are looking for: [Listeners :: HiveMQ Documentation](https://www.hivemq.com/docs/hivemq/latest/user-guide/listeners.html#wss-listener).

Out of curiosity against what kind of HiveMQ broker do you test against? The public broker [broker.hivemq.com](http://broker.hivemq.com) (has no secure listener), HiveMQ cloud (has secure listener) or your own setup?

Greetings,  
Michael
