Attempting to log into from the Java Client results in an invalid stream header error
search cancel

Attempting to log into from the Java Client results in an invalid stream header error


Article ID: 366897


Updated On:


CA Automic Applications Manager (AM)


After attempting to log into the Java Client, connection to the RMI fails with the following error

14:40:50.714 AWT-EventQueue-0: .ErrorMsg: Error #: AwE-5103
14:40:50.716 AWT-EventQueue-0: .AxOptions: NoErrorMsgProperties=false
ErrorMsg: AwE-5103 network socket error
Details: Network socket error invalid stream header: 123456789
    at Source)
    at<init>(Unknown Source)
    at com.appworx.shared.code.server.B.C(
    at com.appworx.client.screen.util.ClientSocketManager.A(
    at com.appworx.client.screen.util.ClientSocketManager.connect(
    at com.appworx.client.screen.util.Loader.setMaster(
    at com.appworx.client.screen.logon.B.A(
    at com.appworx.client.screen.logon.B.f(
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at Source)




One of the main reasons an "invalid stream header" error occurs is if:

  • The Java Client's file is setting 'localOptions=true' enabled which sets the Client to use the local instead of the global used by the master and located in the master's $AW_HOME/web/classes directory.
  • The local is disabling SSL by setting the below line:



To resolve this issue:

Edit the local file (same directory as RunClient.jar) and change localOptions=true to #localOptions=true and save.


Edit the local and remove SSL=Off or change SSL=Off to SSL=ON

Then make sure that a copy of the user_keystore and user_keystore_config files found on the master's $AW_HOME/data directory is moved to the below directory of the client server:


If directory does not exist, create it.