Re: tn5250 time out error.

"John Aldrich" <[email protected]>
Newsgroups gmane.comp.emulators.tn5250
Organization Blueridge Carpet
Message-ID <017201cad75e$5005de60$f0119b20$@com>
Does the AS/400 have SSL enabled? If not, it may not be connecting over SSL
and thus dropping the connection as insecure.




-----Original Message-----
From: linux5250-bounces-Zwy7GipZuJhWk0Htik3J/[email protected] [mailto:linux5250-bounces-Zwy7GipZuJhWk0Htik3J/[email protected]]
On Behalf Of Rhishabh Srivastava
Sent: Thursday, April 08, 2010 4:30 PM
To: Linux 5250 Development Project
Subject: Re: [LINUX5250] tn5250 time out error.

I get the below response

rhishabh@rhishabh1:~$ telnet XXX.XX.XXX.XX 992
Trying XXX.XX.XXX.XX...
Connected to XXX.XX.XXX.XX.
Escape character is '^]'.

then after 2 min
Connection closed by foreign host.

I think its getting connected ..

Rhishabh Srivastava


On Fri, Apr 9, 2010 at 1:37 AM, Scott Klement
<[email protected]>wrote:

> 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 is the Linux 5250 Development Project (LINUX5250) mailing list
> To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/linux5250
> or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/linux5250.
>
>
-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.


-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.