| Gehel created this task. Gehel added projects: Operations, Wikidata-Query-Service, Discovery. Herald added a subscriber: Aklapper. Herald added a project: Wikidata. |
TASK DESCRIPTION
nginx logs on wdqs100[12] show errors (see below for example) that seem to indicate that nginx tries to connect to backend over IPv6.
Both curl http://[::1]:80 and curl http://127.0.0.1:80 seem to work just fine (port 80 being nginx). curl http://127.0.0.1:9999 works fine and curl http://[::1]:9999 fails with curl: (7) Failed to connect to ::1 port 9999: Connection refused (port 9999 being the backend, which only listens on IPv4).
Proxy is configured by proxy_pass http://localhost:9999;. My guess is that in some cases, localhost is resolved to IPv6, but I'm not sure under which conditions this happens. Time to read some more documentation...
2016/11/29 06:51:40 [error] 3123#3123: *648919 connect() failed (111: Connection refused) while connecting to upstream, client: 10.64.32.97, server: , request: "GET /bigdata/namespace/wdq/sparql?query=PREFIX++skos%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0APREFIX++rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0A%0ASELECT++%3Fitem%0AWHERE%0A++%7B+++%7B+%3Fitem++rdfs%3Alabel++%22PEG-linked+dimeric+type+I+soluble+receptor+of+TNF%22%40en+%7D%0A++++UNION%0A++++++%7B+%3Fitem++skos%3AaltLabel++%22PEG-linked+dimeric+type+I+soluble+receptor+of+TNF%22%40en+%7D%0A++%7D%0A&timeout=10000 HTTP/1.1", upstream: "http://[::1]:9999/bigdata/namespace/wdq/sparql?query=PREFIX++skos%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2004%2F02%2Fskos%2Fcore%23%3E%0APREFIX++rdfs%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2000%2F01%2Frdf-schema%23%3E%0A%0ASELECT++%3Fitem%0AWHERE%0A++%7B+++%7B+%3Fitem++rdfs%3Alabel++%22PEG-linked+dimeric+type+I+soluble+receptor+of+TNF%22%40en+%7D%0A++++UNION%0A++++++%7B+%3Fitem++skos%3AaltLabel++%22PEG-linked+dimeric+type+I+soluble+receptor+of+TNF%22%40en+%7D%0A++%7D%0A&timeout=10000", host: "query.wikidata.org"
TASK DETAIL
EMAIL PREFERENCES
To: Gehel
Cc: Aklapper, Smalyshev, Gehel, EBjune, mschwarzer, Avner, Zppix, debt, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, faidon, Mbch331, Jay8g, fgiunchedi
Cc: Aklapper, Smalyshev, Gehel, EBjune, mschwarzer, Avner, Zppix, debt, D3r1ck01, Jonas, FloNight, Xmlizer, Izno, jkroll, Wikidata-bugs, Jdouglas, aude, Deskana, Manybubbles, faidon, Mbch331, Jay8g, fgiunchedi
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
