Article - CS415842

Running Windchill commands fail with error "Http login failed:Java.io.StreamCorruptedException: invalid stream header: xXXXxXX" when SAML Authentication is configured

Modified: 19-Dec-2025   


Applies To

  • Windchill PDMLink 12.0 to 13.1

Description

  •  The following error occured when command is executing in Windchill Shell after SSO or FBA is configured 
DEBUG wt.httpgw.HTTPLogin - HTTP login failed: java.io.StreamCorruptedException: invalid stream header: 3C212D2D
java.io.StreamCorruptedException: invalid stream header: 3C212D2D
        at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:940) ~[?:?]
        at java.io.ObjectInputStream.<init>(ObjectInputStream.java:379) ~[?:?]
        at wt.httpgw.HTTPLogin.init(HTTPLogin.java:382) [codebase/:?]
        at wt.method.RemoteMethodServer.initAuthenticator(RemoteMethodServer.java:1064) [codebase/:?]
        at wt.method.RemoteMethodServer.handleAuthenticationException(RemoteMethodServer.java:1043) [codebase/:?]
        at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:907) [codebase/:?]
        at wt.auth.Authentication.getUserName(Authentication.java:68) [codebase/:?]
        at wt.auth.Authentication.main(Authentication.java:235) [codebase/:?]
wt.util.WTRemoteException: Unable to invoke remote method; nested exception is:
        wt.method.AuthenticationException
        at wt.method.RemoteMethodServer.invoke(RemoteMethodServer.java:918)
        at wt.auth.Authentication.getUserName(Authentication.java:68)
        at wt.auth.Authentication.main(Authentication.java:235)


 

This is a printer-friendly version of Article 415842 and may be out of date. For the latest version click CS415842