cancel
Showing results for 
Search instead for 
Did you mean: 

Content Server connection problems

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

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

diego_santos
Active Participant
0 Kudos

Hi

There is no limitation on file size in CS650. You can manage files up to 2GB size.

1983930 - Availability of SAP Content Server 6.50

1705940 - Check in/out of files larger than 2GB in SAP Content Server


This is a limitation of IIS, as you have already found with the parameter 'MaxTransferBlockSize'.

328209 - ContentServer: Large objects - Build 161
https://help.sap.com/saphelp_nw73/helpdata/en/4d/0ed7197fd00231e10000000a42189b/content.htm


Our note 328209 explain the reason for this behavior.


"...

the *IIS* cannot allocate sufficient sending buffer to execute the write command and the link terminates without a comment.

..."

Regards,

Diego

Former Member
0 Kudos

Hi Diego,

thanks for the answer, but this note is very-very old, and relevant only for an old version of Content Server. Our system is a 6.50 Sp5, the latest level.

And as I mentioned the parameter has already set to 150MB.

But yes, the behavior as the same as it is in the ticket.

Regards,

Andras

diego_santos
Active Participant
0 Kudos

Hi

The note explain the parameter itself. It also explains the reason for this error. This is caused by IIS.
Therefore the note is still valid for this case.

I'm not aware of any other limitation in the trafic. Please check if there's any proxy in your Content Server landscape.

Regards,

Diego Santos

Former Member
0 Kudos

Hi Diego,

there is no any proxy in the landscape and in our test environment the Content Server and the SAP system are running on the same host.

Regards,

Andras

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi,

as I wrote it is Sap Content Server 6.50.

Regards,

Andras