Salesforce

What does error 794 mean?

« Go Back

Information

 
TitleWhat does error 794 mean?
URL NameP139558
Article Number000139244
EnvironmentProduct: Progress
Version: 9.x
Product: OpenEdge
Version: 10.x, 11.x
OS: All supported platforms
Question/Problem Description
What does error 794 mean?
When does error 794 occur?
What does "User terminated abnormally. (794)" mean?
Why was error 794 returned for a subset of users rather than all of them when the host machine was rebooted?
 
Steps to Reproduce
Clarifying Information
Error MessageUsernum terminated abnormally. (794)
Defect Number
Enhancement Number
Cause
The 794 error can occur for the following reasons:
  1. We attempt to read a message from a socket.  We go to view the message and there is a problem with the size of the message.
  2. We attempt to read a message from a socket.  When we go to view the message, there is nothing to be read
The cases mentioned above can all occur as a result of the Client system no longer communicating with the Server. 

Reasons for the communication failure can be due to :
  • A networking issue, or
  • The client system shutdown without being able to send a signal to the server indicating it was terminating in some manner, or
  • The port the client was communicating with the Broker on, was scanned. 
Resolution
When these errors occur, there is nothing more that can be done other than to print the 794 error in the database log file and disconnect the client session from the database.

The client is disconnected from the database only if the client was communicating with a Server and the Server was trying to read information on the socket at the time of the failure, then this error 794 will be printed when disconnecting the client. This situation is often but not exclusively, reflected on the client-side with error 778 due to issues on the network at the time. For example:
Error reading socket, ret=10054, errno=2. (778) 
 For further discussion, refer to Article: There is no way to detect that the remote client terminated in cases where:
  1. The client is unable to send a signal to server process and / or
  2. The server was not trying to read a message on the socket at the time of the failure.
In these cases, client sessions would need to be cleared using TCP KeepAlive.  For additional details regarding how TCP KeepAlive will address these types of situations refer to Article:
Workaround
Notes
Keyword Phrase
Last Modified Date1/5/2021 6:50 PM

Powered by