Gehel added a comment.

  Continuing investigation:
  
  1. capture tcpdump from cp1045: `sudo tcpdump -i any 'host 
wdqs1001.eqiad.wmnet or port 80' -w varnish.pcap`. This should capture both 
ingress and egress traffic to varnish.
  2. send query directly to varnish from cp1045: `curl -k -D - 
'http://localhost/bigdata/namespace/wdq/sparql?query=SELECT%20%3Fitem%20WHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP22%20%3Fsub0%20.%0A%20%20%3Ftree0%20(wdt%3AP40)*%20%3Fsub0%20.%0A%20%20BIND%20(wd%3AQ7210%20AS%20%3Ftree0)%0A%7D&format=json'
 --header 'Host: query.wikidata.org' --header 'X-Forwarded-Proto: https'`
  3. check that `X-Served-By` == wdqs1001
  4. analysis with wireshark, with filter `http.request.uri contains tree0` 
(tree0 matches the query string)
  5. only one packet matches (ingress to varnish), I can't see any traffic from 
varnish to wdqs
  
  As a check, I did the same test with random URLs where the response comes 
from WDQS, I can see ingress and egress traffic.
  
  This actually does not match the previous observations where I did see the 
request arriving at wdqs. I probably need more coffee (or a second pair of eyes 
if anyone is interested...).

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

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

To: Gehel
Cc: BBlack, Gehel, Nikki, Mbch331, Magnus, JanZerebecki, Smalyshev, Aklapper, 
StudiesWorld, Bugreporter, debt, D3r1ck01, FloNight, Izno, jkroll, 
Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to