« Back to Technical Discussions

RE: Error connecting goUCS

Combination View Flat View Tree View
Threads [ Previous | Next ]
I am receiving the following error while connecting to the UCS emulator to exceute a XML wrapper. 
"ERROR: Error Can't establish a TCP/IP connection with target, this may be due to a incorrect HTTPS setup.".
I am able to establish a session with the UCS manager and record the GUI operation to create a XML wrapper. Its only when i try to execute the XML wrapper command on the UCS emulator I face the above error. 
Can some one help me out on this?. 

RE: Error connecting goUCS
Answer
11/21/12 9:10 PM as a reply to Ashwin Ravindranath.
Did you happen to get this issue resolved?  I am getting the same issue.
 
Thanks,
Ed
 
Ashwin Ravindranath:
I am receiving the following error while connecting to the UCS emulator to exceute a XML wrapper. 
"ERROR: Error Can't establish a TCP/IP connection with target, this may be due to a incorrect HTTPS setup.".
I am able to establish a session with the UCS manager and record the GUI operation to create a XML wrapper. Its only when i try to execute the XML wrapper command on the UCS emulator I face the above error. 
Can some one help me out on this?. 

Is HTTP -> HTTPS redirection turned on for UCS Manager? Is your goUCS session file using HTTP or HTTPS? If HTTP and HTTP->HTTPS redirection turned on, then that is potentially the issue.

The goucs filterlog logtail function isn't using the UCS GUI session to get the configuration to make the XML wrapper. It's just monitoring the JAVA logfile for XML documents being populated in the file locally.

Thanks,
Eric
___________________________________________________________
Eric Williams | UCS Technical Marketing Engineer | .:|:.:|:. Cisco Systems, Inc.
ericwill@cisco.com<mailto:mabalch@cisco.com> | 952.967.8699 | http://twitter.com/aeroic78<mailto:mabalch@cisco.com>

On Nov 21, 2012, at 3:11 PM, Cisco Developer Community Forums <cdicuser@developer.cisco.com<mailto:cdicuser@developer.cisco.com>>
wrote:

Edward Morrison has created a new message in the forum "Technical Discussions": -------------------------------------------------------------- Did you happen to get this issue resolved? I am getting the same issue.

Thanks,
Ed

Ashwin Ravindranath:
I am receiving the following error while connecting to the UCS emulator to exceute a XML wrapper.
"ERROR: Error Can't establish a TCP/IP connection with target, this may be due to a incorrect HTTPS setup.".
I am able to establish a session with the UCS manager and record the GUI operation to create a XML wrapper. Its only when i try to execute the XML wrapper command on the UCS emulator I face the above error.
Can some one help me out on this?.

--
To respond to this post, please click the following link: or simply reply to this email.

Thanks for the quick reply Eric.  HTTP->HTTPS redirection is on, but I do have my session file configured to use HTTPS.  What happens is, I have not configured a keystore, so if I was to try to connect, it says, no keystore.  Then when I set CLI_KEYSTORE=IgnoreCert, I get the error ERROR: Error Can't establish a TCP/IP connection with target, this may be due to a incorrect HTTPS setup. 
 
So it seems to make the connection but then when I try to bypass the certificate it says it can't connect.  Also, side note, is there a reference list for all the XML classes available to query?

probably would be easiest to have a quick WebEx to troubleshoot this with you if you don't mind.  Email me directly at goucs@cisco.com and I'll be more than happy to help you.