2516062 - SMP uses wrong proxy URL (HTTPS instead of HTTP) when accessing an HTTPS URL (HTTP/HTTPS Authentication) - OData Runtime | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2516062 - SMP uses wrong proxy URL (HTTPS instead of HTTP) when accessing an HTTPS URL (HTTP/HTTPS Authentication) - OData Runtime

Symptom

When using HTTP/HTTPS Authentication provider, an HTTPS URL that requires proxy to connect to it cannot be accessed when the same proxy server (with HTTP protocol) is used for HTTP and HTTPS URLs.

SMP server log shows:

2017 07 20 12:47:59#+0200#DEBUG#org.apache.http.impl.conn.BasicHttpClientConnectionManager##smpAdmin#http-bio-8083-exec-4####44beee8d-47b6-4438-9d77-56f10e06a597####Get connection for route {tls}->https://http-<ProxyHost>:8080->https://<Host>.com:443 |
2017 07 20 12:47:59#+0200#DEBUG#org.apache.http.impl.execchain.MainClientExec##smpAdmin#http-bio-8083-exec-4####44beee8d-47b6-4438-9d77-56f10e06a597####Opening connection {tls}->https://http-<ProxyHost>:8080->https://<Host>.com:443 |
2017 07 20 12:47:59#+0200#DEBUG#org.apache.http.impl.conn.HttpClientConnectionOperator##smpAdmin#http-bio-8083-exec-4####44beee8d-47b6-4438-9d77-56f10e06a597####Connecting to http-<ProxyHost>/10.252.192.1:8080 |
2017 07 20 12:47:59#+0200#DEBUG#org.apache.http.impl.conn.DefaultManagedHttpClientConnection##smpAdmin#http-bio-8083-exec-4####44beee8d-47b6-4438-9d77-56f10e06a597####http-outgoing-3: Shutdown connection |

When testing HTTPS URL at the HTTP/HTTPS Authentication Provider creation it shows:

"Error connecting to URL : "<HTTPS-Host> : Connect to Host:443 [Host:IPAddress1] failed: connect timed out (local port <Port> to address IPAddress2 (Host))


Read more...

Environment

  • SAP Mobile Platform (SMP) 3.0 OData Runtime SP13 or below
    • HTTP/HTTPS Authentication Provider

Product

SAP Mobile Platform 3.0

Keywords

proxy, http, https, authentication, redirect, auth, provider, module, url, HTTP/HTTPS Authentication, shutdown connection, Error connecting to URL : "<HTTPS-Host> : Connect to Host:443 [Host:IPAddress1] failed: connect timed out (local port <Port> to address IPAddress2 (Host)), basic, credentials , KBA , MOB-ONP-SEC , SAP Mobile On Premise Security , Problem

About this page

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

Search for additional results

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