Page MenuHomePhabricator

Empty Kartotherian maps because of password authentication failure
Closed, ResolvedPublic

Description

At the Wikivoyage projects many maps are empty since yesterday. All maps concerned use mapshaps delivered by the WMF's mapserver, see for instance https://de.wikivoyage.org/wiki/Vorlage:Mapframe. There are two failures:

  1. password failure
  2. Javascript failure

Firstly, I tried a call like this

https://maps.wikimedia.org/geoline?getgeojson=1&ids=Q3392

and I got the response "password authentication failed for user \"kartotherian\"". This should not happen. Normally the mapserver should return a string like:

{"type":"FeatureCollection","features":[{"type":"Feature","id":"Q3392","properties":{},"geometry":{"type":"MultiPolygon","coordinates":...

Secondly, the empty maps are the result of an erroneous Javascript script. It looks for responses (promises) from the mapserver, and in case of missing responses the script stops working. But also in case of missing promises a map should be drawn. I think the script should work like this:

Promise.all( promiseArray )
	.then( function() { drawMap(); } ) // normal with retrieved data
	.catch( function() { drawMap(); } ); // with only some retrieved data

Event Timeline

Restricted Application added subscribers: Liuxinyu970226, Aklapper. · View Herald TranscriptSep 4 2019, 6:42 AM

Mentioned in SAL (#wikimedia-operations) [2019-09-04T12:36:45Z] <gehel> restart kartotherian on maps1001 - T231964

Mentioned in SAL (#wikimedia-operations) [2019-09-04T12:49:00Z] <gehel> reset kartotherian password on maps slaves - T231964

Gehel added a subscriber: Gehel.Sep 4 2019, 12:50 PM

password reset completed. The password configuration is duplicated for master / slaves and was not updated for slaves. This should be back to normal. @MSantos : can you confirm and close if all looks good?

MSantos closed this task as Resolved.Sep 4 2019, 12:53 PM
MSantos claimed this task.