Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No timeout is defined when a OAI repository is not available #38

Open
andrefgomes opened this issue Jun 3, 2015 · 1 comment
Open

Comments

@andrefgomes
Copy link

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

@mdcarreira
Copy link

mdcarreira commented Jul 17, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants