Our Mahara server was running on an ubuntu system, and we had used a COMODO root SSL cert on our windows IIS moodle installation. The intermediate certificates for the root SSL cert were not installed on the moodle server.
Almost every browser out there recognizes COMODO certs, and nobody was reporting any problems. But I tried "wget https://OURMOODLESERVER.montreat.edu/" on our ubuntu server and it threw up an error: "cannot verify certificate, issued by "<insert your CA details here>" Unlable to locally verify the issuer's authority."
You may want to check your SSL connection with "wget" on your mahara system to as a tool to confirm that Mahara indeed can reach the moodle server and properly recongizes the key.
The solution for us was to add the PROPER intermediate certs for COMODO on our IIS installation via mmc. Briefly:
I hope this info helps someone else out too.
Mike
]]>This hosts setting was exactly what was causing issues. I am happy to report that the integration between the Moodle & the Mahara now works just fine.
]]>using IIS 6 here, had the same problem but reverted to LDAP for now until we get a way round it,
it is something to do with them being FQDN, on my test network works fine without FQDN, but got it down to the proxy server blocking it, but still havent worked it out how to change it.
]]>Good luck..
Thanks for your response - this is not under Apache but under IIS7 and Windows 2008, if you have any ideas it will be appreciated.
To make this one easier I have moved this thread to a new topic
http://mahara.org/interaction/forum/topic.php?id=1665
]]>
There's no error log?
in /var/log/apache which files do you have???
Anyone any idea with mine on IIS7
Moodle at FQDN/vle
Mahara at FQDN/mahara
Still no further forward!!
]]>Uuuu.. i have the solution
in the server /etc/hosts I had :
127.0.1.1 moodle.myweb.es moodle
127.0.1.1 mahara.myweb.es mahara
and it has to be
SERVER_IP moodle.myweb.es moodle
SERVER_IP mahara.myweb.es mahara
Now it seems that it works!!!!
Thanks!! ;) Tomorrow I'll continue with this again.. ;=)
]]>
I have both servers in the same virtual machine, still testing. And in the host file, I have
127.0.1.1 moodle.myweb.es moodle
127.0.1.1 mahara.myweb.es mahara
If I make a ping to mahara.myweb.es I get reply as it's normal.
When I try to configure the XMLRPC plugin, I still get the error. Looking in the logs for the phrase you tell me, in the supossed moodle logs there's nothing.
In the mahara access log:
IP-FROM-WHERE-ACCESING - - [17/Mar/2010:15:54:50 +0100] "POST /admin/users/addauthority.php?add=1&i=mahoodlemoodle&p=xmlrpc HTTP/1.1" 200 3873 "http://mahara.myweb.es/admin/users/addauthority.php?add=1&i=mahoodlemoodle&p=xmlrpc" "Mozilla/5.0 (X11; U; Linux i686; es; rv:1.9.1.8) Gecko/20100214 Ubuntu/9.10 (karmic) Firefox/3.5.8 GTB6"
IN MOODLE LOGS
iIt's quite strange.. As i can see, i have configured the moodle logs to be
CustomLog /var/log/apache2/moodle.myweb.es_CustomLog.log combined
ErrorLog /var/log/apache2/moodle.myweb.es_ErrorLog.log
But... in thost files there's nothing beeing writed.
Instead of this ones.. I see in /var/log/apache2 there are 2 other files called
access.log
error.log
In access.log:
127.0.1.1 - - [17/Mar/2010:15:56:50 +0100] "GET / HTTP/1.0" 200 45 "-" "-"
127.0.1.1 - - [17/Mar/2010:15:56:50 +0100] "POST /mnet/xmlrpc/server.php HTTP/1.1" 404 342 "-" "Moodle"
error.log
[Wed Mar 17 15:56:50 2010] [error] [client 127.0.1.1] File does not exist: /var/www/mnet
It's quite strange, isn't it? I mean, in the apache's moodle configuration files we are telling to be:
and they're not registering anything. Maybe some apache miscofiguration¿¿ ??
Again thanks! ;) Gero arte.. ;)
Mahara WWW root is exactly the same as the Moodle config file. Moodle has a block with a link to access 'Network Servers' with Mahara listed and clicking on it gives the following Mahara error:-
A required parameter is missing or malformed
We don't seem to have any authentication plugin instances configured for the host at XXX {listed sited correct}
Any ideas as I cannot get Mahara to go past the
Authorities Administration: Please ensure that the Application and WWW Root fields are correct, and that networking is enabled on the remote host
and so set up the link. Moodle logs have no errors. Mahoodle.pdf gives no answers
]]>sorry for the delay, it's been a really busy week. You usually get that error when Mahara can't contact the right location or when it can't retrieve the key from the peer (because networking is not enabled).
Given that you seem to be specifying the right location, I wonder if the Mahara server is able to contact the Moodle server. I mean, is there any firewall between them that could be filtering the traffic? Is the routing working? Is the DNS correctly resolving the Moodle server name? (from the Mahara server)
You could also check your Moodle server web access logs to see if you get any hits to something similar to this (the 1625 number may vary):
"POST /mnet/xmlrpc/server.php HTTP/1.1" 200 1625 "-" "Moodle"
This is the request Mahara sends to the Moodle server to get the public key from it. If you don't see anything similar to this in your Moodle web server logs, we should investigate why.
Hope this helps :-)
Gero arte,
Here is what you tell me:
$CFG->wwwroot = 'http://moodle.myweb.es'
It's exactly what I'm putting on it. If I put this, the error is:
An error occurred while retrieving the public key from the remote server.
Please ensure that the Application and WWW Root fields are correct, and that networking is enabled on the remote host.
And If i put another thing, lets say: 'http://moodle.myweb.es2222' (something that's not ok)
I only get: An unknown error occurred while processing this form
?¿?
Thansk again!;)
what's the value of $CFG->wwwroot in your Moodle config.php file? It's very importat that you specify the exact value of $CFG->wwwroot in the'www root' XMLRPC Mahara setting.
Regarding the 'Site name:' setting you can specify any name you want. Mahara uses this value to print the name of the remote server in case you configure a 'SSO out' connection. But it doesn't check this value against anything on the Moodle side of the connectino when you 'SSO in'.
Hope this helps :-)
Saludos,
Iñaki.
enabled on the remote host
]]>