There are two moodle instances on https://mymoodle.com/moodleA and https://mymoodle.com/moodleB. The instaces independly are running well. There is Sun Access Manager (SAM) to access both Moodle instances (authorization plugin that supports SAM).
My progress in getting Moodle Network working is: I have turned on Moodle Networking under Admin -> Network -> Settings. So I am at the very beginning.
Next step would be: "Add New Host" under Admin -> Network -> Peers. So I enter the host to talk to: https://mymoodle.com/moodleB (tried also without https, nothing)
Here is the error :
|Warning: file_get_contents(https://mymoodle.com/moodleB) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error in /var/wwwroot/moodleA/mnet/peer.php on line 61
Request for https://mymoodle.com/moodleB failed with HTTP code 302
Request for https://mymoodle.com/moodleB returned empty response
Talked to our network admins and they said, that mentioned error is because of SAM. Make a small test in moodleA/test.php to get file contents from moodleB/config.php - no result. This means that authorization fails.
Have you any idea how to solve this problem and to get to talk moodleA and moodleB?
I will appreciate every answer, because this problem has to be solved!
All the best,