| BBlack added a comment. |
It's a complicated topic I think, on our end. There are ways to make it work today, but when I try to write down generic steps any internal service could take to talk to any other (esp MW or RB), it bogs down in complications that are probably less than ideal in various language/platform contexts.
For this very particular case, the simplest way would be to do your language/platform/library's equivalent of:
curl -H 'Host: www.wikidata.org' 'https://appservers-ro.discovery.wmnet/wiki/Special:EntityData/Q2408871.ttl?nocache=1530836328152&flavor=dump'
That is, use the internal service endpoint hostname in the URI for TLS connection purposes, but then explicitly set the request Host header to www.wikidata.org for use at the HTTP level.
Whether you need the appservers-rw or api-ro or restbase-async (...) for a particular URL path for other cases underneath www.wikidata.org is the deep complication here....
Cc: BBlack, Aklapper, Smalyshev, Gehel, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
