Consultor Eletrônico



Kbase P112013: WebWrite errors 140 and 6404 in the server log file
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/3/2008
Status: Verified

SYMPTOM(s):

WebWrite errors 140 and 6404 in the server log file

The following errors are apparent in the WebSpeed server log file:

** Pipe to subprocess has been broken. (140)

WebWrite() failed during npp_send with error: -70 size: 8232 sentbytes0 retrycount 1. (6404)

WTA: WebWrite() failed during npp_send with error: size: sentbytes retrycount (6404)

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x
All Supported Operating Systems
The messenger enhanced log file does not have any error

CAUSE:

This error is apparent from application logic flaw.  The web application is written in such a way that after html page A is submitted, the HTML page A has a redirection in to HTML page B page while the WebSpeed agent is still working to process the request from HTML page A.  As a result, the messenger drops the requests to HTML page A and proceed with HTML page B.  On the other hand, when the WebSpeed agent finished the request, the agent tried to communicate with the messenger but it lost the communication, hence, the error is apparent in the log file.

FIX:

Fix the Application logic so that the WebSpeed agent is able finish the request before the page redirection takes place.