cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1662
Views
0
Helpful
4
Replies

Operation timed out after 5000 milliseconds

techies23
Level 1
Level 1

Hi Team,

I am working on an integration using webex API using PHP - However, I am facing a issue where the error says "cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received"

Does this have to do anything with webex servers not responding and the curl request is failing to retrieve them. This works second or third time and happens frequently when trying to fetch recordings or anything related to API.

Please suggest.

1 Accepted Solution

Hard to say exactly what would have caused it but given you said you increased the timeout buffer and it is not happening since then, only guess is that this was the cause of it. Depending on circumstances, the API call may take time, possibly longer than 5 seconds (depends how resource intensive it is) so it may be prudent to allow a longer buffer. If you face the issue again, please reach out to us at devsupport@webex.com (it will create a ticket on our side) and we can do some troubleshooting and involve engineering if required.

View solution in original post

4 Replies 4

hazeena farook
Cisco Employee
Cisco Employee

We need additional information like full API request/response and if this is noticed for a specific API call or most of them. As this says Operation timed out, I would advise you to check your network connections too.

Hi there,

I have not been able to reproduce the error again since this is a hit or miss sometimes - However, I did increase the curl timeout so, maybe that might fix the issue for now. I'll keep watch for now.

Here below is the request that is being made for reference if below makes any sense. Response is related with POST::https://developer.webex.com/docs/api/v1/meetings/create-a-meeting endpoint.

 

array (
'headers' =>
Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
'data' =>
array (
'date' => 'Wed, 24 Aug 2022 09:06:54 GMT',
'content-type' => 'application/json',
'cache-control' => 'no-cache, no-store, max-age=0, must-revalidate',
'via' => '1.1 linkerd',
'pragma' => 'no-cache',
'expires' => '0',
'trackingid' =>
array (
0 => 'ROUTER_6305EA26-E67C-01BB-0379-0AFDC5570379',
1 => 'ROUTER_6305EA26-E67C-01BB-0379-0AFDC5570379',
),
'content-encoding' => 'gzip',
'request_site_url' => 'mrs-lhr03-ams01.webex.com:443',
'x-frame-options' => 'DENY',
'server' => 'Redacted',
'x-content-type-options' =>
array (
0 => 'nosniff',
1 => 'nosniff',
),
'set-cookie' => 'trackingSessionID=4032B370E3064329893929F704882001; Path=/; Secure; HttpOnly',
'vary' => 'origin,access-control-request-method,access-control-request-headers,accept-encoding',
'x-xss-protection' => '1; mode=block',
'strict-transport-security' => 'max-age=63072000; includeSubDomains; preload',
),
)),
'body' => '{"id":"REDACTED::CONFIDENTIAL_DATA","meetingNumber":"REDACTED::CONFIDENTIAL_DATA","title":"Testing","password":"256VW","phoneAndVideoSystemPassword":"25689","meetingType":"meetingSeries","state":"active","timezone":"Pacific/Midway","start":"2022-08-24T14:43:00-11:00","end":"2022-08-24T15:23:00-11:00","hostUserId":"REDACTED::CONFIDENTIAL_DATA","hostDisplayName":"REDACTED::CONFIDENTIAL_DATA","hostEmail":"REDACTED::CONFIDENTIAL_DATA","hostKey":"REDACTED::CONFIDENTIAL_DATA","siteUrl":"REDACTED::CONFIDENTIAL_DATA","webLink":"REDACTED::CONFIDENTIAL_DATA","sipAddress":"REDACTED::CONFIDENTIAL_DATA","dialInIpAddress":"REDACTED::CONFIDENTIAL_DATA","enabledAutoRecordMeeting":false,"allowAuthenticatedDevices":false,"enabledJoinBeforeHost":false,"joinBeforeHostMinutes":0,"enableConnectAudioBeforeHost":false,"excludePassword":false,"publicMeeting":false,"enableAutomaticLock":false,"unlockedMeetingJoinSecurity":"allowJoinWithLobby","meetingOptions":{"enabledChat":true,"enabledVideo":true,"enabledPolling":false,"enabledNote":true,"noteType":"allowAll","enabledClosedCaptions":false,"enabledFileTransfer":false,"enabledUCFRichMedia":false},"sessionTypeId":628,"scheduledType":"meeting","simultaneousInterpretation":{"enabled":false},"enabledBreakoutSessions":false}',
'response' =>
array (
'code' => 200,
'message' => 'OK',
),
'cookies' =>
array (
0 =>
WP_Http_Cookie::__set_state(array(
'name' => 'trackingSessionID',
'value' => '4032B370E3064329893929F704882001',
'expires' => NULL,
'path' => '/',
'domain' => 'webexapis.com',
'port' => NULL,
'host_only' => true,
)),
),
'filename' => NULL,
'http_response' =>
WP_HTTP_Requests_Response::__set_state(array(
'response' =>
Requests_Response::__set_state(array(
'body' => '{"id":"REDACTED::CONFIDENTIAL_DATA","meetingNumber":"REDACTED::CONFIDENTIAL_DATA","title":"Testing","password":"256VW","phoneAndVideoSystemPassword":"25689","meetingType":"meetingSeries","state":"active","timezone":"Pacific/Midway","start":"2022-08-24T14:43:00-11:00","end":"2022-08-24T15:23:00-11:00","hostUserId":"REDACTED::CONFIDENTIAL_DATA","hostDisplayName":"REDACTED::CONFIDENTIAL_DATA","hostEmail":"REDACTED::CONFIDENTIAL_DATA","hostKey":"REDACTED::CONFIDENTIAL_DATA","siteUrl":"REDACTED::CONFIDENTIAL_DATA","webLink":"REDACTED::CONFIDENTIAL_DATA","sipAddress":"REDACTED::CONFIDENTIAL_DATA","dialInIpAddress":"REDACTED::CONFIDENTIAL_DATA","enabledAutoRecordMeeting":false,"allowAuthenticatedDevices":false,"enabledJoinBeforeHost":false,"joinBeforeHostMinutes":0,"enableConnectAudioBeforeHost":false,"excludePassword":false,"publicMeeting":false,"enableAutomaticLock":false,"unlockedMeetingJoinSecurity":"allowJoinWithLobby","meetingOptions":{"enabledChat":true,"enabledVideo":true,"enabledPolling":false,"enabledNote":true,"noteType":"allowAll","enabledClosedCaptions":false,"enabledFileTransfer":false,"enabledUCFRichMedia":false},"sessionTypeId":628,"scheduledType":"meeting","simultaneousInterpretation":{"enabled":false},"enabledBreakoutSessions":false}',
'raw' => 'HTTP/1.1 200 OK
Date: Wed, 24 Aug 2022 09:06:54 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: close
cache-control: no-cache, no-store, max-age=0, must-revalidate
via: 1.1 linkerd
pragma: no-cache
expires: 0
trackingid: ROUTER_6305EA26-E67C-01BB-0379-0AFDC5570379
trackingid: ROUTER_6305EA26-E67C-01BB-0379-0AFDC5570379
content-encoding: gzip
request_site_url: mrs-lhr03-ams01.webex.com:443
x-frame-options: DENY
server: Redacted
x-content-type-options: nosniff
x-content-type-options: nosniff
set-cookie: trackingSessionID=4032B370E3064329893929F704882001; Path=/; Secure; HttpOnly
vary: origin,access-control-request-method,access-control-request-headers,accept-encoding
x-xss-protection: 1; mode=block
strict-transport-security: max-age=63072000; includeSubDomains; preload

{"id":"REDACTED::CONFIDENTIAL_DATA","meetingNumber":"REDACTED::CONFIDENTIAL_DATA","title":"Testing","password":"256VW","phoneAndVideoSystemPassword":"25689","meetingType":"meetingSeries","state":"active","timezone":"Pacific/Midway","start":"2022-08-24T14:43:00-11:00","end":"2022-08-24T15:23:00-11:00","hostUserId":"REDACTED::CONFIDENTIAL_DATA","hostDisplayName":"REDACTED::CONFIDENTIAL_DATA","hostEmail":"REDACTED::CONFIDENTIAL_DATA","hostKey":"REDACTED::CONFIDENTIAL_DATA","siteUrl":"REDACTED::CONFIDENTIAL_DATA","webLink":"REDACTED::CONFIDENTIAL_DATA","sipAddress":"REDACTED::CONFIDENTIAL_DATA","dialInIpAddress":"REDACTED::CONFIDENTIAL_DATA","enabledAutoRecordMeeting":false,"allowAuthenticatedDevices":false,"enabledJoinBeforeHost":false,"joinBeforeHostMinutes":0,"enableConnectAudioBeforeHost":false,"excludePassword":false,"publicMeeting":false,"enableAutomaticLock":false,"unlockedMeetingJoinSecurity":"allowJoinWithLobby","meetingOptions":{"enabledChat":true,"enabledVideo":true,"enabledPolling":false,"enabledNote":true,"noteType":"allowAll","enabledClosedCaptions":false,"enabledFileTransfer":false,"enabledUCFRichMedia":false},"sessionTypeId":628,"scheduledType":"meeting","simultaneousInterpretation":{"enabled":false},"enabledBreakoutSessions":false}',
'headers' =>
Requests_Response_Headers::__set_state(array(
'data' =>
array (
'date' =>
array (
0 => 'Wed, 24 Aug 2022 09:06:54 GMT',
),
'content-type' =>
array (
0 => 'application/json',
),
'cache-control' =>
array (
0 => 'no-cache, no-store, max-age=0, must-revalidate',
),
'via' =>
array (
0 => '1.1 linkerd',
),
'pragma' =>
array (
0 => 'no-cache',
),
'expires' =>
array (
0 => '0',
),
'trackingid' =>
array (
0 => 'ROUTER_6305EA26-E67C-01BB-0379-0AFDC5570379',
1 => 'ROUTER_6305EA26-E67C-01BB-0379-0AFDC5570379',
),
'content-encoding' =>
array (
0 => 'gzip',
),
'request_site_url' =>
array (
0 => 'mrs-lhr03-ams01.webex.com:443',
),
'x-frame-options' =>
array (
0 => 'DENY',
),
'server' =>
array (
0 => 'Redacted',
),
'x-content-type-options' =>
array (
0 => 'nosniff',
1 => 'nosniff',
),
'set-cookie' =>
array (
0 => 'trackingSessionID=4032B370E3064329893929F704882001; Path=/; Secure; HttpOnly',
),
'vary' =>
array (
0 => 'origin,access-control-request-method,access-control-request-headers,accept-encoding',
),
'x-xss-protection' =>
array (
0 => '1; mode=block',
),
'strict-transport-security' =>
array (
0 => 'max-age=63072000; includeSubDomains; preload',
),
),
)),
'status_code' => 200,
'protocol_version' => 1.1000000000000001,
'success' => true,
'redirects' => 0,
'url' => 'REDACTED_URI',
'history' =>
array (
),
'cookies' =>
Requests_Cookie_Jar::__set_state(array(
'cookies' =>
array (
'trackingSessionID' =>
Requests_Cookie::__set_state(array(
'name' => 'trackingSessionID',
'value' => '4032B370E3064329893929F704882001',
'attributes' =>
Requests_Utility_CaseInsensitiveDictionary::__set_state(array(
'data' =>
array (
'path' => '/',
'secure' => true,
'httponly' => true,
'domain' => 'webexapis.com',
),
)),
'flags' =>
array (
'creation' => 1661332014,
'last-access' => 1661332014,
'persistent' => false,
'host-only' => true,
),
'reference_time' => 1661332014,
)),
),
)),
)),
'filename' => NULL,
'data' => NULL,
'headers' => NULL,
'status' => NULL,
)),
)

 

 

Hard to say exactly what would have caused it but given you said you increased the timeout buffer and it is not happening since then, only guess is that this was the cause of it. Depending on circumstances, the API call may take time, possibly longer than 5 seconds (depends how resource intensive it is) so it may be prudent to allow a longer buffer. If you face the issue again, please reach out to us at devsupport@webex.com (it will create a ticket on our side) and we can do some troubleshooting and involve engineering if required.

Yes, it seems the buffer is needed in current case however, all I am calling the meetings API only at the moment. So, not sure. If this persists then i'll open up a new ticket on devsupport@webex.com

Thanks