# Webhook retried due to SocketTimeoutException

**URL:** <https://devforum.zoom.us/t/webhook-retried-due-to-sockettimeoutexception/60205>\
**Category:** API and Webhooks\
**Created:** [November 13, 2021, 12:50am UTC](https://devforum.zoom.us/t/webhook-retried-due-to-sockettimeoutexception/60205 "2021-11-13T00:50:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JagLoop99](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@JagLoop99](https://devforum.zoom.us/u/JagLoop99)\
**Post date:** [November 13, 2021, 12:50am UTC](https://devforum.zoom.us/t/webhook-retried-due-to-sockettimeoutexception/60205/1 "2021-11-13T00:50:16Z")

</div>

**Description**

We are trying to obtain the status of when a user enters/leaves a meeting. We use webhooks to achieve this. Often we see webhooks not fire at all, or are retried later with the message ’ SocketTimeoutException’ as shown below, much later like 10minutes or 1 hour later. We need near realt-time.

1. Is this error on your side or ours? We do not see any logs related to this on our side.

2. If we miss a participant leave/join, what backstop can we use? We tried **past\_meetings/{}/participants** endpoint but it doesn’t show while the meeting is ongoing. We could poll this every minute.

3. We also tried to retrieve the status of the meeting using **/past\_meetings/{meetingId}/instances** but only once the meeting ends, and not for instant meetings. We could poll this every minute

Can you let us know what we can do in these scenarios?

**Error**  
java.net.SocketTimeoutException:3,000 milliseconds timeout on connection http-outgoing-2122059 [ACTIVE]

```
"headers": {
    "CloudFront-Forwarded-Proto": "https",
    "CloudFront-Is-Desktop-Viewer": "true",
    "CloudFront-Is-Mobile-Viewer": "false",
    "CloudFront-Is-SmartTV-Viewer": "false",
    "CloudFront-Is-Tablet-Viewer": "false",
    "CloudFront-Viewer-Country": "US",
    "Content-Type": "application/json; charset=utf-8",
    "Host": "api-internal.getpulse.team",
    "User-Agent": "Zoom Marketplace/1.0a",
    "X-Forwarded-Port": "443",
    "X-Forwarded-Proto": "https",
    "x-zm-trackingid": "v=2.0;clid=aw1;rid=EventService_742dd420eea845019ae40bc735638151",
    "X-Zoom-Retry-Num": "1",
    "X-Zoom-Retry-Reason": "java.net.SocketTimeoutException:3,000 milliseconds timeout on connection http-outgoing-2122059 [ACTIVE]"
},
    "requestTime": "12/Nov/2021:18:51:47 +0000",

```

“event\_ts”:1636742803362,

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Oauth App

**Which Endpoint/s?**  
Webhook: meeting.participant\_joined

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [November 15, 2021, 8:46pm UTC](https://devforum.zoom.us/t/webhook-retried-due-to-sockettimeoutexception/60205/2 "2021-11-15T20:46:15Z")

</div>

Hey @JagLoop99,

Thank you for reaching out to the Zoom Developer Forum. It sounds like your server may be blocking the Webhook from being delivered to your endpoint which is causing our [retry logic](https://marketplace.zoom.us/docs/api-reference/webhook-reference#notification-delivery) to attempt to deliver the webhook at a later time.

It’s possible this is caused by a firewall or another network configuration which is why you aren’t seeing logs for this in your app. Please make sure that your endpoint is publicly accessible and let me know if that helps to resolve the issue.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![JagLoop99](https://avatars.discourse-cdn.com/v4/letter/j/51bf81/32.png) [@JagLoop99](https://devforum.zoom.us/u/JagLoop99)\
**Post date:** [December 6, 2021, 7:24pm UTC](https://devforum.zoom.us/t/webhook-retried-due-to-sockettimeoutexception/60205/3 "2021-12-06T19:24:19Z")

</div>

Hi Max,

I checked and our API endpoint is on AWS Cloudfront edge distribution. We have no logs for the initial attempts, which seems to indicate that Zoom’s webhook servers are not reaching a globally distributed AWS endpoint.

Our use case is real-time - so we cannot miss the original webhook as a retry occurring 5 minutes later is too late for our use case.

Is there any further things we can do to debug?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [December 11, 2021, 8:48pm UTC](https://devforum.zoom.us/t/webhook-retried-due-to-sockettimeoutexception/60205/4 "2021-12-11T20:48:45Z")

</div>

Greetings, @JagLoop99 ,

Happy to offer a suggestion here! To test whether WebHook events are being sent, you can use a tool like [RequestBin](https://www.requestbin.com/). You can generate an endpoint and trigger the Webhook event, then check the Request Bin logs to confirm that the request arrived :

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/7/97d7d2946bd8991c465e9fb493f6539412f67ce2.jpeg)

If the WebHook was received successfully by RequestBin, then you can rule out that whether Webhooks events are being sent or not.

**We also recommend you consider:**

- Review any port/channel filters you have applied
- Make sure the URL you have configured is publicly available

Here’s a helpful developer forum for you may find helpful:

> [@Webhooks are not working](https://devforum.zoom.us/t/webhooks-are-not-working/55988/2):
>
> Hey @aseem, Thank you for reaching out to the Zoom Developer Forum. Please try testing with something like [Request Bin](https://requestbin.com/) to confirm if the issue is with the endpoint or Zoom itself. You’ll also want to make sure that your endpoint is publicly accessible and HTTPS secured. Further, make sure that it returns a 200 OK status on receipt of an event. Let me know if that helps. Thanks, Max

Let me know if this helps.

Best,  
Donte

---

<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:** [January 11, 2022, 6:48am UTC](https://devforum.zoom.us/t/webhook-retried-due-to-sockettimeoutexception/60205/5 "2022-01-11T06:48:47Z")

</div>

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