|Re: Request Failed: HTTP Status Code: 12002 [message #724602 is a reply to message #724529]
||Mon, 12 September 2011 16:08
| Cole Markham
Registered: July 2009
I remember having this discussion a couple of years ago. Since 12002 is a timeout error, it is unknown whether any changes were sent to the server. Thus it is not handled as a "connection error" which prompts the user to retry the request. Instead is just fails and the user gets the error message to restart the system.|
I'm afraid your only options are
(1) Track down the source of the timeout. Most likely it is a proxy server that is dropping the connection after a short time.
(2) Live with the timeout and subsequent restart of the app, and program your application to save the user's state so it can be restored quickly. There is a session store within RAP that is persistent across HTTP sessions.
Hope that helps,
Eclipse User wrote on Mon, 12 September 2011 10:31
Originally posted by: <a href="mailto:"></a>
RAP does not define any timeout. The timeout may be caused by the client
or the sever or anything in between like a proxy or router.
To print a more attractive error message is certainly possible, please
file an enhancement request therefore.
Continuing the broken user session however wouldn't make sense. The
client can't just ignore the missing response as it would bring client
and sever out of sync. Besides, before this message appears, the user
has the opportunity to retry sending the request.
Most browser have built-in tools or plug-ins to track requests that you
can use to analyze the failed request.
On 25.08.2011 21:11, Graham wrote:
> We're running a load balanced RAP 1.3.2 application with jetty. The
> users are using both IE6SP3 and IE8. We've started experiencing a lot
> errors of the type "Request Failed. HTTP Status Code: 12002". They seem
> to be happending when our users access the application through a very
> large coporate WAN. We have been unable to reproduce the error locally.
> From what I've read the 12002 is a timeout error. Unfortunately, when
> this error occurs the users are kicked out of the application and have
> to log back in and navigate to where they were.
> What is the default timeout? I've put some sleep code in the application
> to try to slow things down but after a 4 minute sleep I still don't see
> the 12002 error code. Is there a way to catch the error and put a more
> attractive error message and also not destroy the users session?
> Also is there a way to see what request has failed?
Professional services for RAP and RCP?
Powered by FUDForum
. Page generated in 0.01392 seconds