SAP Knowledge Base Article - Preview

3766236 - Invalid request received by cloud connector: java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9)

Symptom

When BTP application integrated with on-Premise/S4 HANA system with or without SAP Wed Dispatcher in between, below error occurs at the Cloud Application end, i.e. CPI.

LastError           = org.apache.cxf.interceptor.Fault: Could not send Message., cause: java.net.SocketException: Unexpected end of file from server

And below error can be found in scc_core.trc:
(Regarding how to capture SCC traces, refer to KBA 2452568 - Log and Trace files for SAP Cloud Connector)

com.sap.core.connectivity.protocol.http.handlers.HttpProtocolException: Invalid request received by cloud connector: java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9).
    at com.sap.core.connectivity.protocol.http.handlers.HttpRequestStateHandler.writeImpl(HttpRequestStateHandler.java:85)
    ...
    at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
    at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
    at java.lang.Thread.run(Thread.java:836)
Caused by: java.lang.IllegalArgumentException: text is empty (possibly HTTP/0.9)


Read more...

Environment

  • SAP Cloud Connector
  • BTP Connectivity Service
  • Cloud Integration Suites
  • SAP Ariba

Product

SAP Connectivity service all versions

Keywords

Unexpected end of file from server, text is empty (possibly HTTP/0.9), SCC, ICM, icm/HTTP/max_request_size_KB, 102400, 100 MB, CPI, Ariba , KBA , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , BC-CST-IC , Internet Communication Manager , LOD-HCI-PI-CON-SOAP , SOAP Adapter , BC-CST-WDP , Web Dispatcher , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.