Note: You are currently viewing documentation for Moodle 3.7. Up-to-date documentation for the latest stable version of Moodle may be available here: MNet FAQ.

MNet FAQ: Difference between revisions

From MoodleDocs
No edit summary
m (added link to Spanish page)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{stub}}==What is MNET?==
{{Authentication}}
==What is MNet?==
MNet is the mechanism in Moodle for connecting to other Moodle (or Mahara) sites. It's short for "Moodle networking". See [[MNet]] for more information. At some point in the future, support for MNet will end. See [http://moodle.org/mod/forum/discuss.php?d=175158 this forum discussion on MNet.]


MNET is the mechanism in Moodle for connecting to other Moodle (or Mahara) sites. It's short for "Moodle Network". See [[Moodle Network]] for more information.
==It doesn't work. What do I do now?==
* make sure that you have the latest version of Moodle installed.
* make sure xmlrpc is installed. Please go to your phpinfo page and search for --with-xmlrpc. If your php has not been compiled with xmlrpc then you need to address that! At present it appears that PEAR xmlrpc will not work.
* make sure that openssl is installed. Please go to your phpinfo page and search for openssl. If your php has not been compiled with openssl then you need to address that.
* make sure you have debugging turned on (Site Administration > Server > Debugging). This will greatly increase the chance of the underlying problem being reported.
* Note that MNET does not currently work on lighttpd.  (MDL-14638) This should be fixed in lighttpd 1.5 when it is released.
 
==I've set up the keys and configured Moodle Networking, but when I try to SSO into Mahara, it doesn't work==
This problem could be due to a PHP bug in libxml2 2.7.1 (the same bug reported with version 2.7.2 and 2.7.3). check the server > PHP info page to see what version of libxml is installed - if you have one of versions mentioned - check out the FAQ here for details on how to fix it: [https://docs.moodle.org/en/Backup_FAQ#Restoring_a_course_results_in_broken_HTML_tags._What_can_I_do.3F Backup_FAQ#Restoring_a_course_results_in_broken_HTML_tags._What_can_I_do.3F]
 
==Moodle doesn't generate any keys on the networking pages==
This could be because PHP cannot find the openssl.cnf file on your server - this is a very common issue on windows servers. To address this you must set the path to this file in your config.php file - first find the openssl.cnf file on your server then add it's location into your config.php file like this:
    $CFG->opensslcnf = 'C:/apache2/bin/openssl.cnf';
Note: this file could potentially be located anywhere on your server, just make sure the full path and name of the file is correct.


==It doesn't work. What do I do now?==
Note: this could also affect Mahara.  On Mahara you can also added this to the config table in the database.


Always make sure you have the latest version possible of Moodle. There have been a lot of fixes. Then make sure that you have debugging turned on (Site Administration > Server > Debugging). This will greatly increase the chance of the underlying problem being reported.
Note: this also happens on RHEL5 and RHEL5 based operating systems.  The path the file is "/etc/pki/tls/openssl.cnf". RHEL is RedHat Enterprise Linux.


Note that MNET currently does not currently work on lighttpd.  (MDL-14638)  This should be fixed in lighttpd 1.5 when it is released.
==I obtain the error "The signature verification failed. It appears that this payload was not signed by you."==


==I've set up the keys and configured Moodle Networking, but when I try to SSO into Mahara, it doesn't work==
See [[error/moodle/rpcerror]] for how to fix the problem.
This problem could be due to a PHP bug in libxml2 2.7.1 (the same bug reported with version 2.7.2 and 2.7.3). check the server > PHP info page to see what version of libxml is installed - if you have one of versions mentioned - check out the FAQ here for details on how to fix it: [https://docs.moodle.org/en/Backup_FAQ#Restoring_a_course_results_in_broken_HTML_tags._What_can_I_do.3F Backup_FAQ#Restoring_a_course_results_in_broken_HTML_tags._What_can_I_do.3F]


==See also==
==See also==


* Using Moodle [http://moodle.org/mod/forum/view.php?id=6976 Moodle Network forum]
* Using Moodle [http://moodle.org/mod/forum/view.php?id=6976 Moodle networking (MNet) forum]
* Using Moodle [http://moodle.org/mod/forum/discuss.php?d=105301 Overview of public key] forum discussion


[[Category:MNET]]
Using Moodle forum discussions:
* [http://moodle.org/mod/forum/discuss.php?d=105301 Overview of public key]
* [http://moodle.org/mod/forum/discuss.php?d=76600 Time Gap Error - Peer to Peer]
* [http://moodle.org/mod/forum/discuss.php?d=202535 Replace local users with mnet users]
 
[[Category:MNet]]
[[Category:FAQ]]
[[Category:FAQ]]
[[de:Moodle-Netzwerk FAQ]]
[[es:MNet FAQ]]

Latest revision as of 12:37, 18 August 2019

What is MNet?

MNet is the mechanism in Moodle for connecting to other Moodle (or Mahara) sites. It's short for "Moodle networking". See MNet for more information. At some point in the future, support for MNet will end. See this forum discussion on MNet.

It doesn't work. What do I do now?

  • make sure that you have the latest version of Moodle installed.
  • make sure xmlrpc is installed. Please go to your phpinfo page and search for --with-xmlrpc. If your php has not been compiled with xmlrpc then you need to address that! At present it appears that PEAR xmlrpc will not work.
  • make sure that openssl is installed. Please go to your phpinfo page and search for openssl. If your php has not been compiled with openssl then you need to address that.
  • make sure you have debugging turned on (Site Administration > Server > Debugging). This will greatly increase the chance of the underlying problem being reported.
  • Note that MNET does not currently work on lighttpd. (MDL-14638) This should be fixed in lighttpd 1.5 when it is released.

I've set up the keys and configured Moodle Networking, but when I try to SSO into Mahara, it doesn't work

This problem could be due to a PHP bug in libxml2 2.7.1 (the same bug reported with version 2.7.2 and 2.7.3). check the server > PHP info page to see what version of libxml is installed - if you have one of versions mentioned - check out the FAQ here for details on how to fix it: Backup_FAQ#Restoring_a_course_results_in_broken_HTML_tags._What_can_I_do.3F

Moodle doesn't generate any keys on the networking pages

This could be because PHP cannot find the openssl.cnf file on your server - this is a very common issue on windows servers. To address this you must set the path to this file in your config.php file - first find the openssl.cnf file on your server then add it's location into your config.php file like this:

   $CFG->opensslcnf = 'C:/apache2/bin/openssl.cnf';

Note: this file could potentially be located anywhere on your server, just make sure the full path and name of the file is correct.

Note: this could also affect Mahara. On Mahara you can also added this to the config table in the database.

Note: this also happens on RHEL5 and RHEL5 based operating systems. The path the file is "/etc/pki/tls/openssl.cnf". RHEL is RedHat Enterprise Linux.

I obtain the error "The signature verification failed. It appears that this payload was not signed by you."

See error/moodle/rpcerror for how to fix the problem.

See also

Using Moodle forum discussions: