-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CURL error: Connection timed out Issue when Using MNet #181
Comments
Hola @andisugandi , and which image (tag) of the And, more important... which Moodle version are you using? Note that, since Moodle 4.1, the xmlrpc extension is NOT needed for MNet. We changed MNet to use a (pure-php) library instead of the extension (see MDL-70889). Ciao :-) |
Hello, @stronk7 , Thank you for the response. =)
Forgot to mention those details, sorry. It is using
Is that Related IssuesThe issue is happening in two activities:
What do you suggest? Thank you. |
Hi all, This MNet cURL Connection timed out issue has been resolved by appending the
But it then leads to different issue: The current conditions are:
Any helps and suggestions are very much appreciated. Thank you. |
Hola @andisugandi, I may be wrong but I think your problem may be that you're trying to make a SSL connection between the 2 Moodle servers and one (or both) them are lacking any certificate, so SSL cannot do its work. Maybe your configuration is missing some Maybe, for testing purposes, you can go to your MNet configuration and try to switch the peers "SSL verification" to none in both servers and see if, that way, it works. Then, go enabling it and verify which exact combination is the one not working for you. Finally, note that these images are intended for development purposes, not production, so some settings may be not the best for production. Ciao :-) |
In order to MNet to be working properly in Moodle site (using this
moodlehq/moodle-php-apache
Docker image) the PHP must be compiled with XMLRPC Support:--with-xmlrpc
inConfigure Command
. Please see It doesn't work. What do I do now?.I got the output of the
php
command bellow:--with-xmlrpc
is not enabled (by default) in the moodlehq/moodle-php-apache image. Is it (please CMIIW)?$
php -i | grep 'Configure \Command'
If it is not enabled by default (in
Configure Command
), how to rebuild the image with this:--with-xmlrpc
?Thank you in advance.
The text was updated successfully, but these errors were encountered: