Tarrow added a comment.
@mobrovac and @akosiaris Sorry to drop in late to the conversation but I've been on holiday and then at the hackathon. I wanted to check a couple of things: In T220402#5186782 <https://phabricator.wikimedia.org/T220402#5186782>, @mobrovac wrote: > @Pablo-WMDE all you have to do is have the request be of this form: > > URI: http://appservers.discovery.wmnet/{+your_path_here} > headers: > Host: www.wikidata.org > > > The curl you are trying does not work because you are executing it outside the production environment and then Varnish strips out the `Host` header. All of the services work this way in prod, cf. e.g. the MCS config for making requests to MediaWiki <https://github.com/wikimedia/mediawiki-services-mobileapps-deploy/blob/b8f04dae92dd819222dc429d9cc64b285915e1bc/scap/templates/config.yaml.j2#L80>. Should we be using http rather than https internally? I also wanted to check if we should be using `appservers.discovery.wmnet` as the host; I'm not sure if I read things right but I didn't think this host is defined? Or should we aiming for `appservers-ro.discovery.wmnet` (since we are not writing)? I then saw https://phabricator.wikimedia.org/T199219#4452041 and was wondering if that is indeed the right place or if it is oddly slow/not cached. In general is there a place on wikitech (or similar) we should be looking to make sure we're getting things right? TASK DETAIL https://phabricator.wikimedia.org/T220402 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Tarrow Cc: Krenair, fsero, mobrovac, Matthias_Geisler_WMDE, Pablo-WMDE, Dzahn, Addshore, Tarrow, Lea_WMDE, WMDE-leszek, Jakob_WMDE, Aklapper, akosiaris, E.S.A-Sheild, darthmon_wmde, alaa_wmde, joker88john, Legado_Shulgin, CucyNoiD, Nandana, NebulousIris, thifranc, AndyTan, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Davinaclare77, Adrian1985, Qtn1293, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, GoranSMilovanovic, Adik2382, Th3d3v1ls, Hfbn0, Ramalepe, Liugev6, QZanden, LawExplorer, WSH1906, Lewizho99, Zppix, Maathavan, _jensen, rosalieper, Liudvikas, Wong128hk, Eevans, thcipriani, Hardikj, Wikidata-bugs, aude, Lydia_Pintscher, dduvall, faidon, Jdforrester-WMF, Mbch331, Jay8g, fgiunchedi
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
