moosh icon indicating copy to clipboard operation
moosh copied to clipboard

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

Open nobicycle opened this issue 3 years ago • 2 comments

  • moosh version:0.35
  • moodle version:311
    • database:mariadb
  • php version:8.0.9
  • operating system: Linux (arch)

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">

nobicycle avatar Aug 28 '21 00:08 nobicycle

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

pabloruizsoria avatar Nov 29 '21 10:11 pabloruizsoria

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

tmuras avatar Nov 30 '21 14:11 tmuras