05-17-2025 03:53 AM
Recently I started to get error when I try to distribute firmware to my switches
Task Status Failure (NCSW32001: Distribution failed using protocol: HTTPS. Accessing https://172.18.55.55/api/v1/file/temporary/8447249a-e518-4069-80c9-a7f21c94872f... %Error opening https://172.18.55.55/api/v1/file/temporary/8447249a-e518-4069-80c9-a7f21c94872f (I/O error) )
I tried to reinstal certificate and check telnet connection it's always good
telnet 172.18.55.55 443 Trying 172.18.55.55, 443 ... Open ^CHTTP/1.1 400 Bad Request Date: Sat, 17 May 2025 10:44:30 GMT Content-Type: text/html; charset=UTF-8 Content-Length: 0 Connection: close ETag: "67a53540-0" Server: kong/0.14.1 Cache-Control: no-store Pragma: no-cache Content-Security-Policy: default-src 'self' 'unsafe-inline' 'unsafe-eval' blob: data:; frame-ancestors 'self' X-Content-Type-Options: nosniff X-XSS-Protection: 1; mode=block Strict-Transport-Security: max-age=31536000; includeSubDomains X-Frame-Options: SAMEORIGIN
apparently, some kind of problem is that the switch does not always work on the first attempt to connect to DNA to download the firmware over HTTPS, while there are no losses, there is connectivity
01 - FAIL sw-24_3#copy https://172.18.55.55/core/img/cisco-bridge.png flash: Destination filename [cisco-bridge.png]? %Warning:There is a file already existing with this name Do you want to over write? [confirm] Accessing https://172.18.55.55/core/img/cisco-bridge.png... %Error opening https://172.18.55.55/core/img/cisco-bridge.png (I/O error)
02 - FAIL sw-24_3#copy https://172.18.55.55/core/img/cisco-bridge.png flash: Destination filename [cisco-bridge.png]? %Warning:There is a file already existing with this name Do you want to over write? [confirm] Accessing https://172.18.55.55/core/img/cisco-bridge.png... %Error opening https://172.18.55.55/core/img/cisco-bridge.png (I/O error)
03 - SUCCESS sw-24_3#copy https://172.18.55.55/core/img/cisco-bridge.png flash: Destination filename [cisco-bridge.png]? %Warning:There is a file already existing with this name Do you want to over write? [confirm] Accessing https://172.18.55.55/core/img/cisco-bridge.png... Loading https://172.18.55.55/core/img/cisco-bridge.png 4144 bytes copied in 0.116 secs (35724 bytes/sec)
05-17-2025 10:14 AM
It looks like you're encountering intermittent HTTPS download failures from your DNA Center (at IP address 172.18.55.55) to your Cisco switches during firmware distribution. The error message "Error opening https://..." with "(I/O error)" suggests a problem with the data transfer itself, even though basic connectivity (like the telnet
to port 443) seems to be working.
Here's a breakdown of potential causes and troubleshooting steps you can take, keeping in mind the intermittent nature of the issue:
Potential Causes:
Intermittent Network Issues: While basic connectivity might be fine, there could be subtle, transient network problems between the switch and DNA Center that affect larger data transfers over HTTPS. This could include:
DNA Center Issues: Although less likely given the successful third attempt in your example, there could be intermittent issues on the DNA Center side:
Switch Issues: Problems on the switch itself could also be a factor:
HTTPS Negotiation Issues (Less Likely After Certificate Reinstallation): While you reinstalled certificates, there could still be subtle issues with the TLS/SSL handshake or cipher suite negotiation that manifest intermittently.
Troubleshooting Steps:
Further Network Investigation:
ping 172.18.55.55 size 1472 df-bit
) to check for potential MTU issues.DNA Center Health Check:
Switch Resource Monitoring:
show processes cpu sorted
and show memory summary
on the switch during firmware distribution to see if resource utilization is high.HTTPS Specific Checks:
Consider Using a Different Protocol (If Feasible for Initial Troubleshooting):
Increase Switch HTTP Client Timeout (Potentially a Workaround):
ip http client timeout <seconds>
(check the specific IOS version syntax).Software Version Considerations:
Based on your observation that the connection works on the third attempt, it strongly suggests an intermittent issue rather than a persistent configuration problem. Focus your troubleshooting on identifying these transient network or resource-related bottlenecks.
Start by closely monitoring the network path and the resource utilization on both the switch and DNA Center during firmware distribution attempts. The intermittent success indicates that the fundamental connectivity and configuration are likely correct, but something is causing temporary failures in the data transfer process.
packet capturing would be good approach as 1st step
05-17-2025 07:13 PM
Thanks for your troubleshooting guide! I noticed that it started after changing system certificate on my dna center. After replacing my certificate I updated telemetry setting via dna for my devices.
I noticed that problems only with switches (9200L/9300L/9500/9600), for routers everything is good. I checked channels (we use zabbix for snmp and icmp test) and channels without problems, and firewalls between dna and devices...
I will try to increase timeouts
05-18-2025 02:34 AM
is the DNAC new system certificate issued by the same CA&subCA as it was before?
05-18-2025 04:44 AM
Yes. BTW I encreased timeout connection to 60 seconds and attempts to 5. I haven't ended my test but after it some of my switches started to get firmware.
05-18-2025 05:27 AM
sounds like session timers issue since this point. is DNAC behind FW & maybe anything changed on it?
05-18-2025 08:20 AM
yeah dnac behind fpr4225, but there wasn't anything changes about half year
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide