ERROR: "XCOMN0780E TxpiInitSSL Failed" "SSL23_GET_CLIENT_HELLO" in xcom.log
search cancel

ERROR: "XCOMN0780E TxpiInitSSL Failed" "SSL23_GET_CLIENT_HELLO" in xcom.log

book

Article ID: 271910

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows

Issue/Introduction

Seeing these error messages in the XCOM for Windows xcom.log file:

2023/08/15 15:03:16 TID=REMOTE PRG=xcomtcp PID=6760 IP=127.0.0.1:61040
    XCOMN0780E Txpi  308: TxpiInitSSL Failed msg = <error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol> value = 4294967295: 

Running version:
XCOM Data Transport r11.6 20035 SP03 64bit for Windows Family (CPIC & TCP/IP)

What is causing the problem?

Environment

XCOM™ Data Transport® for Windows

Cause

The Windows port scanning tool PortQry was being used to check the XCOM SSL listening port 8045: Using the PortQry Command Line Tool - Windows Server.
The command used "portqry.exe -n localhost -nr -q -e 8045" was causing the SSL handshake error messages in the xcom.log file
 XCOMN0780E Txpi  308: TxpiInitSSL Failed msg = <error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol> value = 4294967295: 

Resolution

These errors may be ignored or you may modify or discontinue this method of port scanning so they will not appear anymore.

Additional Information

1. Downloaded PortQry V2 from PortQry Command Line Port Scanner Version 2.0.
    Running the same command "portqry.exe -n localhost -nr -q -e 8045", the TxpiInitSSL error reported in the xcom.log file was actually different:

TID=REMOTE PRG=xcomtcp PID=12668 IP=127.0.0.1:<port>
    XCOMN0812I Remote Secure TCP/IP Connection Requested.

TID=REMOTE PRG=xcomtcp PID=12668 IP=127.0.0.1:<port>
    XCOMN0780E Txpi  308: TxpiInitSSL Failed msg = <error:00000000:lib(0):func(0):reason(0)> value = 1: 

TID= PRG=xcomtcp PID=12668 IP=127.0.0.1:<port>
    XCOMN0818I Secure TCP/IP Connection Ended.

 Therefore it seems the actual SSL handshake error may depend on the specific server and the SSL certificate implementation in XCOM.

NOTE: Removing the portqry "-q" option and using command "portqry.exe -n localhost -nr -e 8045" returns the result:

Querying target system called:
localhost
Attempting to resolve name to IP address...
Name resolved to 127.0.0.1
querying...
TCP port 8045 (unknown service): LISTENING

2. Another test for a loopback transfer to the SSL port 8045 when not specifying the required parameter SECURE_SOCKET=YES can also cause the reported error:

TID=REMOTE PRG=xcomtcp PID=9488 IP=127.0.0.1:51697
    XCOMN0812I Remote Secure TCP/IP Connection Requested.

TID=REMOTE PRG=xcomtcp PID=9488 IP=127.0.0.1:51697
    XCOMN0780E Txpi  308: TxpiInitSSL Failed msg = <error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol> value = 4294967295: 

TID= PRG=xcomtcp PID=9488 IP=127.0.0.1:51697
    XCOMN0818I Secure TCP/IP Connection Ended.

TID=000007 PRG=xcomtcp PID=9452 IP=xcom PORT=8045
    XCOMN0805I TCP/IP Connection Ended.

TID=000007
  XCOMN0297E Error requesting header confirmation: Txpi  217: Socket receive error return value = 10054