Page MenuHomePhabricator
Feed Advanced Search

Oct 20 2023

Aloist added a watcher for WikiSEO: Aloist.
Oct 20 2023, 1:58 PM

Jan 29 2022

Aloist added a comment to T271407: Upgrade envoyproxy to 1.16.2.

I suggest to activate configuration option
accept_http_10
(bool) Handle incoming HTTP/1.0 and HTTP 0.9 requests. This is off by default, and not fully standards compliant. There is support for pre-HTTP/1.1 style connect logic, dechunking, and handling lack of client host iff
because php function file_get_contents() uses protocol http/1.0

Jan 29 2022, 6:50 PM · SRE, serviceops, Traffic
Aloist added a comment to T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required').

I checked the code in Mediawiki 1.35.5 the current LTS version.
If one enables httpEngine curl there, one will likely run into the same problem.
It still has $this->curlOptions[CURLOPT_HTTP_VERSION] = CURL_HTTP_VERSION_1_0;

Jan 29 2022, 6:26 PM · Upstream, SRE, Traffic
Aloist added a comment to T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required').

I think I solved it.

Jan 29 2022, 1:33 PM · Upstream, SRE, Traffic
Aloist renamed T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required') from /upload.wikimedia.org replies There was a problem during the HTTP request: 426 Upgrade Required to Probem with WMF Envoy proxy. was: /upload.wikimedia.org replies There was a problem during the HTTP request: 426 Upgrade Required.
Jan 29 2022, 12:07 PM · Upstream, SRE, Traffic
Aloist added a comment to T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required').

Envoy is a proxy at WMF

Jan 29 2022, 11:44 AM · Upstream, SRE, Traffic
Aloist added a comment to T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required').

When I drop the --http1.0 option from the request, it works also from my production server:

Jan 29 2022, 11:18 AM · Upstream, SRE, Traffic
Aloist added a comment to T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required').

I have Mediawiki installations on two servers, the test server and the production server.

Jan 29 2022, 11:07 AM · Upstream, SRE, Traffic
Aloist reopened T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required') as "In Progress".
Jan 29 2022, 10:22 AM · Upstream, SRE, Traffic
Aloist added a comment to T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required').

It is possible the problem is related to php function file_get_contents which defaults to http/1.0 protocl_version.

Jan 29 2022, 10:21 AM · Upstream, SRE, Traffic

Jan 28 2022

Aloist created T300366: Problem loading thumbnail images due to Envoy (HTTP/1.0 clients getting '426 Upgrade Required').
Jan 28 2022, 12:28 PM · Upstream, SRE, Traffic

Jul 11 2016

Aloist added a comment to T137051: User group assignment no longer properly detected.

I use php 5.6.23

Jul 11 2016, 5:48 PM · MW-1.27-release-notes, Patch-For-Review, MW-1.28-release (WMF-deploy-2016-08-23_(1.28.0-wmf.16)), MW-1.28-release-notes, MW-1.28-release (WMF-deploy-2016-08-09_(1.28.0-wmf.14)), MediaWiki-extensions-Lockdown
Aloist added a comment to T139473: CirrusSearch index names in cluster can conflict.

My function getIndexName reads now:
public function getIndexName( $name, $type = false, $identifier = false ) {

        global $wgElasticaIndexPrefix;  //Alois
        if ( $type ) {
                $name .= '_' . $type;
        }
        if ( $identifier ) {
                $name .= '_' . $identifier;
        }
        if ( isset($wgElasticaIndexPrefix) ) {  //Alois 3 lines
          return $wgElasticaIndexPrefix.$name;
        }
        return $name;
}
Jul 11 2016, 2:56 PM · Discovery-Search, CirrusSearch, Discovery-ARCHIVED
Aloist added a comment to T137051: User group assignment no longer properly detected.

I think this is up to Daniel, who is the creator of the extension, and has already claimed the task.

Jul 11 2016, 2:48 PM · MW-1.27-release-notes, Patch-For-Review, MW-1.28-release (WMF-deploy-2016-08-23_(1.28.0-wmf.16)), MW-1.28-release-notes, MW-1.28-release (WMF-deploy-2016-08-09_(1.28.0-wmf.14)), MediaWiki-extensions-Lockdown

Jul 10 2016

Aloist added a comment to T139473: CirrusSearch index names in cluster can conflict.

@EBernhardson, yes it seems to work.
I defined a prefix 'wwi_' and let the function retrn $prefix . $name

Jul 10 2016, 3:39 PM · Discovery-Search, CirrusSearch, Discovery-ARCHIVED

Jul 9 2016

Aloist added a comment to T137051: User group assignment no longer properly detected.

I think I have a fix.

Jul 9 2016, 12:04 PM · MW-1.27-release-notes, Patch-For-Review, MW-1.28-release (WMF-deploy-2016-08-23_(1.28.0-wmf.16)), MW-1.28-release-notes, MW-1.28-release (WMF-deploy-2016-08-09_(1.28.0-wmf.14)), MediaWiki-extensions-Lockdown

Jul 6 2016

Aloist updated the task description for T139473: CirrusSearch index names in cluster can conflict.
Jul 6 2016, 3:30 PM · Discovery-Search, CirrusSearch, Discovery-ARCHIVED
Aloist created T139473: CirrusSearch index names in cluster can conflict.
Jul 6 2016, 3:29 PM · Discovery-Search, CirrusSearch, Discovery-ARCHIVED

Jul 5 2016

Aloist raised the priority of T37337: Ensure all site logos support HiDPI screens to avoid pixelated/blurry look from Low to High.
Jul 5 2016, 10:43 AM · Goal, Wikimedia-Site-requests
Aloist added a comment to T37337: Ensure all site logos support HiDPI screens to avoid pixelated/blurry look.
Jul 5 2016, 10:42 AM · Goal, Wikimedia-Site-requests