cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
481
Views
0
Helpful
2
Replies

Increasing DNA HTTP response timeout (API and GUI)?

DJW487
Level 1
Level 1

Hi there!

I have made a python script to delete old DNA backups through API based on a specified retention period because DNA for some reason does not include this functionality in the GUI...

I have found that the delete operation takes longer than 60 seconds to complete, at which time DNA responds with code 504 Gateway Time-out.

Even when deleting a backup through the GUI it takes 60 seconds then responds with a warning that the operation could not be completed. However the backup does disappear from the list of backups and I can see the remote storage size decreasing.

So, does anyone know how to increase the HTTP request/response timeout for DNA?

 

2 Replies 2

I do not think this is possible to increase the timeout https://bst.cisco.com/bugsearch/bug/CSCvr20484 - i would also post this in this forum too https://community.cisco.com/t5/cisco-digital-network-architecture-dna/bd-p/discussions-dna

Or contact TAC to confirm this.

Hope this helps.

 

 

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

Gabriel Zapodeanu
Cisco Employee
Cisco Employee

Agree with @bigevilbeard The REST APIs have a timeout of 60 seconds. In the case of APIs that may take longer we have the async API implementation. In your case, you are using an internal, unsupported API, that does have this implementation, being UI driven.