tmuras / moosh

Moosh
GNU General Public License v3.0
234 stars 177 forks source link

Captcha Required For Download/Install of Plugins and Json Plugin List #387

Open nobicycle opened 3 years ago

nobicycle commented 3 years ago

Actual behaviour

[http@tower moodle]$ pwd /srv/http/moodle [http@tower moodle]$ whoami http [http@tower moodle]$ moosh plugin-download repository_s3bucket PHP Warning: file_get_contents(https://moodle.org/plugins/download.php/24713/repository_s3bucket_moodle311_2021071700.zip): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /srv/http/moosh/Moosh/Command/Generic/Plugin/PluginDownload.php on line 76

Warning: file_get_contents(https://moodle.org/plugins/download.php/24713/repository_s3bucket_moodle311_2021071700.zip): Failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in /srv/http/moosh/Moosh/Command/Generic/Plugin/PluginDownload.php on line 76 Downloaded: plugin: repository_s3bucket version: 2021071700 release: 3.11 file: /srv/http/moodle/repository_s3bucket.zip

following shows captcha is blocking download

[http@tower moodle]$ curl -s https://moodle.org/plugins/download.php/24713/repository_s3bucket_moodle311_2021071700.zip|grep captcha

Please complete the following captcha to proceed.
<form class="challenge-form interactive-form" id="challenge-form" action="/plugins/download.php/24713/repository_s3bucket_moodle311_2021071700.zip?__cf_chl_captcha_tk__=pmd_aFmOMact6qjqI3x_d0WATAmDynSFzhNNFQTMqQtrnMY-1630111071-0-gqNtZGzNA1CjcnBszQc9" method="POST" enctype="application/x-www-form-urlencoded">
pabloruizsoria commented 2 years ago

Same problem here. Last week it was working in our machines but not today

tmuras commented 2 years ago

Maybe Moodle HQ can help here: https://tracker.moodle.org/browse/MDLSITE-6581