# Gradle does not support Maven repositories with SNI implemented

**URL:** <https://discuss.gradle.org/t/gradle-does-not-support-maven-repositories-with-sni-implemented/865>\
**Category:** Old Forum Archive\
**Created:** [October 7, 2014, 10:27pm UTC](https://discuss.gradle.org/t/gradle-does-not-support-maven-repositories-with-sni-implemented/865 "2014-10-07T22:27:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![harningt](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/harningt/32/269_2.png) [@harningt](https://discuss.gradle.org/u/harningt)\
**Post date:** [October 7, 2014, 10:27pm UTC](https://discuss.gradle.org/t/gradle-does-not-support-maven-repositories-with-sni-implemented/865/1 "2014-10-07T22:27:00Z")

</div>

Attempting to use the service: [https://mymavenrepo.com](https://mymavenrepo.com) fails because they are using SNI for the repository root: [https://repo.mymavenrepo.com](https://repo.mymavenrepo.com)

It would appear that updating the Apache HttpClient to a version newer than 4.3.2 should work (per ticket [https://issues.apache.org/jira/browse/HTTPCLIENT-1119](https://issues.apache.org/jira/browse/HTTPCLIENT-1119))

Note that uploading to the repository works because it appears that the Maven mechanism for uploading is different.

The error stack shows Ivy as the client, even though I indicated in the build script that maven was the repository type. I suppose this could be some sort of compatibility offered by the Ivy libraries, but it would be nice if there was a way to force maven as the mechanism implementation.
