Details
Description
I edited my wwwroot in moodle/config.php ($CFG->wwwroot )
Then I tried to use networking (http://docs.moodle.org/en/Moodle_Network), but when I try to connect to a remote Moodle I've got an error "Payload is not encrypted".
The bug comes from that the wwwroot hasn't been changed in the database (table: mnet_host)
Attachments
Issue Links
| This issue is duplicated by: | ||||
| MDL-15148 | Deleting and recreating key doesn't look up wwwroot again |
|
|
|
I've seen this recently as well. Also, the IP needs to be correct, and the host key will need to be regenerated.
For a fix, I would suggest that when the host key is updated, that the wwwroot and IP are updated by the code too.
I will make a patch if I have a spare moment today..
Cheers,