IBM Support

IT45793: TLS BAD LENGTH ERROR WHEN USING TLS VERSION 1.3 AND SESSION CACHING.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • TLS "bad length" error may occur on Datapower when using TLS
    v1.3 and session caching.
    
    example:
    
    
    20231012T143743.858Z [apiconnect][0x8120002f][ssl][error]
    ssl-client(some-name): tid(85612279)[1.2.3.4]
    gtid(d0cd9361552804b7041b1f73):
    
    TLS library error: error:1409E10F:SSL
    routines:ssl3_write_bytes:bad length
    

Local fix

  • Disable TLS 1.3 and use TLS 1.2 or disable session caching
    

Problem summary

  • DataPower might encounter a bad length error from a TLS1.3
    client using session caching.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT45793

  • Reported component name

    DATAPOWER

  • Reported component ID

    DP1234567

  • Reported release

    A0X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2024-03-22

  • Closed date

    2024-06-21

  • Last modified date

    2025-08-07

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DATAPOWER

  • Fixed component ID

    DP1234567

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9H2Y","label":"IBM DataPower Gateways"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
07 August 2025