Mahara fails to validate Moodle installation where login is required

Bug #1703255 reported by Charles Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Expired
Undecided
Unassigned

Bug Description

We're standing up Mahara 17.02 on RHEL 7 with PHP 5.6.5 and MariaDB 10.1. We're setting up integration with a Moodle 3.1 environment. This Moodle environment uses CAS for authentication, with login required. There is no default view for unauthenticated users. When we added Moodle as a peer for Mahara (in Mahara), it tried and failed to validate the existence of the Moodle environment:

[WAR] 32 (lib/peer.php:164) file_get_contents(https://XXXX): failed to open stream: Redirection limit reached, aborting

On the Moodle side I can see numerous redirects to /login/index.php.

Oddly, SSO from Moodle to Mahara now seems to work, despite the verification failure. I wouldn't have expected that, and that might be a bug in itself.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Charles, do you mean Mahara 17.04.2? There is no 17.02. ;-)

Which MNet direction are you setting up? Mahara to Moodle or Moodle to Mahara? Your bug report seems to include both whereas you should only use one or the other.

The usual setup is Moodle to Mahara.

Changed in mahara:
status: New → Incomplete
Revision history for this message
Charles Fulton (fultonc) wrote :

Kristina, yes, I'm sorry, 17.04.2. I apologize for misstating where the error occured; we're going from Moodle to Mahara only. I saw the error while configuring XML-RPC authentication for the institution in Mahara.

Revision history for this message
Kristina Hoeppner (kris-hoeppner) wrote :

Thank you for the clarification, Charles.

When you say "On the Moodle side I can see numerous redirects to /login/index.php" is that in the error / access log or do you see that on the front-end?

Do you have redirects set up on the server level for your site(s)?

Did you set up the connection as per the steps in https://wiki.mahara.org/images/7/75/Mahoodle-updated-en.pdf (i.e. configuration and also capabilities)?

Revision history for this message
Charles Fulton (fultonc) wrote :

The redirects are in the Moodle access log. I did follow the specified steps and the connection is working; users can SSO from Moodle to Mahara.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Mahara because there has been no activity for 60 days.]

Changed in mahara:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.