Page MenuHomePhabricator

Geoline is shown in full size map view, but static map in the article renders empty
Closed, ResolvedPublicBUG REPORT

Description

Event Timeline

JStrodt_WMDE renamed this task from Geoline is shown in full size map view, but not in the article to Geoline is shown in full size map view, but map in the article renders empty.Jul 13 2022, 3:11 PM

Weird. Seems like an initial error state + caching issue ? I opened the page, image missing, I open the inspector, grabbed the links from the element, opened those SEPARATELY, the image loaded, refresh the page, the page has the image....

Weird. Seems like an initial error state + caching issue ? I opened the page, image missing, I open the inspector, grabbed the links from the element, opened those SEPARATELY, the image loaded, refresh the page, the page has the image....

Yes, that's something I've noticed with several maps, too.

I noticed another caching bug, maybe related as well? T313010

This problem still happens all the time.

It is very strange, and indicates a pretty fundamental problem somewhere, where a server is serving up incorrect data either at the static map generator or at the caching layer.

It also pretty consistently seems to keep happening to certain maps.. Read only files on a server or something so that the new version cannot be written ???

TheDJ renamed this task from Geoline is shown in full size map view, but map in the article renders empty to Geoline is shown in full size map view, but static map in the article renders empty.Nov 9 2022, 9:55 AM
TheDJ triaged this task as Low priority.

Example:

Broken url with Module+talk
Working url with Module_talk (but you can also just add random &data at the end of the url to cause variance)

There are only two differences.:

  1. the links have the same e-tag, but differing content-lengths...
  2. the working server went through cp3055 and cp3051. While the broken server has two miss'es both via 3051 ????

I've also seen x-cache: cp3059 miss, cp3051 miss produce a working image and x-cache: cp3053 miss, cp3051 miss. But when both misses are on cp3051, it seems pretty consistently broken ?

Seems to me like an important hint ?

curl -v https://maps.wikimedia.org/img/osm-intl,14,52.371993,9.7354699,222x222@2x.png\?lang\=en\&domain\=en.wikipedia.org\&title\=Module+talk%3AMapframe\&revid\=1120881180\&groups\=_bc8bdc276a154407113a9a6d5ce06130d5fd3ea3 -O -H "Cache-Control:private"
< date: Thu, 10 Nov 2022 14:31:33 GMT
< content-type: image/png
< content-length: 71862
< access-control-allow-origin: *
< access-control-allow-headers: accept, x-requested-with, content-type
< access-control-expose-headers: etag
< x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< content-security-policy: default-src 'self'; object-src 'none'; media-src 'none'; style-src 'self'; script-src 'self'; frame-ancestors 'self'
< x-content-security-policy: default-src 'self'; object-src 'none'; media-src 'none'; style-src 'self'; script-src 'self'; frame-ancestors 'self'
< x-webkit-csp: default-src 'self'; object-src 'none'; media-src 'none'; style-src 'self'; script-src 'self'; frame-ancestors 'self'
< cache-control: max-age=3600
< last-modified: Sun, 23 Feb 2014 18:00:00 GMT
< etag: "5fe6c50c4c13108abc947207dcef4294"
< server: ATS/9.1.3
< age: 1
< x-cache: cp3051 miss, cp3051 miss
< x-cache-status: miss
< server-timing: cache;desc="miss", host;desc="cp3051"
< strict-transport-security: max-age=106384710; includeSubDomains; preload
< report-to: { "group": "wm_nel", "max_age": 86400, "endpoints": [{ "url": "https://intake-logging.wikimedia.org/v1/events?stream=w3c.reportingapi.network_error&schema_uri=/w3c/reportingapi/network_error/1.0.0" }] }
< nel: { "report_to": "wm_nel", "max_age": 86400, "failure_fraction": 0.05, "success_fraction": 0.0}
< accept-ch: Sec-CH-UA-Arch,Sec-CH-UA-Bitness,Sec-CH-UA-Full-Version-List,Sec-CH-UA-Model,Sec-CH-UA-Platform-Version
< permissions-policy: interest-cohort=(),ch-ua-arch=(self "intake-analytics.wikimedia.org"),ch-ua-bitness=(self "intake-analytics.wikimedia.org"),ch-ua-full-version-list=(self "intake-analytics.wikimedia.org"),ch-ua-model=(self "intake-analytics.wikimedia.org"),ch-ua-platform-version=(self "intake-analytics.wikimedia.org")
< x-client-ip: 185.41.138.148
< accept-ranges: bytes
<
curl -v https://maps.wikimedia.org/img/osm-intl,14,52.371993,9.7354699,222x222@2x.png\?lang\=en\&domain\=en.wikipedia.org\&title\=Module_talk%3AMapframe\&revid\=1120881180\&groups\=_bc8bdc276a154407113a9a6d5ce06130d5fd3ea3 -O -H "Cache-Control:private"
< date: Thu, 10 Nov 2022 14:32:34 GMT
< content-type: image/png
< content-length: 69976
< access-control-allow-origin: *
< access-control-allow-headers: accept, x-requested-with, content-type
< access-control-expose-headers: etag
< x-xss-protection: 1; mode=block
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< content-security-policy: default-src 'self'; object-src 'none'; media-src 'none'; style-src 'self'; script-src 'self'; frame-ancestors 'self'
< x-content-security-policy: default-src 'self'; object-src 'none'; media-src 'none'; style-src 'self'; script-src 'self'; frame-ancestors 'self'
< x-webkit-csp: default-src 'self'; object-src 'none'; media-src 'none'; style-src 'self'; script-src 'self'; frame-ancestors 'self'
< cache-control: max-age=3600
< last-modified: Sun, 23 Feb 2014 18:00:00 GMT
< etag: "5fe6c50c4c13108abc947207dcef4294"
< server: ATS/9.1.3
< age: 1
< x-cache: cp3055 miss, cp3051 miss
< x-cache-status: miss
< server-timing: cache;desc="miss", host;desc="cp3051"
< strict-transport-security: max-age=106384710; includeSubDomains; preload
< report-to: { "group": "wm_nel", "max_age": 86400, "endpoints": [{ "url": "https://intake-logging.wikimedia.org/v1/events?stream=w3c.reportingapi.network_error&schema_uri=/w3c/reportingapi/network_error/1.0.0" }] }
< nel: { "report_to": "wm_nel", "max_age": 86400, "failure_fraction": 0.05, "success_fraction": 0.0}
< accept-ch: Sec-CH-UA-Arch,Sec-CH-UA-Bitness,Sec-CH-UA-Full-Version-List,Sec-CH-UA-Model,Sec-CH-UA-Platform-Version
< permissions-policy: interest-cohort=(),ch-ua-arch=(self "intake-analytics.wikimedia.org"),ch-ua-bitness=(self "intake-analytics.wikimedia.org"),ch-ua-full-version-list=(self "intake-analytics.wikimedia.org"),ch-ua-model=(self "intake-analytics.wikimedia.org"),ch-ua-platform-version=(self "intake-analytics.wikimedia.org")
< x-client-ip: 185.41.138.148
< accept-ranges: bytes
awight claimed this task.
awight subscribed.

This looks like a database sync error, and seems to be fixed now. Please reopen if it happens again.