Previous Topic: Incorrect Version of .NET Runtime Registered With IISNext Topic: CCS Fails to Retrieve Content Due to Authentication Error


CCS Times Out When Classifying a Document

Problem

The CCS times out when classifying a document.

Description

The CCS returns the following error:

"System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network resource issue. Local socket timeout was '00:04:59.9843744'. --->    System.IO.IOException: The write operation failed, see inner exception System.ServiceModel.CommunicationException: The socket connection was aborted. This could be caused by an error processing your message or a receive timeout being exceeded by the remote host, or an underlying network    resource issue. Local socket timeout was '00:04:59.9843744'. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine“.

The default maximum size of a file that can be classified is 50MB. This limit is set in the classification policy and the Web Service web.config file. If this size is exceeded, or if a file smaller than 50Mb exceeds the default timeout of six minutes, the error message is returned.

Resolution

Either the time-out is too short or the file being classified is too large. Modify the time-out or file size limit to suit the particular integration use case.