-
Bug
-
Resolution: Fixed
-
Blocker
-
2.5
-
None
-
MOODLE_25_STABLE
-
MOODLE_25_STABLE
-
After implementing a download redirect by download.moodle.org to moodle.org/plugins we discovered that the mdeploy.php script broke...
2013-05-14 11:35:17 === MDEPLOY EXECUTION START ===
2013-05-14 11:35:17 Successfully authorized using the passphrase file
2013-05-14 11:35:17 Plugin upgrade requested
2013-05-14 11:35:17 Downloading package https://download.moodle.org/download.php/direct/addons/2911/mod_bigbluebuttonbn_moodle25_2013050100.zip
2013-05-14 11:35:17 Using custom CA certificate /Users/aparup/Sitesdata/p_data/master/mysql/moodleorgca.crt
2013-05-14 11:35:18 Curl remote error.
2013-05-14 11:35:18 Array
(
[url] => https://download.moodle.org/download.php/direct/addons/2911/mod_bigbluebuttonbn_moodle25_2013050100.zip
[content_type] => text/html; charset=UTF-8
[http_code] => 302
[header_size] => 720
[request_size] => 133
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.288314
[namelookup_time] => 0.000633
[connect_time] => 0.061531
[pretransfer_time] => 0.228487
[size_upload] => 0
[size_download] => 0
[speed_download] => 0
[speed_upload] => 0
[download_content_length] => -1
[upload_content_length] => 0
[starttransfer_time] => 1.288297
[redirect_time] => 0
[certinfo] => Array
(
)
[primary_ip] => 141.101.113.179
[primary_port] => 443
[local_ip] => 192.168.100.135
[local_port] => 64804
[redirect_url] => https://moodle.org/plugins/download.php/2911/mod_bigbluebuttonbn_moodle25_2013050100.zip
)
2013-05-14 11:35:18 cURL error 0
2013-05-14 11:35:18 Unable to download the file from https://download.moodle.org/download.php/direct/addons/2911/mod_bigbluebuttonbn_moodle25_2013050100.zip into /Users/aparup/Sitesdata/p_data/master/mysql/mdeploy/var/4971bee4a727f6c31b348a997b06a13c.18.zip
2013-05-14 11:35:18 exception 'download_file_exception' with message 'Unable to download the package' in /Users/aparup/Sites/p/mdeploy.php:761
Stack trace:
#0 /Users/aparup/Sites/p/mdeploy.php(1499): worker->execute()
#1
This is about simply following redirect (without using moodle library, but copying it, as mdeploy is separate)
ps:As a sub-task or something else, i'm wondering that some alarm bells that should have gone off haven't wrt testing infrastructure.
- has a non-specific relationship to
-
MDL-39668 mdeploy.php to support redirects (backport of MDL-39664)
- Closed
-
MDLSITE-2288 Consider re-enabling the redirector use @ download.moodle.org for plugins
- Closed
- is duplicated by
-
MDL-39652 Deployment of add-ons makes trouble
- Closed
- Testing discovered
-
MDLSITE-2259 make plugins directory use download redirector
- Closed