You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the user problem or growth opportunity you want to see solved?
It would help debugging the various issues related to using API to WikimediaCommons servers.
This is a followup to #5225 (comment)
How do you know that this problem exists today? Why is this important?
Well, it existed in 4.1.0, but I have not seen changelog or comment in #5225 mentioning it has been improved in the meantime.
It is important as a lot of time and effort is wasted trying to separate temporary network or server issues from actual Commons app bugs and trying to reproduce the issue.
Who will benefit from it?
Primarily people triaging (or attempting to solve) the bug reports, but also advanced users who can read logs and determine where problem should be reported (i.e. is it server issue or Commons app issue)
Anything else you would like to add?
error seems to be of the format
2023-06-18 02:19:54,137 [ERROR] [file-logging-thread-1] [OkHttpConnectionFactory$UnsuccessfulResponseInterceptor] : java.io.IOException: {"error":{"code":"cirrussearch-backend-error","info":"We could not complete your search due to a temporary problem. Please try again later.","docref":"See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."},"servedby":"mw1449"}
Which would be much more useful if it was logged with DEBUG priority prior to this actual HTTP call (with params) that app is actually doing when it receives that error... E.g. line with something like:
[DEBUG] doing HTTP GET https://commons.wikimedia.org/w/api.php?action=opensearch&format=json&formatversion=2&namespace=14&limit=10&search=franjo%20tu%C4%91man
The text was updated successfully, but these errors were encountered:
What is the user problem or growth opportunity you want to see solved?
It would help debugging the various issues related to using API to WikimediaCommons servers.
This is a followup to #5225 (comment)
How do you know that this problem exists today? Why is this important?
Well, it existed in 4.1.0, but I have not seen changelog or comment in #5225 mentioning it has been improved in the meantime.
It is important as a lot of time and effort is wasted trying to separate temporary network or server issues from actual Commons app bugs and trying to reproduce the issue.
Who will benefit from it?
Primarily people triaging (or attempting to solve) the bug reports, but also advanced users who can read logs and determine where problem should be reported (i.e. is it server issue or Commons app issue)
Anything else you would like to add?
error seems to be of the format
Which would be much more useful if it was logged with DEBUG priority prior to this actual HTTP call (with params) that app is actually doing when it receives that error... E.g. line with something like:
The text was updated successfully, but these errors were encountered: