[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-26 Thread BBlack
BBlack added a comment.


  I think you ran into a temporary blip in some unrelated DNS work (which is 
already dealt with), not this bug (502 errors can happen for real infra failure 
reasons, too!)

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup, BBlack
Cc: BBlack, MoritzMuehlenhoff, darthmon_wmde, elukey, Addshore, WMDE-leszek, 
Ladsgroup, CDanis, Joe, Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, 
Legado_Shulgin, Nandana, Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, 
GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, LawExplorer, Zppix, _jensen, 
rosalieper, Scott_WUaS, Jonas, Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, 
faidon, Mbch331, Rxy, Jay8g, fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-25 Thread Ladsgroup
Ladsgroup added a comment.


  Given T238901#5687813  it 
seems it's fixed.

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup
Cc: MoritzMuehlenhoff, darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, 
CDanis, Joe, Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, 
Nandana, Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, 
Th3d3v1ls, Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, 
Jonas, Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, 
Jay8g, fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread Joe
Joe added a comment.


  In T237319#5681384 , 
@darthmon_wmde wrote:
  
  > Is there anything that we can quickly do on wikibase to fix this? 
  > if so, please advise what concretely.
  > Thanks!
  
  In general, whenever your code decides to respond with a 304 not modified or 
a 204 no content status code, no content body should be sent to the client.
  
  While the FCGI specification[1] isn't extremely clear on this topic, the HTTP 
one is, and for instance nginx refuses to accept as valid 304 responses with a 
body, see for instance https://trac.nginx.org/nginx/ticket/459
  
  So the  code for `Special:EntityData` should not emit a body when returning a 
304 response code, or any wikibase installation using nginx as a webserver 
would fail to respond to `Special:EntityData`.
  
  [1] FCGI is the protocol PHP-FPM speaks - specification is here 
https://github.com/fast-cgi/spec/blob/master/spec.md (rather obscure, in fact)

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Joe
Cc: darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, 
Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, Nandana, 
Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, 
Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, 
fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread elukey
elukey added a comment.


  In T237319#5681384 , 
@darthmon_wmde wrote:
  
  > Is there anything that we can quickly do on wikibase to fix this? 
  > if so, please advise what concretely.
  > Thanks!
  
  @darthmon_wmde hi! So the issue seems to be that URLs like 
www.wikidata.org/wiki/Special:EntityData/Q38646387.json might lead to a HTTP 
304 response with a body, that violates HTTP specs. This is currently not 
handled by the Apache httpd version that we use on Debian Stretch (namely 
proactively dropping the body in case it is found) so a fix in our code would 
definitely help.

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: elukey
Cc: darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, 
Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, Nandana, 
Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, 
Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, 
fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread elukey
elukey added a comment.


  Thanks, will remember to use -v :)
  
  On buster + sury's php7.2-fpm + apache 2.4.38 I cannot repro:
  
root@497a89a9ac42:/# curl localhost/test.php -v
* Expire in 0 ms for 6 (transfer 0x5604525d2f50)
* Expire in 1 ms for 1 (transfer 0x5604525d2f50)
* Expire in 0 ms for 1 (transfer 0x5604525d2f50)
* Expire in 1 ms for 1 (transfer 0x5604525d2f50)
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Expire in 149997 ms for 3 (transfer 0x5604525d2f50)
* Expire in 200 ms for 4 (transfer 0x5604525d2f50)
* Connected to localhost (127.0.0.1) port 80 (#0)
> GET /test.php HTTP/1.1
> Host: localhost
> User-Agent: curl/7.64.0
> Accept: */*
>
< HTTP/1.1 304 Not Modified
< Date: Fri, 22 Nov 2019 07:22:15 GMT
< Server: Apache/2.4.38 (Debian)
<
* Connection #0 to host localhost left intact
  
  I thought to use git bisect to nail down the commit that fixes the problem, 
but then I remembered http://svn.apache.org/r1837056 (plus 
https://svn.apache.org/r1843242 as follow up for mod_brotli/deflate). The fix 
handles the 304/204 body problem in the http output filter, so after all the 
content generators (like mod_proxy_fcgi) and before sending the response to the 
external client.
  
  The change is not small and contained in one file, but we could think about 
adding it to our current httpd debian stretch version while waiting for Buster 
for appservers.

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: elukey
Cc: darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, 
Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, Nandana, 
Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, 
Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, 
fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread Vgutierrez
Vgutierrez added a comment.


  And I can reproduce the issue as well with 
docker-registry.wikimedia.org/dev/stretch-php72-fpm-apache2.
  Dockerfile:
  
FROM docker-registry.wikimedia.org/dev/stretch-php72-fpm-apache2
RUN mkdir -p /tmp/php
RUN sed -i s/runuser/www-data/ /etc/apache2/apache2.conf
COPY poc.php /var/www/html
  
  
  
willikins:fpm-apache2 vgutierrez$ curl -v http://127.0.0.1:8080/poc.php
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8080 (#0)
> GET /poc.php HTTP/1.1
> Host: 127.0.0.1:8080
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 304 Not Modified
< Date: Fri, 22 Nov 2019 02:55:52 GMT
< Server: Apache/2.4.25 (Debian)
< Connection: Upgrade
<
* Excess found in a non pipelined read: excess = 4 url = /poc.php 
(zero-length body)
* Connection #0 to host 127.0.0.1 left intact
* Closing connection 0
  
  versions used inside the container:
  
willikins:fpm-apache2 vgutierrez$ docker exec apache dpkg -l php7.2-fpm
ii  php7.2-fpm 7.2.24-1+0~20191026.31+debian9~1.gbpbbacde+wmf1 amd64
server-side, HTML-embedded scripting language (FPM-CGI binary)
willikins:fpm-apache2 vgutierrez$ docker exec apache dpkg -l apache2
ii  apache22.4.25-3+deb9u9 amd64Apache HTTP Server

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vgutierrez
Cc: darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, 
Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, Nandana, 
Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, 
Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, 
fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread Vgutierrez
Vgutierrez added a comment.


  And using a dumb TCP client we can see the 4 excess bytes:
  
vgutierrez@mwdebug2001:~$ python3
[...]
>>> import socket
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> s.connect(('10.192.0.98', 80))
>>> s.send("GET /w/vgutierrez.php HTTP/1.1\r\nHost: 
en.wikipedia.org\r\n\r\n".encode())
58
>>> s.recv(1024)
b'HTTP/1.1 304 Not Modified\r\nDate: Fri, 22 Nov 2019 02:33:07 
GMT\r\nServer: mwdebug2001.codfw.wmnet\r\n\r\ntest'
>>> s.close()

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vgutierrez
Cc: darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, 
Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, Nandana, 
Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, 
Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, 
fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread Vgutierrez
Vgutierrez added a comment.


  please note that I cannot reproduce on mwdebug using `curl -i`, see the 
difference:
  
vgutierrez@mwdebug2001:~$ curl --resolve en.wikipedia.org:80:10.192.0.98 
http://en.wikipedia.org/w/vgutierrez.php -v
* Added en.wikipedia.org:80:10.192.0.98 to DNS cache
* Hostname en.wikipedia.org was found in DNS cache
*   Trying 10.192.0.98...
* TCP_NODELAY set
* Connected to en.wikipedia.org (10.192.0.98) port 80 (#0)
> GET /w/vgutierrez.php HTTP/1.1
> Host: en.wikipedia.org
> User-Agent: curl/7.52.1
> Accept: */*
>
< HTTP/1.1 304 Not Modified
< Date: Fri, 22 Nov 2019 02:26:32 GMT
< Server: mwdebug2001.codfw.wmnet
<
* Excess found in a non pipelined read: excess = 4 url = /w/vgutierrez.php 
(zero-length body)
* Curl_http_done: called premature == 0
* Connection #0 to host en.wikipedia.org left intact
vgutierrez@mwdebug2001:~$ curl --resolve en.wikipedia.org:80:10.192.0.98 
http://en.wikipedia.org/w/vgutierrez.php -i
HTTP/1.1 304 Not Modified
Date: Fri, 22 Nov 2019 02:26:35 GMT
Server: mwdebug2001.codfw.wmnet

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vgutierrez
Cc: darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, 
Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, Nandana, 
Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, 
Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, 
fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread elukey
elukey added a comment.


  I have created a Docker image for Debian stretch installing apache2 (same 
version of the mw app servers) + php7.2-fpm from Sury's repo + the following 
trivial config:
  

Options Indexes FollowSymLinks
AllowOverride None
Require all granted
   
   SetHandler "proxy:unix:/run/php/php7.2-fpm.sock|fcgi://localhost"
   

  
  and
  
root@75ab41fd13ca:/# cat /var/www/test.php
https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: elukey
Cc: darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, 
Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, Nandana, 
Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, 
Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, 
fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread darthmon_wmde
darthmon_wmde added a comment.


  Is there anything that we can quickly do on wikibase to fix this?
  
  if so, please advise what concretely.
  
  Thanks!

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: darthmon_wmde
Cc: darthmon_wmde, elukey, Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, 
Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, Legado_Shulgin, Nandana, 
Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, 
Hfbn0, QZanden, LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, 
Wong128hk, Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, 
fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread elukey
elukey added a comment.


  On mwdebug2001 this seems to be the mod proxy fcgi debug:
  
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:debug] [pid 4516:tid 
140373593552640] mod_proxy_fcgi.c(913): [client 10.192.0.98:37452] AH01076: 
url: fcgi://localhost/srv/mediawiki/docroot/wikidata.org/w/index.php proxyname: 
(null) proxyport: 0
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:debug] [pid 4516:tid 
140373593552640] mod_proxy_fcgi.c(920): [client 10.192.0.98:37452] AH01078: 
serving URL fcgi://localhost/srv/mediawiki/docroot/wikidata.org/w/index.php
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'UNIQUE_ID' value 'REDACTED'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'HTTP_AUTHORIZATION' value ''
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'HTTP_CONTENT_TYPE' value ''
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'HTTP_CONTENT_LENGTH' value ''
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'SCRIPT_URL' value 
'/wiki/Special:EntityData/Q38646387.json'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'SCRIPT_URI' value 
'http://www.wikidata.org/wiki/Special:EntityData/Q38646387.json'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'RW_PROTO' value 'http'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'HTTP_HOST' value 'www.wikidata.org'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'HTTP_USER_AGENT' value 'curl/7.52.1'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'HTTP_ACCEPT' value '*/*'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'HTTP_IF_MODIFIED_SINCE' value 'Sat, 30 Mar 2019 
07:05:28 GMT'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'PATH' value 
'/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'SERVER_SIGNATURE' value ''
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'SERVER_SOFTWARE' value 'mwdebug2001.codfw.wmnet'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'SERVER_NAME' value 'www.wikidata.org'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'SERVER_ADDR' value '10.192.0.98'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'SERVER_PORT' value '80'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'REMOTE_ADDR' value '10.192.0.98'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'DOCUMENT_ROOT' value 
'/srv/mediawiki/docroot/wikidata.org'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 140373593552640] mod_proxy_fcgi.c(308): [client 10.192.0.98:37452] 
AH01062: sending env var 'REQUEST_SCHEME' value 'http'
Nov 21 12:02:13 mwdebug2001 apache2[4516]: [proxy_fcgi:trace8] [pid 
4516:tid 

[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread Vgutierrez
Vgutierrez added a comment.


  so it looks like the apache fix doesn't fix every scenario. This small PoC 
triggers the issue:
  
https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vgutierrez
Cc: Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, Vgutierrez, ema, Nikerabbit, 
DannyS712, Aklapper, darthmon_wmde, Legado_Shulgin, Nandana, Davinaclare77, 
Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, 
LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, Wong128hk, 
Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] [Commented On] T237319: 502 errors on ATS/8.0.5

2019-11-21 Thread Ladsgroup
Ladsgroup added a comment.


  @addshore @wmde-leszek: it seems we are causing this. We should take a look

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Ladsgroup
Cc: Addshore, WMDE-leszek, Ladsgroup, CDanis, Joe, Vgutierrez, ema, Nikerabbit, 
DannyS712, Aklapper, darthmon_wmde, Legado_Shulgin, Nandana, Davinaclare77, 
Qtn1293, Techguru.pc, Lahi, Gq86, GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, 
LawExplorer, Zppix, _jensen, rosalieper, Scott_WUaS, Jonas, Wong128hk, 
Wikidata-bugs, aude, Lydia_Pintscher, faidon, Mbch331, Rxy, Jay8g, fgiunchedi
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs