batch.send().getResponses timeout

I always timeout while use ethereum mainnet node to get block 14670566.

java code like this:
final var batch = web3j.newBatch();
for (final var transaction : transactions) {
batch.add(web3j.ethGetTransactionReceipt(transaction.getHash()));
}
final var receipts = (List) batch.send().getResponses();

error message:
Caused by: java.net.SocketTimeoutException: timeout
at okhttp3.internal.http2.Http2Stream$StreamTimeout.newTimeoutException(Http2Stream.kt:675) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http2.Http2Stream$StreamTimeout.exitAndThrowIfTimedOut(Http2Stream.kt:684) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http2.Http2Stream.takeHeaders(Http2Stream.kt:143) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http2.Http2ExchangeCodec.readResponseHeaders(Http2ExchangeCodec.kt:96) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:111) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:93) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:96) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:84) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:64) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:205) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at okhttp3.internal.connection.RealCall.execute(RealCall.kt:158) ~[okhttp-jvm-5.0.0-alpha.6.jar:na]
at org.web3j.protocol.http.HttpService.performIO(HttpService.java:160) ~[core-5.0.0.jar:na]
at org.web3j.protocol.Service.sendBatch(Service.java:71) ~[core-5.0.0.jar:na]
at org.web3j.protocol.core.BatchRequest.send(BatchRequest.java:41) ~[core-5.0.0.jar:na]
at com.baasid.exchange.ethereum.Web3Utils.getResult(Web3Utils.java:37) ~[main/:na]

Does anyone have the same problem?

hey @AlanHsu let’s take this conversation within the support ticket. Thanks !