mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #11156
[Bug 1082416] Re: XMLRPC with Firefox 17.0 not possible
Hi Werner,
I've spent a fair bit of time debugging this now and it appears to be
entirely on the moodle side of things.
The useragent for Firefox 17 altered the display of the Gecko version, so the useragent now reads:
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/17.0 Firefox/17.0"
Instead of:
"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0"
http://tracker.moodle.org/browse/MDL-35469 is a resolved bug in moodle
that was supposed to track the appropriate changes.
However, for some reason, my (and your) Firefox 17 user agent is stuck
reporting to Moodle with the old format despite reporting elsewhere (eg,
to mahara) correctly with the new format. This is possibly by some user-
agent caching somewhere, but I cannot find how to un-cache it; even
emptying the cache directory in the moodle data directory makes no
difference.
When a mnet session is started, the user agent of the browser is passed
in a hashed form, but because moodle is seeing a different agent hash
than mahara is, their browser hashes don't match.
I've opened http://tracker.moodle.org/browse/MDL-36838 to get the
perspective of the Moodle developers.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1082416
Title:
XMLRPC with Firefox 17.0 not possible
Status in Mahara ePortfolio:
Confirmed
Bug description:
Since the release of Firefox 17.0 MNET SSO from Moodle to Mahara is
broken. Works fine with Firefox <17, Chrome and IE9.
Error:
Sorry, we could not log you in.
Sorry, we could not log you into Mahara - HTL-Perg at this time. Please try again shortly. If the problem persists, contact your administrator.
Apache-Error-Log:
[Fri Nov 23 16:11:11 2012] [error] [client 10.114.57.20] [WAR] 37 (api/xmlrpc/client.php:173) Unknown error occurred: 1: Kein Zugang: Die MNET-Session gibt es nicht!, referer: https://<moodle>
[Fri Nov 23 16:11:11 2012] [error] [client 10.114.57.20] Call stack (most recent first):, referer: https://<moodle>
[Fri Nov 23 16:11:11 2012] [error] [client 10.114.57.20] * Client->send("https://<moodle>") at /var/www/auth/xmlrpc/lib.php:119, referer: https://<moodle>
[Fri Nov 23 16:11:11 2012] [error] [client 10.114.57.20] * AuthXmlrpc->request_user_authorise("0860ab7ac0c65ff69c42f6f899f550d3cc5c82f1", "https://<moodle>") at /var/www/auth/xmlrpc/land.php:94, referer: https://<moodle>
[Fri Nov 23 16:11:11 2012] [error] [client 10.114.57.20] , referer: https://<moodle>
Translation for: "Kein Zugang: Die MNET-Session gibt es nicht!", ->
"No access; The MNET-Session does not exist!"
Tried with Mahara 1.6.1 & 1.6.2 on Ubuntu 12.04.1.
This bug is reproducible.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1082416/+subscriptions
References