While we are retrieving data using box Rest-API's, getting exception(connection timed out: api.box.com/185.235.236.197:443) very frequently.
Initially we were getting 429 status code as request rate limit were exceeding, so we handled it by making less then 16 calls per second But now we are getting connection timeout exception without any status code.
We are getting below Exceptions :
Exception: 1
reactor.core.Exceptions$ErrorCallbackNotImplemented: io.netty.channel.ConnectTimeoutException: connection timed out: api.box.com/185.235.236.197:443
Caused by: io.netty.channel.ConnectTimeoutException: connection timed out: api.box.com/185.235.236.197:443
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:261) ~[netty-transport-4.1.53.Final.jar:4.1.53.Final]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ Request to GET https://api.box.com/2.0/files/732393180955/content [DefaultWebClient]
Exception: 2
io.netty.handler.ssl.SslHandshakeTimeoutException: handshake timed out after 10000ms
at io.netty.handler.ssl.SslHandler$5.run(SslHandler.java:2069) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ Request to GET https://api.box.com/2.0/files/732452862010/comments [DefaultWebClient]
Exception: 3- While downloading file content
io.netty.handler.ssl.SslHandshakeTimeoutException: handshake timed out after 10000ms
at io.netty.handler.ssl.SslHandler$5.run(SslHandler.java:2069) ~[netty-handler-4.1.53.Final.jar:4.1.53.Final]
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
|_ checkpoint ⇢ Request to GET https://public.boxcloud.com/d/1/b1!6Z6xl84FRm_obRWjp5EDWSWV9PLXGTTPf5g-UT0GyWE1cz9lEtgcxh-....
We really appreciate if any one can let us know the exact cause of these exceptions , so we can handle these exceptions in proper manner.
-Vivek