# Cumulocity API - Max retries per URL

**URL:** https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224
**Category:** Forum
**Tags:** cumulocity, analytics
**Created:** [April 28, 2025, 7:55pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224 "2025-04-28T19:55:37Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![bdm](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/bdm/32/11919_2.png) [@bdm](https://community.cumulocity.com/u/bdm)
#### Post date: [April 28, 2025, 7:55pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/1 "2025-04-28T19:55:38Z")

</div>

I am seeing sometimes the following log related to max retries for URL, what is the default maximum? and is it possible to tune it?

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/0/3/0323704d0b08d6a00e8737042dfd70402c9b8258.png)

---

<div class="post-metadata">

### Author: ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)
#### Post date: [April 28, 2025, 9:14pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/2 "2025-04-28T21:14:26Z")

</div>

Hi @bdm,

it would help if you could provide details regarding the software/agent that produced these logs (e.g. name and version).  
It would also make it easier for others if you would copy the logs as text instead of taking screenshots from it.

Regards,  
Tristan

---

<div class="post-metadata">

### Author: ![bdm](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/bdm/32/11919_2.png) [@bdm](https://community.cumulocity.com/u/bdm)
#### Post date: [April 29, 2025, 8:47am UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/3 "2025-04-29T08:47:20Z")

</div>

Hello Tristan,

It is a python code doing API calls to cumulocity, It seems we are reaching some API rate limit, so I would like to know what is the current limit and is it possible to increase it?

HTTPSConnectionPool(host=‘[xxx.emea.cumulocity.com](http://xxx.emea.cumulocity.com)’, port=443): Max retries exceeded with url: /inventory/managedObjects//6442467913 (Caused by SSLError(SSLEOFError(8, ‘[SSL: UNEXPECTED\_EOF\_WHILE\_READING] EOF occurred in violation of protocol (\_ssl.c:1000)’)))  
Error in POST/PUT to Cumulocity  
HTTPSConnectionPool(host=‘[xxx.emea.cumulocity.com](http://xxx.emea.cumulocity.com)’, port=443): Max retries exceeded with url: /event/events (Caused by SSLError(SSLEOFError(8, ‘[SSL: UNEXPECTED\_EOF\_WHILE\_READING] EOF occurred in violation of protocol (\_ssl.c:1000)’)))

---

<div class="post-metadata">

### Author: ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)
#### Post date: [April 29, 2025, 9:51am UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/4 "2025-04-29T09:51:56Z")

</div>

Did you google it? could be a client issue.

---

<div class="post-metadata">

### Author: ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)
#### Post date: [April 29, 2025, 12:43pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/5 "2025-04-29T12:43:07Z")

</div>

This sounds pretty much like [SSL: UNEXPECTED\_EOF\_WHILE\_READING · Issue #3360 · urllib3/urllib3 · GitHub](https://github.com/urllib3/urllib3/issues/3360)

And sounds more like an issue with your code.

---

<div class="post-metadata">

### Author: ![bdm](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/bdm/32/11919_2.png) [@bdm](https://community.cumulocity.com/u/bdm)
#### Post date: [April 29, 2025, 2:23pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/6 "2025-04-29T14:23:40Z")

</div>

This started after implementing multi-treading and I need multi-treading, so what is the solution??

---

<div class="post-metadata">

### Author: ![bdm](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/bdm/32/11919_2.png) [@bdm](https://community.cumulocity.com/u/bdm)
#### Post date: [April 29, 2025, 2:25pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/7 "2025-04-29T14:25:18Z")

</div>

It is very easy to google anything, but I need a trusted expert advise from the community, if you have any handful tip it will be great to share it

---

<div class="post-metadata">

### Author: ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)
#### Post date: [April 29, 2025, 3:08pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/8 "2025-04-29T15:08:40Z")

</div>

To be clear: This community is not meant to fix your custom solution issues. We are here to help and give pointers, but you need to fix them yourself.

If you need additional & “trusted expert advise” on generic things like multi-threaded microservice design, solution architecture, python client issues etc. I would ask you to approach Professional Services or get consultancy somewhere else.

---

<div class="post-metadata">

### Author: ![bdm](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/bdm/32/11919_2.png) [@bdm](https://community.cumulocity.com/u/bdm)
#### Post date: [April 29, 2025, 3:42pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/9 "2025-04-29T15:42:21Z")

</div>

By the way Stefan, you are not obliged to read and reply. Very rude and unprofessional approach! If not feeling like going to work today just take a vacation..

---

<div class="post-metadata">

### Author: ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)
#### Post date: [April 29, 2025, 4:13pm UTC](https://community.cumulocity.com/t/cumulocity-api-max-retries-per-url/12224/10 "2025-04-29T16:13:00Z")

</div>


