XML Parse error in payload: Mismatched tag At line number: 109 Which reads:ERROR 3:

XML Parse error in payload: Mismatched tag At line number: 109 Which reads:ERROR 3:

Alan Azzera發表於
Number of replies: 3

Hi,

I'm trying to get Mnet working, in ordre to allow users from MoodleB to connect and enroll courses on MoodleA, and vice versa. I followed the doc : http://docs.moodle.org/26/en/MNet

But it doesn't work. I get the following error, and am not able to seamlessly connect to MoodleB from MoodleA :

Mnet communication failed. XML Parse error in payload: Mismatched tag At line number: 109 Which reads:ERROR 3:

Debug info:
Error code: rpcerror
Stack trace:
  • line 463 of /lib/setuplib.php: moodle_exception thrown
  • line 247 of /auth/mnet/auth.php: call to print_error()
  • line 50 of /auth/mnet/land.php: call to auth_plugin_mnet->confirm_mnet_session()

I read this thread here, but the situation differs : https://moodle.org/mod/forum/discuss.php?d=257125

I run Moodle 2.6, on Ubuntu 14.04 with PHP 5.5.9, Apache 2.4.7 and MySQL 5.6.17. I use OpCache and MemCached. I operate many Moodle on a single server, all URLs are in the form http://$name.domain/moodle/ I configured MemCached to use differents keys. In config.php I have :

$CFG->session_memcached_prefix = $name.'.memc.sess.key.';

I tried to inactivate OpCache then MemCached : same error.

If someone here had ideas, I would be very grateful to him/her.

Thanks in advance, best regards,

Al.

評比平均分數: -
In reply to Alan Azzera

Re: XML Parse error in payload: Mismatched tag At line number: 109 Which reads:ERROR 3:

Alan Azzera發表於

I forgot to say that my Moodles are reverse-proxyfied. But the Apache acting as reverse proxy is configured with ProxyPreserveHost On, so HTTP request are passed to real Moodle (which lay in a private zone) with the Http-Host header kept unchanged. On backend Apache, I had to add ServeAlias to my VirtualHosts :

ServerName $name.private.domain
ServerAlias $name.domain

It works like a charm, with

$CFG->reverseproxy = false;

in config.php

I also checked that each Mnet certificate have the right informations in it. It's OK, the issuer and subject fields contains entries like CN=http://$name.domain/moodle.

I'm really stuck...

In reply to Alan Azzera

Re: XML Parse error in payload: Mismatched tag At line number: 109 Which reads:ERROR 3:

Tristan LEY發表於

Hi,

I'm facing the same problem. It seems our configurations are close... I'm sorry to be unable to give an answer. Any help would be very much appreciated.

Thanks,

Tristan

In reply to Alan Azzera

Re: XML Parse error in payload: Mismatched tag At line number: 109 Which reads:ERROR 3:

Sourabh Maheshwari發表於

Hi,

 

I am facing this error in normal import of a xml file to a question bank. Any guidance for resolving this is much appreciated.

 

Thanks

Sourabh