cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1629
Views
2
Helpful
6
Replies

Tclsh - I/O Error

pescla
Spotlight
Spotlight

I want to add our Lab CUBE as a Webex Managed Gateway. I followed the guide step by step and when running the tclsh command, i get back:
lab-cube-1#tclsh https://binaries.webex.com/ManagedGatewayScriptProdStable/gateway_onboarding.tcl
couldn't read file "https://binaries.webex.com/ManagedGatewayScriptProdStable/gateway_onboarding.tcl": I/O error

At first i thought it was because i dont have 2GB free bootflash (only 1.96GB), but when looking at the script, i saw that it was supposed to write back a more detailed log, instead it just gave the I/O Error. I did see that there was a gateway_webex_config.json file created in the guest-share folder.

After deleting a bit more and having 2101465088 Bytes (~2.1GB) free when using dir bootflash:, i tried again - same error, so i guess the 2GB limit is not the problem?

1 Accepted Solution

The issue was that the default http source interface was the internal vrf interface, after changing it to the external the script works fine

View solution in original post

6 Replies 6

sunil_stud_8
Level 1
Level 1

#$m/ManagedGatewayScriptProdStable/gateway_onboarding.tcl
couldn't read file "https://binaries.webex.com/ManagedGatewayScriptProdStable/gateway_onboarding.tcl": I/O error

 

 

error flash has memory please let me know steps to resolve

I dont know what your exact issue is but i would suggest doing what i did: Manually download the .tcl file and upload it to flash via FTP to rule out issues with your HTTP connection

Janos Benyovszki
Cisco Employee
Cisco Employee

@pescla I am not familiar with what you are trying to do here. Please note, that this Forum is for Webex API and SDK issues / questions. Is your issue related to those?

Sorry, i think i confused something in the tags. it was supposed to go into the networking forum

i was able to run the tclscript from local bootflash. i still get an I/O error, it seems like the issue is that it cant download the .tar for some reason:

lab-cube-1#tclsh bootflash:gateway_onboarding.tcl

Cisco IOS XE Software Version: 17.9.1a
Script Version: 3.0.4
Precondition check status: Passed
Downloading Gateway connector installer package...
Error: Failed to download gateway connector installer package from https://binaries.webex.com/ManagedGatewayInstallerProdStable/gateway_connector_installer.tar
Error: Accessing https://binaries.webex.com/ManagedGatewayInstallerProdStable/gateway_connector_installer.tar...
%Error opening https://binaries.webex.com/ManagedGatewayInstallerProdStable/gateway_connector_installer.tar (I/O error)
Please verify that gateway has connectivity to Webex cloud and retry.

The issue was that the default http source interface was the internal vrf interface, after changing it to the external the script works fine