Skip to Content
author's profile photo Former Member
Former Member

Content Server connection problems

Hi All,

we have a strange problem at our customers systems regarding to the Content Server connection/communication. We

have an SAP ERP system (EHP7, Win 2012, ASE 16) and a Content Server (6.50, max DB 7.9) on different hosts. The

customer uses it store invoices, using a scanner to scanning the invoices, that is putting them in pdf on

the CS host and there a developed program (PdfToSapInterface.exe) sending the document into the CS using a BAPI program to

add a pre-generated (by SAP) barcode to the invoice and with this number the invoice is stored in the CS, and a scanned

pdf is goning into an Archive folder.

Usually it is working fine, but sometimes (more times in a day) this method does not work, there is no any regularity in it. When it is

happening the document going into the Archive folder, but the document is missing from the content server, it is not possible to read it in ERP transaction OAAD.

At this time in SMGW we can see the following error message:

Thu Apr 28 10:35:58 2016

***LOG Q0I=> NiIRead: P=<Content_Server_Hostname>:49685; L=<ERP_HOST_IP>:3300: recv (10054: WSAECONNRESET: Connection reset by peer) [D:/depot/b

*** ERROR => NiIRead: SiRecv failed for hdl 205/sock 860

(SI_ECONN_BROKEN/10054; I4; ST; P=<Content_Server_Hostname>:49685; L=<ERP_HOST_IP>:3300) [nixxi.cpp 5386]

***LOG S23=> GwDisconnectClient, client disconnected (958) [gwxxrd.c 10867]

GwDisconnectClient: client 958 disconnected, hostname = <Content_Server_Hostname>, addr = 10.1.71.131, tp = PdfToSAP

*****************************************************************************

*

* LOCATION SAP-Gateway on host <ERP_HOSTNAME> / sapgw00

* ERROR connection to partner '<Content_Server_Hostname>:49685' broken

*

* TIME Thu Apr 28 10:35:58 2016

* RELEASE 742

* COMPONENT NI (network interface)

* VERSION 40

* RC -6

* MODULE D:/depot/bas/742_REL/src/base/ni/nixxi.cpp

* LINE 5386

* DETAIL NiIRead: P=<Content_Server_Hostname>:49685; L=<ERP_HOST_IP>:3300

* SYSTEM CALL recv

* ERRNO 10054

* ERRNO TEXT WSAECONNRESET: Connection reset by peer

* COUNTER 9745

*

*****************************************************************************

At the SAP Connector log we can see the following error message:

SAP .NET Connector 3.0 with file version 3.0.15.0 running on 32-bit .NET Framework 4.0.30319.34014

Program: S:\PdfToSAP\PdfToSAPInterface.exe

Working directory: C:\Windows\system32

Operating system: Windows Server 2012 Standard Server 64-bit

Processor: 3x AMD64 (or x64)

SAP release: 721, Kernel release: 721, Kernel patch level: 418

Hostname: <Content_Server_Hostname>, IP address: <Content_Server_IP>, IP_v6 address:

Default trace level: RemoteFunctionCall,PublicAPI,InternalAPI

>> Error entry 2016-04-28 10:34:43.370 [Thread 1]

[USER=DOQSYS PASSWD=******** CLIENT=010 LANG=HU ASHOST=<ERP_HOST_IP> SYSNR=00 MAX_POOL_SIZE=20 POOL_SIZE=10 NAME=SAP]

SAP.Middleware.Connector.RfcCommunicationException: no SAP ErrInfo available

at SAP.Middleware.Connector.CpicConnection.CpicSend()

at SAP.Middleware.Connector.CpicConnection.Write(Byte* buffer, Int32 offset, Int32 count)

at SAP.Middleware.Connector.CpicConnection.Write(Byte[] buffer, Int32 offset, Int32 count)

at SAP.Middleware.Connector.RfcConnection.WriteRfcData(RFCID rid, Byte[] buffer, Int32 offset, Int32 length)

at SAP.Middleware.Connector.RfcParameter.RfcSerialize(RfcConnection conn)

at SAP.Middleware.Connector.RfcFunction.RfcSerialize(RfcConnection conn, IRfcIOStream stream, RFCID rid)

at SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn, IRfcIOStream stream, RFCID rid)

at SAP.Middleware.Connector.RfcFunction.RfcCallReceive(RfcConnection conn)

at SAP.Middleware.Connector.RfcFunction.Invoke(RfcDestination destination)

In the tracefile of the connector there are the following errors:

2016-04-28 10:34:43.370 [Thread 1] RfcParameter.RfcSerialize threw RfcCommunicationException: no SAP ErrInfo available --- see log for details

2016-04-28 10:34:43.370 [Thread 1] RfcFunction.RfcSerialize threw RfcCommunicationException: no SAP ErrInfo available --- see log for details

No more details about the error there.

The problem often exist when it tries to store more than 2 documents in the same time.

In my head there are two possible problem source could be:

  1. Network problem ( I haven't got any proof about this)
  2. Performance problem at the Content Server

Is anybody have any idea how can we find any solution for this problem?

Is it possible to check/monitoring the performance of the Content Server somehow?

Thank you!

Regards,

Andras

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jul 04, 2016 at 09:29 AM

    Finally it solved by exchanging the NCO (Sap .Net Connector dll's) files to the newest one and its working fine.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2016 at 10:34 AM

    Hi Andras,

    May I know what kind of third party tool you are using for Content Server.

    Third party Tool Like : Open Text?

    Thanks,

    Surendra.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 28, 2016 at 01:28 PM

    UPDATE:

    The problem exist only, if one of the file size of all the files are larger than 4 MB. Under 4 MB the files are gone the CS without any error. If one of them is larger than 4 MB the error appear and the documentum don't arrive into the CS.

    The following parameter have already set in the ini file:

    MaxTransferBlockSize=150000, in IIS as well.

    What else could be block the traffic?

    Regards,

    Andras

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.