Page MenuHomeMiraheze

Fix varnish / nginx to be able to stream videos
Open, NormalPublic

Description

This comes out of T3648

Trying to play the video on https://microtonal.miraheze.org/wiki/Quarter-comma_meantone fails with:

[Error] Failed to load resource: the server responded with a status of 503 () (ksprite.png, line 0)
[Error] Preflight response is not successful
[Error] XMLHttpRequest cannot load https://static.miraheze.org/microtonalwiki/lilypond/override-midi/b/c/bcrqwucdvocr9qerndriz2rhqx1qq0j.ogg due to access control checks.
[Error] Failed to load resource: Preflight response is not successful (bcrqwucdvocr9qerndriz2rhqx1qq0j.ogg, line 0)
[Error] Unhandled Promise Rejection: Error: network error
(anonymous function)
rejectPromise
checkError (load.php:121:911)

Related Objects

Event Timeline

Paladox created this task.Sep 24 2018, 16:39
Paladox triaged this task as High priority.
Southparkfan added a comment.EditedSep 24 2018, 18:33
20:25:50 <SPF|Cloud> https://github.com/wikimedia/mediawiki-extensions-Score/blob/master/includes/Score.php#L459 if $options['midi_file'] refers to a ForeignAPIFile object (because it's a midi file from wikimedia commons) getLocalRefPath() returns (bool)false thus the shell command (https://github.com/wikimedia/mediawiki-extensions-Score/blob/master/includes/Score.php#L872) fails
20:26:25 <SPF|Cloud> shouldn't the extension fetch the file from wikimedia commons before attempting to generate the audio file?
Paladox lowered the priority of this task from High to Normal.Oct 30 2018, 00:34
Paladox added a comment.Sat, Dec 1, 23:49

Per @Southparkfan this problem is due to the audios being from commons, but Score doesn't seem to support that.