Unable to reach server

Use this board to ask questions or have discussions with other Genie users.
Post Reply
cimbala
New User
Posts: 9
Joined: Wed May 22, 2013 8:09 am
First Name: Andre
Last Name: Cimbal
Company Name: Dirk Rossmann GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Unable to reach server

Post by cimbala »

Hi

when i start an interactive programm in genie which will run more then 5 minutes without an user-action, this error occures:
"Unable to reach server. Check your connection and try again."
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Unable to reach server

Post by Scott Klement »

That is strange. "Unable to reach server" means that your browser cannot connect to the server. I don't understand why that would happen based on a delay in a program?

I tried to reproduce the problem you describe by writing the following program:

Code: Select all

PGM
   DLYJOB DLY(360)
ENDPGM
So when I run this, the program delays for 6 minutes. I ran it, but did not get any errors. Can you provide information about how to reproduce the problem?
cimbala
New User
Posts: 9
Joined: Wed May 22, 2013 8:09 am
First Name: Andre
Last Name: Cimbal
Company Name: Dirk Rossmann GmbH
State / Province: Outside Canada/USA
Country: Germany
Contact:

Re: Unable to reach server

Post by cimbala »

Hi Scott

sorry, it looks like a problem with our loadbalancer and redirector.
when I use the direct link for genie to our IBM i everything works fine; if I try the same with our DNS-Alias the error occurs.
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Unable to reach server

Post by David »

This could be caused by a page request timeout. In an Apache server, there is this directive which will cause it to give up on a long-running page request:

http://httpd.apache.org/docs/2.2/mod/core.html#timeout

This can be configured in Profound UI by adjusting the Timeout directive in the Apache configuration file here:

/www/HTTP_SERVER_NAME/conf/httpd.conf (the default server name is PROFOUNDUI).

I know that Apache's default is actually 5 minutes, but we set this to a longer value (I think 1 hour) in Profound UI's default configuration. It sounds like your load balancer has a similar setting which needs to be adjusted?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest