Page MenuHomePhabricator

[betalabs] Add image - "Suggestions are no longer available..." with 403 error
Closed, ResolvedPublic


  1. On betalabs Special:Homepage use ge.utils.setUserVariant('imagerecommendation') to enable image recommendation.
  2. Go to any image recommendation article - "Suggestions are no longer available on this article" is displayed.

The Console shows :

Error fetching URL: Received HTTP code 403 from proxy after CONNECT
* There was a problem during the HTTP request: 0 Error

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

ServiceImageRecommendationProvider is configured to use the url-downloader proxy, which is reasonable in general when making a web request but doesn't work when the API itself is in WMCS (and so no proxy is needed).

Change 736623 had a related patch set uploaded (by Gergő Tisza; author: Gergő Tisza):

[operations/mediawiki-config@master] Add Image: Do not use proxy in Beta

Change 736623 merged by jenkins-bot:

[operations/mediawiki-config@master] Add Image: Do not use proxy in Beta

Mentioned in SAL (#wikimedia-operations) [2021-11-04T14:24:59Z] <urbanecm@deploy1002> Synchronized wmf-config/CommonSettings.php: 1e5b2503c47f0eb3fd8d797acf94dd48a8e7a6f6: Add Image: Do not use proxy in Beta (T294987) (duration: 01m 05s)