Handle urllib3.exceptions.InvalidChunkLength
from urllib3 causing bot to go idle
#32
Labels
bug
Something isn't working
In some cases (seemingly random) a request to some RootMe endpoint returns an unexpected chunk.
This seems to be known on the urllib3 project and is probably due to an ambiguity in RFC7230 (HTTP/1.1), causing the client (us) and the server (RootMe) to behave differently thus causing the issue.
The bot, itself, behaves correctly and goes idle as expected, however this seems to happen a bit too frequently and we might want to handle it to avoid the burden of
!resume
-ing it each time.Three solutions could be implemented on our side:
urllib3
exceptionrequests
exceptionHere are the logs:
The text was updated successfully, but these errors were encountered: