AnsweredAssumed Answered

Handshake Failed

Question asked by Abhishek on Sep 6, 2018
Latest reply on Sep 7, 2018 by detlev.eufinger2

We have installed Snow Inventory Service Gateway 5.4.0 on Windows 2012 server. Server is behind the proxy to communicate to Vendor SAM Receiver ( I can make a curl call to the SAM receiver fine for Service gateway).

 

Installed Snow Inventory Agent on one of the linux virtual machine. VM can communicate to the Service gateway fine making a curl call on port 80. But when we run snowagent executable it fails with Handshake error.

 

018-08-18T11:36:16+12:00; Verbose;             snowagent; nix/MiscDataCollector.cpp; GetEnvironmentVariables; Environment variable: 'CAT' - '/home/gtkie/CAT'

2018-08-18T11:36:16+12:00; Verbose;             snowagent; nix/MiscDataCollector.cpp; GetEnvironmentVariables; Environment variable: 'HTTPD_HOME' - '/opt/httpd'

2018-08-18T11:36:16+12:00; Verbose;             snowagent; nix/MiscDataCollector.cpp; GetEnvironmentVariables; Environment variable: 'HISTTIMEFORMAT' - '[%D-%H:%M:%S] '

2018-08-18T11:36:16+12:00; Verbose;             snowagent; nix/MiscDataCollector.cpp; GetEnvironmentVariables; Environment variable: 'G_BROKEN_FILENAMES' - '1'

2018-08-18T11:36:16+12:00; Verbose;             snowagent; nix/MiscDataCollector.cpp; GetEnvironmentVariables; Environment variable: 'ESICDC' - '() {  PWORD=$(tail -1 $GTK/userpass);  XPWD=$PWD;  cd $ADM;  ./eod-jboss.sh --username=sysadmin --password=${PWORD} --processid=systemConfig "--input=action=get|name=system.latestcdc" 2>/dev/null | awk -F= '/VALUE/ {print $2}' | tail -1;  cd $XPWD }'

2018-08-18T11:36:16+12:00; Verbose;             snowagent; nix/MiscDataCollector.cpp; GetEnvironmentVariables; Environment variable: '_' - './snowagent'

2018-08-18T11:36:16+12:00; Trace;               snowagent; nix/ExternalExecuteables.cpp; execute_command; Executing [LANG="C" /usr/bin/last -w 2>&1].

2018-08-18T11:36:16+12:00; Trace;               snowagent; nix/ExternalExecuteables.cpp; execute_command; Exit code: [256]

2018-08-18T11:36:16+12:00; Verbose;             snowagent; http/EndPointHandler.cpp; SendToFirstAvailableEndPoint; No last known good end point yet

2018-08-18T11:36:16+12:00; Verbose;             snowagent; http/CurlMessageHandler.cpp; Send; Contacting server 'http://xxxxxxxxxxxxxxxx:80/api/client/hello'.

2018-08-18T11:36:36+12:00; Verbose;             snowagent; http/EndPointHandler.cpp; TrySendToKnownEndPoints; Endpoint response is valid

2018-08-18T11:36:36+12:00; ERROR;               snowagent; message_loop/MessageLoop.cpp; Handshake; Handshake failed. Unexpected server response. 500

2018-08-18T11:36:36+12:00; Verbose;             snowagent; command_line/CommandLineRunner.cpp; Run; self-test based on handshake failed

Outcomes