New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No SNI support #224
Comments
I just ran into this issue today and was wondering whether anyone had an idea as to what's involved to implement support for SNI? |
Oh, this is interesting, any progress on this @phiali, @viernullvier ? |
Alas I don't think I have the necessary expertise to code this up so as a workaround I had to change the order of my web server config to get the correct host loaded first. |
This is most probably not problem of our library, https://code.google.com/p/android/issues/detail?id=12908 |
This will be solved by using OkHttp (which is HttpURLConnection instead of DefaultHttpClient / AndroidHttpClient), in 2.0 branch, coming in few weeks. |
That's brilliant news! |
No news about this issue? |
The Code base for 2.0 is here: I'm just waiting and implement another features. |
印象笔记无法提交笔记,原因如下: 本月帐户上传流量已经达到上限。 原消息详情: 为了防止邮件过多,接下来的360分钟内,你将不会收到报错回复。 升级到印象笔记高级帐户,可以发送的邮件数量将从50封提升到200封。
|
Moving into 1.5 milestone, as OkHttp integration is not going to happen (there are already libraries using HttpURLConnection), in 1.5 milestone we'll integrate newer version of HttpClient (4.3.3 specifically) |
So SNI support will make it into the 1.5 version? Any estimate on then 1.5 will be ready? |
Any update on this? It doesn't look like SNI support is available yet. |
I moved to retrofit and it solved my problems... |
Retrofit? Sorry I'm not sure what you mean |
Its shame that SNI feature ( supported by java 1.7 which is integrated in Android studio) cant be used & in same moment, its ready to use, de facto. |
I am also leaving this lib because of this particular reason. My 2 cents. |
SNI support would be great. I enjoy this library and moving away from it would be a serious change just to support SNI. |
SNI support is added in 1.4.9, by using upstream HttpClient version 4.3.3, which already supports SNI according to this JIRA ticket https://issues.apache.org/jira/browse/HTTPCLIENT-1119 1.4.9 will be released as soon as possible. |
I guess sni support is not complete yet? Try GET https://na.cx |
Does SNI work? |
already work!!! |
not working on the 1.4.9 |
Any news on this ? It is not working on 1.4.9 it is fetching the incorrect certificate |
@AdamMiltonBarker maybe you should try okhttp instead of this lib |
At the moment AsyncHttpClient does not support SSL connections that use SNI (Server Name Identification). It's a technique that allows servers to return different SSL certificates depending on the requested host name, which allows using SSL in shared hosting scenarios. However, AsyncHttpClient only fetches the default certificate, therefore every request fails - most of the time even without an exception. It would be nice if SNI support could be added to this project.
The text was updated successfully, but these errors were encountered: