cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
453
Views
0
Helpful
6
Replies

Read Timed Out when Calling the Cisco Spark API

FQayyum1
Level 1
Level 1

Hi All:

I am a newbie to use the Cisco Spark API but the issue is when i am testing a simple API it is returning me the Error which is attached in the file.

Can you gurus help me out here.

Thanks.

1 Accepted Solution

Accepted Solutions

dtibbe
VIP
VIP

I think you're using a very old wrapper..

The Webex Rest API is available at webexapis.com, see https://developer.webex.com/ and the dedicated developer forum at https://community.cisco.com/t5/webex-for-developers/bd-p/disc-webex-developers

The deprecation of the old endpoint was 3 year ago: https://developer.webex.com/blog/introducing-the-new-webexapis-com

View solution in original post

6 Replies 6

dtibbe
VIP
VIP

I think you're using a very old wrapper..

The Webex Rest API is available at webexapis.com, see https://developer.webex.com/ and the dedicated developer forum at https://community.cisco.com/t5/webex-for-developers/bd-p/disc-webex-developers

The deprecation of the old endpoint was 3 year ago: https://developer.webex.com/blog/introducing-the-new-webexapis-com

Hi @dtibbe Thanks for your reply.

So if i need to use the New Rest API it would require the entire revamping of my application. But interesting thing is i can have the required response via curl.

You are correct, but I don't believe this is the cause for the issue at hand. The old api.ciscospark.com still resolves to the same addresses as webexapis.com. He should still be getting the same error(connection timeout) if he attempts doing the same calls against the new URL.

EDIT: I was a bit too quick reading the error message, I thought it was a connection-timeout and not a read-timeout.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Thankyou So Much @dtibbe just changing the End Point resolved my error.
Bundle of Thanks.

Torbjørn
Spotlight
Spotlight

It seems that you are unable to reach api.ciscospark.com port 443 for some reason. Can you verify that you are able establish a TCP session with the API from the machine you are running your script from? You can either do this with telnet(telnet api.ciscospark.com 443) or by running the following in powershell: test-netconnection -p 443 api.ciscospark.com

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Hi @Torbjørn Thanks for your reply. Telnet is successful and the Endpoint is reachable via curl too. The only issue is I am facing through my Application. It was running fine until 21st Nov. 2023 but what i am suspecting that maybe it is due to SSL handshake but not sure for "Read Timed Out".
Looking to resolve it.