Symptom
For Cloud to On-premise Scenario : CPI > Cloud Connector > NW ABAP system, following error happened in CPI side:
Response was of unexpected text/html ContentType. Incoming portion of HTML stream: (none).
"Response was of unexpected text/html ContentType" means the response from backend is not a expected one, hence cannot be recognized by cloud connector or CPI.
Sample traces:
- In traffic trace of cloud connector:
>>> 2023-02-16 13:27:49,073 +0000 >>> Response data for connection XXXXXX in thread XXXXXXXX
000000 | 48545450 2F312E31 20333037 2054656D 706F7261 72792052 65646972 6563740D |HTTP/1.1 307 Temporary Redirect.|
000020 | 0A646174 653A2054 68752C20 31362046 65622032 30323320 31333A32 373A3439 |.date: Thu, 16 Feb 2023 13:27:49|
000040 | 20474D54 0D0A636F 6E6E6563 74696F6E 3A204B65 65702D41 6C697665 0D0A636F | GMT..connection: Keep-Alive..co|
000060 | 6E74656E 742D6C65 6E677468 3A20300D 0A6C6F63 6174696F 6E3A2068 74747073 |ntent-length: 0..location: https|
000080 | 3A2F2F.. ........ ........ ........ ........ ........ ........ ..3A3434 |://< hostname >:44|
0000A0 | 3330302F 7361702F 62632F73 72742F73 63732F73 61702F7A ........ ........ |300/sap/bc/srt/scs/sap/zxxxxxxxx|
0000C0 | ........ ........ 3F736170 2D636C69 656E743D 3130300D 0A636F6E 74656E74 |xxxxxxxx?sap-client=100..content|
0000E0 | 2D747970 653A2074 6578742F 68746D6C 0D0A0D0A |-type: text/html.... |
<<< Response data
- In dev_icm of the backend system (or in dev_webdisp, if there is an SAP Web Dispatcher involved):
HTTP response (raw) [10/23598/1]:
HTTP/1.1 307 Temporary Redirect
date: Thu, 16 Feb 2023 13:27:49 GMT
connection: Keep-Alive
content-length: 0
location: https://<hostname>:44300/sap/bc/srt/rfc/sap/zxxxxxxxxxxx
content-type: text/html
Connection Info: role=Server, local=XXXXXX:8000, peer=XX.XX.XX.XX, protocol=HTTP
Read more...
Environment
- SAP NetWeaver ABAP based products
- ABAP Platform based products
- SAP Web Dispatcher
- SAP Cloud Connector
- SAP CPI (cloud)
Product
Keywords
307, Redirect, , KBA , BC-CST-IC , Internet Communication Manager , BC-CST-WDP , Web Dispatcher , BC-MID-SCC , SAP Cloud Connector On-Demand/On-Premise Connectivity , LOD-HCI , SAP Cloud Integration , XX-HST-OPR , Technical Operations , 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.
SAP Knowledge Base Article - Preview