xoai icon indicating copy to clipboard operation
xoai copied to clipboard

No timeout is defined when a OAI repository is not available

Open andrefgomes opened this issue 10 years ago • 1 comments

XOAI will try forever to connect to a OAI repository that is not available

andrefgomes avatar Jun 03 '15 17:06 andrefgomes

For what I could assert, it gives a timeout after 1 minute:

com.lyncode.xoai.serviceprovider.exceptions.HttpException: java.net.SocketTimeoutException: Read timed out
    at com.lyncode.xoai.serviceprovider.client.HttpOAIClient.execute(HttpOAIClient.java:98)
    at com.lyncode.xoai.serviceprovider.handler.IdentifyHandler.handle(IdentifyHandler.java:38)
    at com.lyncode.xoai.serviceprovider.ServiceProvider.identify(ServiceProvider.java:45)
    ...

If anyone can replicate this issue please let us know.

mdcarreira avatar Jul 17 '17 17:07 mdcarreira