# Getting random timeout issues while accessing hosted mender apis

**URL:** <https://hub.mender.io/t/getting-random-timeout-issues-while-accessing-hosted-mender-apis/6511>\
**Category:** General Discussions\
**Tags:** hosted, hosted-mender, management-api\
**Created:** [January 25, 2024, 4:24am UTC](https://hub.mender.io/t/getting-random-timeout-issues-while-accessing-hosted-mender-apis/6511 "2024-01-25T04:24:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nareshtech20](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nareshtech20](https://hub.mender.io/u/nareshtech20)\
**Post date:** [January 25, 2024, 4:24am UTC](https://hub.mender.io/t/getting-random-timeout-issues-while-accessing-hosted-mender-apis/6511/1 "2024-01-25T04:24:21Z")

</div>

Getting random timeout issues while accessing hosted mender apis, around 1 in 5 API requests are failing.

---------------------Error logs below -----------------  
D1iS\_uwsn28wH1PD6tzO\_7UumzPgI1YZCBXl3oCfd3UjbcSLyh-TV4  
2024-01-24T10:13:53.735Z INFO 1614866 — [nio-8088-exec-9] c.w.mender.service.ArtifactWebClient : ArtifactResponse-ArtifactResponse(artifactName=edgex-glucose-app  
-service\_4\_2\_0\_349, artifactId=51fcce0f-ea3a-4362-99bb-cf0c2a2c5657)  
DeploymentData- CreateDeploymentData[artifact\_name=edgex-glucose-app-service\_4\_2\_0\_349, all\_devices=false, name=prod, force\_installation=false]  
mf - Manifest(id=1105, artifactId=edgex-glucose-app-service\_4.2.0\_349, manifest=ManifestDetails(dest\_dir=/opt/ota/nuage-license/code/nuage-web/dist/, software\_filesyste  
m=rootfs-image, software\_name=edgex-glucose-app-service\_4.2.0\_349, software\_version=4.2.0, artifact\_name=edgex-glucose-app-service\_4.2.0\_349, device\_type=generic-x86\_64  
, filename=dist.tar, artifact\_desc=artifact on mender from API - updated successfully, file\_type=single-file, script=state-scripts/ArtifactInstall\_Enter\_00, optional=fa  
lse, device\_group=generic-device-group))  
2024-01-24T10:14:04.738Z ERROR 1614866 — [nio-8088-exec-9] c.w.mender.auth.AuthenticationManager : Timeout on blocking read for 10000000000 NANOSECONDS

## java.lang.IllegalStateException: Timeout on blocking read for 10000000000 NANOSECONDS at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:123) ~[reactor-core-3.5.6.jar!/:3.5.6] at reactor.core.publisher.Mono.block(Mono.java:1734) ~[reactor-core-3.5.6.jar!/:3.5.6]

Regards,  
Naresh

---

<div class="post-metadata">

**Author:** ![TheYoctoJester](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/theyoctojester/32/1444_2.png) [@TheYoctoJester](https://hub.mender.io/u/TheYoctoJester)\
**Post date:** [January 26, 2024, 9:20am UTC](https://hub.mender.io/t/getting-random-timeout-issues-while-accessing-hosted-mender-apis/6511/2 "2024-01-26T09:20:15Z")

</div>

Hi @nareshtech20,

Is this on Hosted Mender? In that case, you might be hitting a rate limit somewhere. How fast is this application calling?

Greetz,  
Josef

---

<div class="post-metadata">

**Author:** ![nareshtech20](https://avatars.discourse-cdn.com/v4/letter/n/46a35a/32.png) [@nareshtech20](https://hub.mender.io/u/nareshtech20)\
**Post date:** [January 28, 2024, 8:05am UTC](https://hub.mender.io/t/getting-random-timeout-issues-while-accessing-hosted-mender-apis/6511/3 "2024-01-28T08:05:53Z")

</div>

Hi @TheYoctoJester,

Not more than 5 requests in 3 mins, we have got this response with timeout error after 15 mins.

Thanks,  
Naresh
