HAT0402 Session is in CONNECTION_ACTIVE state, but not CONNECTION_READY
state. A possible reason could be that the TN server port specified
does not support the data stream expected. Session properties being used:
{0}
Explanation
{0} is a set of session properties.
User response
Ensure that the connection type (TN3270, TN3270E, TN5250) is correct.