# Gradle fails to connect to SDK repo

**URL:** <https://developer.squareup.com/forums/t/gradle-fails-to-connect-to-sdk-repo/8240>\
**Category:** Questions\
**Tags:** in-app-payments-sdk\
**Created:** [January 17, 2023, 11:32am UTC](https://developer.squareup.com/forums/t/gradle-fails-to-connect-to-sdk-repo/8240 "2023-01-17T11:32:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![guy7373](https://avatars.discourse-cdn.com/v4/letter/g/48db29/32.png) [@guy7373](https://developer.squareup.com/forums/u/guy7373)\
**Post date:** [January 17, 2023, 11:32am UTC](https://developer.squareup.com/forums/t/gradle-fails-to-connect-to-sdk-repo/8240/1 "2023-01-17T11:32:22Z")

</div>

When trying to get dependency from com.squareup.sdk.in-app-payments ([https://sdk.squareup.com/public/android](https://sdk.squareup.com/public/android)), gradle fails with an SSL error:

The server may not support the client’s requested TLS protocol versions: (TLSv1.2, TLSv1.3). You may need to configure the client to allow other protocols to be used.

This was working before,  
Was access policy changed? if not what can the problem be?

---

<div class="post-metadata">

**Author:** ![echen](https://avatars.discourse-cdn.com/v4/letter/e/e9bcb4/32.png) [@echen](https://developer.squareup.com/forums/u/echen)\
**Post date:** [January 17, 2023, 4:40pm UTC](https://developer.squareup.com/forums/t/gradle-fails-to-connect-to-sdk-repo/8240/2 "2023-01-17T16:40:40Z")

</div>

I’m running into the same error

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [January 17, 2023, 6:50pm UTC](https://developer.squareup.com/forums/t/gradle-fails-to-connect-to-sdk-repo/8240/3 "2023-01-17T18:50:58Z")

</div>

There is a current issue with the SDK at this time and the team is working on a fix. I’ll be sure to post with any updates. 🙂

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [January 17, 2023, 10:18pm UTC](https://developer.squareup.com/forums/t/gradle-fails-to-connect-to-sdk-repo/8240/4 "2023-01-17T22:18:06Z")

</div>

This has been fixed now. Thanks for your patience. 🙂
