Hello,

'connection timed out' means that TN5250 sent a request to connect to your server (the one at XXX.XX.XXX.XX) and did not receive a response to that connection request, so it eventually timed out.

Most likely, a firewall or similar device is blocking access to yout server?

What happens if you type:

telnet XXX.XX.XXX.XX 992

I know the 'telnet' command wont work because it doesn't support SSL, but does it connect to port 992? Or do you get a time-out error?



On 4/8/2010 2:27 PM, Rhishabh Srivastava wrote:
I am running Ubuntu 9.10 . I tried installing tn5250 for connecting to a
AS/400 Server but it just don't connect. The error is

rhishabh@rhishabh1:~$ sudo tn5250 AS4
[sudo] password for rhishabh:
Could not start session: Connection timed out

I have created the configuration in ~/.tn5250rc as

AS4 { host = ssl:XXX.XX.XXX.XX
trace = log.txt
+ssl_verify_server
ssl_ca_file = /home/rhishabh/Certificate/AS4.cer }

I configured the tn5250 using --with ssl option to enable ssl support.
Though during configuration it generated errors for ncurses library and
OpenSSL header files/lib. This i got resolved by d/l the latest pkg and few
other form Synaptic manager. After which configuration& make install went
without any error.

Now i am stuck at this error. Log file only contains

tn5250_ssl_stream_init() entered.
SSL Method = SSLv23_client_method()

I need help in diagnosing this timeout error as where to start.


Rhishabh Srivastava


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].