Android 6.0.1 Marshmallow SNI hostname

J Joerg Koch 3 years 7 months ago
9 1 0

Hi all,

since updating to Android 6.0.1 I get the following error when my app connects to my external API via HTTPS and Rho::Network.get:

Error log:
[Fri Jul 01 01:44:12 2016] [error] Hostname / provided via SNI and hostname provided via HTTP are different

SSL access log:
[01/Jul/2016:01:42:19 +0200] "GET HTTP/1.1" 400 1768 "-" "Mozilla-5.0 (ANDROID; samsung klte; 6.0.1)"

where IP-ADDRESS is the IP address of the VPS server and DOMAIN-NAME is the domain name of the API application.

So SNI seems to get no hostname at all just the IP. HTTP status code 400 ist returned. On Andoird Marshmallow, everything works as expected.

Tested on: Samsung Galaxy S5, Google Nexus 7 2013
RhoMobile version of the app: 5.0.38
Android version: 5.1.1

Thanks for any hints on how to solve this problem!

Please Register or Login to post a reply

1 Replies

T TAU TECHNOLOGIES

Hi Joerg,

It's already fixed and will be available in Rho 5.5 which will be released by Tau Technologies in August. Public beta will be available next week.

Regards,
Konstantin

CONTACT
Can’t find what you’re looking for?