About 23 hours ago, shortly after pywikibot commit 9fccfed, there were two unusual timeouts with `allpages` on English Wikipedia . Probably intermittent, as subsequent builds have not seen similar problems.
```
======================================================================
ERROR: test_allpages_pagesize (tests.site_tests.TestSiteGenerators)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/wikimedia/pywikibot-core/tests/site_tests.py", line 584, in test_allpages_pagesize
if (len(page.text.encode(mysite.encoding())) > 200 and
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/page.py", line 500, in text
self._text = self.get(get_redirect=True)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/tools/__init__.py", line 1327, in wrapper
return obj(*__args, **__kw)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/page.py", line 367, in get
self._getInternals(sysop)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/page.py", line 397, in _getInternals
self.site.loadrevisions(self, getText=True, sysop=sysop)
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/site.py", line 3713, in loadrevisions
for pagedata in rvgen:
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 2719, in __iter__
self.data = self.request.submit()
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 2320, in submit
self._data = super(CachedRequest, self).submit()
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1965, in submit
self.wait()
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 2180, in wait
raise TimeoutError("Maximum retries attempted without success.")
TimeoutError: Maximum retries attempted without success.
======================================================================
ERROR: test_allpages_protection (tests.site_tests.TestSiteGenerators)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/wikimedia/pywikibot-core/tests/site_tests.py", line 599, in test_allpages_protection
protect_level="sysop", total=5):
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 2719, in __iter__
self.data = self.request.submit()
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 2320, in submit
self._data = super(CachedRequest, self).submit()
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 1992, in submit
self.wait()
File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/api.py", line 2180, in wait
raise TimeoutError("Maximum retries attempted without success.")
TimeoutError: Maximum retries attempted without success.
```
https://travis-ci.org/wikimedia/pywikibot-core/jobs/83796554
They are `allpages(minsize=100, total=5)` and `allpages(protect_type="edit", protect_level="sysop", total=5)` respectively - the parameters map through predictably to expected API parameters.
These two generator calls have not previously ever caused a timeout that have been noticed by the pywikibot tests, based on no tasks being raised and as far as I can recall.
Feel free to close if this isnt worth chasing down, and we'll re-open if it starts happening with any regularity, or maybe it can easily be correlated with other problems which are known to have been fixed.