mwoffliner
mwoffliner copied to clipboard
wikipedia_arz_all: Unable to retrieve js/css dependencies for article
wikipedia_arz_all fails because of one article not able to fetch dependencies because of a backend error internal_api_error_Wikimedia\RequestTimeout\RequestTimeoutException
, it can be replicated by:
npm start -- [email protected] --mwUrl=https://arz.wikipedia.org --articleList "رقيب الشمس السمحى"
the API URL:
https://arz.wikipedia.org/w/api.php?action=parse&format=json&prop=modules%7Cjsconfigvars%7Cheadhtml&page=%D8%B1%D9%82%D9%8A%D8%A8%20%D8%A7%D9%84%D8%B4%D9%85%D8%B3%20%D8%A7%D9%84%D8%B3%D9%85%D8%AD%D9%89
@uriesk I wonder if we could replace (for Wikimedia wiki only) the usage of this backend with the usage of /api/rest_v1/page/mobile-html-offline-resources/
... at least would be great to reduce it because this end-point generates a lot of load on backend side, see https://phabricator.wikimedia.org/T324866
Another one at wikipedia_ceb_all
https://farm.openzim.org/pipeline/72331d6329a4e53291be2c36/debug
Unable to retrieve js/css dependencies for article 'Polymixis flavicincta': internal_api_error_DBConnectionError
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
I can't reproduce exact same issue with WikimediaMobile or WikimediaDesktop renderers now. Both arz
and ceb
wikis work. The problem I faced is that the Kiwix main index page is not working for Polymixis_flavicincta
in ceb.wikipedia.org
and for رقيب الشمس السمحى
in arz.wikipedia.org
. The problem is in line we we getting articleDetail
const articleDetail = await articleDetailXId.get(articleId)
The articles above have null
value there.
I have reconfigured https://farm.openzim.org/recipes/wikipedia_arz_all/ to use the dev version of MWoffliner to see it works better.
After updating the main branch and additional testing I can't reproduce the issue that I mentioned above as well.