Page 1 of 1

Unable to reach server

Posted: Fri Dec 20, 2013 2:34 am
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."

Re: Unable to reach server

Posted: Fri Dec 20, 2013 3:28 am
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?

Re: Unable to reach server

Posted: Fri Dec 20, 2013 5:59 am
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.

Re: Unable to reach server

Posted: Mon Dec 30, 2013 10:54 am
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?