1

我正在使用用于 SSL 服务器的 Chilkat C# 库。当客户端连接到我的服务器时,我收到消息“ClientHello too short”错误消息。我有另一个服务器,这个客户端可以正常工作。以下是我收到的错误消息的副本。

ChilkatLog:
  AcceptNextConnection:
    DllDate: Dec 12 2012
    UnlockPrefix: Anything for 30-day trial
    Username: BUSTER-VAIO:Buster
    Architecture: Little Endian; 32-bit
    Language: .NET 4.0
    VerboseLogging: 0
    fd: 0x490
    objectId: 1
    hcCurDate: Thu, 24 Jan 2013 11:05:24 -0700
    hcExpire: 3/2013
    listenPort: 50600
    AcceptSslConnection:
      maxWaitMs: 20000
      m_idleTimeoutMs: 10000
      readIncomingTls_clientHello:
        readTlsRecord:
          Received SSL 2.0 ClientHello.
          recLen: 52
          2-byte record header...
          nToRead: 49
          fullRecord: 0103 0100 1B00 0000 1002 0080 0400 8000
0003 0000 0600 0008 0000 1400 000B 0000
0E00 0011 F0BF 3491 D043 9A04 9FB3 155C
642C F945
          cipherListLen: 27
          sessionIdLen: 0
          challengeLen: 16
          cipherKind: 128
          key_len: 512
          cipherKind: 128
          key_len: 1024
          cipherKind: 3
          key_len: 0
          cipherKind: 6
          key_len: 0
          cipherKind: 8
          key_len: 0
          cipherKind: 20
          key_len: 0
          cipherKind: 11
          key_len: 0
          cipherKind: 14
          key_len: 0
          cipherKind: 17
          key_len: 0
          buildClientHello:
            majorVersion: 3
            minorVersion: 1
            numRandomBytes: 16
            sessionIdSize: 0
            numCipherSuites: 0
            numCompressionMethods: 1
          --buildClientHello
        --readTlsRecord
        processTlsRecord:
          processHandshake:
            handshakeMessageType: ClientHello
            handshakeMessageLen: 0x17
            processHandshakeMessage:
              MessageType: ClientHello
              ClientHello:
                MajorVersion: 3
                MinorVersion: 1
                ClientHello too short (1).
              --ClientHello
            --processHandshakeMessage
          --processHandshake
        --processTlsRecord
      --readIncomingTls_clientHello
      Failed to read incoming handshake messages. (10)
      Server handshake failed.
    --AcceptSslConnection
    Failed.
  --AcceptNextConnection
--ChilkatLog

这是我第一次使用 Chilkat 图书馆的经历。有人对我应该从哪里开始有建议吗?我不能改变图书馆。如果客户端与同一台机器上的另一个服务器程序一起工作,会不会是因为 Chilkat 库太慢而导致的计时错误?任何建议,将不胜感激。

4

0 回答 0