Terminal Session : There was an error connecting to terminal. Error code: Error

I am connecting to IBM PCOM TN3270. Always getting this error. Any idea?