# Can't connect to webhook sockets

**URL:** <https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088>\
**Category:** API and Webhooks\
**Created:** [July 4, 2024, 4:18pm UTC](https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088 "2024-07-04T16:18:13Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![memx86](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/memx86/32/44493_2.png) [@memx86](https://devforum.zoom.us/u/memx86)\
**Post date:** [July 4, 2024, 4:18pm UTC](https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088/1 "2024-07-04T16:18:13Z")

</div>

**Description**  
Trying to test connection to webhook sockets and all is working via Postman as in example in documentaion. When I implemented this logic in node.js enviroment utilizing ‘socket.io-client’ I don’t get any events, not even ‘connect’ one so I guess connection is not establishing.

**Error?**  
No events via websockets.

**How To Reproduce**  
_Steps to reproduce the behavior:_  
\*1. Get access\_token from “[https://zoom.us/oauth/token?grant\_type=account\_credentials&account\_id=accounId](https://zoom.us/oauth/token?grant_type=account_credentials&account_id=accounId)”  
\*2. Connect to websocket “wss://ws.zoom.us/ws?subscriptionId=subscriptionId&access\_token=access\_token”  
\*3. No events.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 12, 2024, 12:52pm UTC](https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088/2 "2024-07-12T12:52:40Z")

</div>

Hi @memx86  
Thanks for reaching out to us!  
Have you been able to receive events in your application?

---

<div class="post-metadata">

**Author:** ![memx86](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/memx86/32/44493_2.png) [@memx86](https://devforum.zoom.us/u/memx86)\
**Post date:** [July 13, 2024, 12:49pm UTC](https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088/3 "2024-07-13T12:49:08Z")

</div>

No such luck yet. My socket’s ready state is ‘opening’ and no events, even ‘connect’

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [July 15, 2024, 2:14pm UTC](https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088/4 "2024-07-15T14:14:46Z")

</div>

Thanks for the update @memx86  
Here is a sample app using Websockets that might help you troubleshoot this on your end

> **[GitHub - zoom/websocket-redis-example: This is a sample application that logs...](https://github.com/zoom/websocket-redis-example)**
>
> This is a sample application that logs events received through websockets in redis database - zoom/websocket-redis-example

---

<div class="post-metadata">

**Author:** ![memx86](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/memx86/32/44493_2.png) [@memx86](https://devforum.zoom.us/u/memx86)\
**Post date:** [July 15, 2024, 2:22pm UTC](https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088/5 "2024-07-15T14:22:11Z")

</div>

Than you. Gonna try it and report my results.

---

<div class="post-metadata">

**Author:** ![memx86](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/memx86/32/44493_2.png) [@memx86](https://devforum.zoom.us/u/memx86)\
**Post date:** [July 15, 2024, 8:19pm UTC](https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088/6 "2024-07-15T20:19:07Z")

</div>

Everything appears to be in order with provided example.  
So I guess problem was in using “socket.io-client” package. Gonna try to use just ‘ws’

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [July 16, 2024, 8:19pm UTC](https://devforum.zoom.us/t/cant-connect-to-webhook-sockets/113088/7 "2024-07-16T20:19:56Z")

</div>

Closed on July 16, 2024, 8:19pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
