CiscoDevNet / FMCAnsible

GNU General Public License v3.0
21 stars 25 forks source link

Override timeout value #53

Open xibriz opened 1 year ago

xibriz commented 1 year ago

It should be possible to override the timeout value of the http requests.

https://github.com/CiscoDevNet/FMCAnsible/blob/421bbae9487824a02fc4cd1cb6315d246b7e6ee4/plugins/httpapi/client.py#L87

I'm trying to create a ftddevicehapair using the createFTDHADeviceContainer operation. It times out after 10 seconds with the error message Server returned an error trying to execute createFTDHADeviceContainer operation. Status code: 500. Server response: The read operation timed out.

The operation takes about 15 seconds against my FMC 7.2 that I use for testing. If I modify the above line i'm able to get a successful response, and the all important task id to monitor the deployment.

Aslo, the Cisco documentation states that this operation could take up to 60 seconds. image

rengarsafari commented 9 months ago

I am also experiencing this same issue!

xibriz commented 9 months ago

We need to get a hold of some Cisco devs here 😄

boomsfib commented 3 months ago

Sounds like we really do need to get a hold of some Cisco devs. Both issues are the same as #18 which was closed stating version 1.0 to be released June 2023 would resolve this issue. Seems that never happened.