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

Connection broken: IncompleteRead #33

Closed
symac opened this issue Nov 14, 2019 · 1 comment
Closed

Connection broken: IncompleteRead #33

symac opened this issue Nov 14, 2019 · 1 comment

Comments

@symac
Copy link

symac commented Nov 14, 2019

Hello,
when trying to harvest the data from the server http://staroai.theses.fr/OAIHandler with the tef metadataPrefix I end up getting a message saying :

Connection broken: IncompleteRead

It's not easy to replicate as it happened, for my last two retries when trying to get page number 299 or page 155, so seems to be some king of timeout issue, but I am not sure on the best way to handle it.

@mloesch
Copy link
Owner

mloesch commented Feb 9, 2020

Cannot reproduce this. The only solution that I can think of is to call record_iterator.next() manually, catch the IncompleteRead Exception and implement a custom retry mechanism.

@mloesch mloesch closed this as completed Feb 9, 2020
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