Hey HTTP client users list!

I've got some strange behavior going on and could use some help sorting it
out.

I created a reproducer project of the code that I am using to access HTTP
client:
https://github.com/nddipiazza/reproduce-400-errors

See the Reproduce400Errors class:
https://github.com/nddipiazza/reproduce-400-errors/blob/master/src/main/java/Reproduce400Errors.java

I use this class to download approximately 9 million documents from
SharePoint. And for some reason, after about 4 million docs are downloaded,
it gets stuck in a state where all requests fail with a 400 status code.

The code is pretty simple. Pool of HTTP connections. Nothing crazy.

If I stop and start the program, it will continue just fine.

Has anyone ever heard of a situation like this? How can I fix this issue?

Reply via email to