Forums | Mahara Community

Mahara/Moodle integration /
Site unavailable + XML parser error in log


pavel limonov's profile picture
Posts: 8

08 October 2019, 8:42

Hello, please help solve the problem:

I try to integrate Moodle 3.5 and Mahara (19.04 git install - github.com/MaharaProject/mahara/commits/19.04_STABLE  7okt commit b09a9fa133a781f00b3c22db89786f8bca95bda6).
In Mahara:

enable Network + add moodle host to Institutions with its public key

In moode:

enable Mnet
add mahara site  with its public key
select mnet subscription/publication
add right in Authenticated user role
add block with link to mnet site (with link to mahara host)

But when click on the link from moodle - mahara site opens with error:

mahara.arcticsu.ru: Site unavailable

A nonrecoverable error occurred. This probably means you have encountered a bug in the system

... URL in browser address bar likes as follow:
mahara.arcticsu.ru/auth/xmlrpc/land.php?token=127746d0e1e03a9d7b296a89e3363b3752ee1e6c&idp=https:||moodle.nnn.ru&wantsurl=

 

In Apache log of mahara host the following error:
[Sat Oct 05 20:26:25.578803 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): Entity: line 22: parser error : xmlParseCharRef: invalid xmlChar value 28, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.578917 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.578937 2019] ... [client 78.37.41.190:18116] * log_message(string(size 106), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.578953 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 106), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.578969 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.578985 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579001 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579016 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579032 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579258 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): <string>&#28;&#159;&#28;&#176;&#28;&#178;&#28;&#181;&#28;&#187; &#28;&#144, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579289 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579306 2019] ... [client 78.37.41.190:18116] * log_message(string(size 113), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579353 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 113), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579375 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579391 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579407 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579423 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579460 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579666 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): ^, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579695 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579709 2019] ... [client 78.37.41.190:18116] * log_message(string(size 53), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579724 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 53), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579738 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579752 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579766 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579780 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.579794 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580069 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): Entity: line 22: parser error : xmlParseCharRef: invalid xmlChar value 28, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580102 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580117 2019] ... [client 78.37.41.190:18116] * log_message(string(size 106), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580132 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 106), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580147 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580161 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580175 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580189 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580218 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580419 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): <string>&#28;&#159;&#28;&#176;&#28;&#178;&#28;&#181;&#28;&#187; &#28;&#144, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580449 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580464 2019] ... [client 78.37.41.190:18116] * log_message(string(size 113), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580478 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 113), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580493 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580507 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580521 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580535 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580549 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580736 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): ^, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580764 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580779 2019] ... [client 78.37.41.190:18116] * log_message(string(size 64), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580794 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 64), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580808 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580822 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580836 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580851 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.580878 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581084 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): Entity: line 22: parser error : xmlParseCharRef: invalid xmlChar value 28, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581113 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581128 2019] ... [client 78.37.41.190:18116] * log_message(string(size 106), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581142 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 106), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581157 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581171 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581185 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581199 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581213 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581402 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): <string>&#28;&#159;&#28;&#176;&#28;&#178;&#28;&#181;&#28;&#187; &#28;&#144, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581431 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581446 2019] ... [client 78.37.41.190:18116] * log_message(string(size 113), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581461 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 113), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581475 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581489 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581503 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581517 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581544 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581730 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): ^, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581758 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581773 2019] ... [client 78.37.41.190:18116] * log_message(string(size 75), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581787 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 75), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581801 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581815 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581829 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581843 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.581857 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582057 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): Entity: line 22: parser error : xmlParseCharRef: invalid xmlChar value 28, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582085 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582100 2019] ... [client 78.37.41.190:18116] * log_message(string(size 106), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582115 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 106), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582129 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582143 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582157 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582172 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582202 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582394 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): <string>&#28;&#159;&#28;&#176;&#28;&#178;&#28;&#181;&#28;&#187; &#28;&#144, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582422 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582437 2019] ... [client 78.37.41.190:18116] * log_message(string(size 113), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582452 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 113), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582466 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582480 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582494 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582508 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582522 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582703 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): ^, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582731 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582745 2019] ... [client 78.37.41.190:18116] * log_message(string(size 86), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582760 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 86), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582774 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582788 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582802 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582816 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.582843 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583040 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): Entity: line 22: parser error : xmlParseCharRef: invalid xmlChar value 28, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583068 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583083 2019] ... [client 78.37.41.190:18116] * log_message(string(size 106), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583098 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 106), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583112 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583127 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583141 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583154 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583169 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583386 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): <string>&#28;&#159;&#28;&#176;&#28;&#178;&#28;&#181;&#28;&#187; &#28;&#144, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583417 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583431 2019] ... [client 78.37.41.190:18116] * log_message(string(size 113), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583446 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 113), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583461 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583475 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583489 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583502 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583531 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583720 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): ^, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583749 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583763 2019] ... [client 78.37.41.190:18116] * log_message(string(size 97), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583778 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 97), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583792 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583806 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583870 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583891 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.583906 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584113 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): Entity: line 22: parser error : xmlParseCharRef: invalid xmlChar value 28, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584142 2019] ... [client 78.37.41.190:18116] Call stack (most recent first):, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584156 2019] ... [client 78.37.41.190:18116] * log_message(string(size 106), integer, true, true, string(size 44), integer) at /srv/htdocs/mahara/htdocs/lib/errors.php:520, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584171 2019] ... [client 78.37.41.190:18116] * error(integer, string(size 106), string(size 44), integer, array(size 7)) at Unknown:0, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584185 2019] ... [client 78.37.41.190:18116] * SimpleXMLElement->__construct(string(size 2520)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/lib.php:1194, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584199 2019] ... [client 78.37.41.190:18116] * xmldsig_envelope_strip(object(SimpleXMLElement)) at /srv/htdocs/mahara/htdocs/api/xmlrpc/client.php:101, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584213 2019] ... [client 78.37.41.190:18116] * Client->send(string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/lib.php:103, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584227 2019] ... [client 78.37.41.190:18116] * AuthXmlrpc->request_user_authorise(string(size 40), string(size 26)) at /srv/htdocs/mahara/htdocs/auth/xmlrpc/land.php:78, referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584255 2019] ... [client 78.37.41.190:18116] , referer: https:||moodle.arcticsu.ru/?redirect=0
[Sat Oct 05 20:26:25.584445 2019] ... [client 78.37.41.190:18116] [WAR] d5 (api/xmlrpc/lib.php:1194) SimpleXMLElement::__construct(): <string>&#28;&#159;&#28;&#176;&#28;&#178;&#28;&#181;&#28;&#187; &#28;&#144, referer: https:||moodle.arcticsu.ru/?redirect=0
root@mahara:/var/log/apache2#

Kristina Hoeppner's profile picture
Posts: 4864

08 October 2019, 22:57

Hi Pavel,

Did you follow the setup instructions document found on the wiki? It displays an old version of Moodle, but the steps are basically still the same.

Did you make sure to select "Mahara" in Moodle as application and not "Moodle" by accident?

Does your URL contain any special characters? That seems to be the recurring message in your error log (see line 1)

I haven't come across this error yet and thus don't have a ready answer.

Cheers

Kristina

pavel limonov's profile picture
Posts: 8

09 October 2019, 20:18

Hi, Kristina.

> Did you follow the  setup instructions document found on the wiki? It displays an old version of Moodle, but the steps are basically still the same.

Yes

> Did you make sure to select "Mahara" in Moodle as application and not "Moodle" by accident?

If you mean Application type on  Add a new host screen - I think yes ... but I can't find where I can check this.

> Does your URL contain any special characters? That seems to be the recurring message in your error log (see line 1

I been forced to change URL  because this mahara site didn't allow to post URL links in messages

Can this problem be related to fact that I use GIT version from 19.04_STABLE branch, which STABLE but is under development? From you sight - is it make sense to downgrade or try version which is published on mahara official site?

 

 

Kristina Hoeppner's profile picture
Posts: 4864

11 October 2019, 7:44

Hi Pavel,

Using Git is fine. The latest code on the 19.04_STABLE branch will be the next minor point release. If you want to use what is being released, look for a release tag and choose that version then rather than everything that is on the stable branch.

I think you may need to check in the Moodle database table to see if the application type is set correctly.

Cheers

Kristina

pavel limonov's profile picture
Posts: 8

11 October 2019, 20:14

Hi, Kristina

> I think you may need to check in the Moodle database table to see if the application type is set correctly.

mysql> mysql> select * from mdl_mnet_application;
+----+--------+--------------+-------------------------+-----------------------+-----------------------+
| id | name | display_name | xmlrpc_server_url | sso_land_url | sso_jump_url |
+----+--------+--------------+-------------------------+-----------------------+-----------------------+
| 1 | moodle | Moodle | /mnet/xmlrpc/server.php | /auth/mnet/land.php | /auth/mnet/jump.php |
| 2 | mahara | Mahara | /api/xmlrpc/server.php | /auth/xmlrpc/land.php | /auth/xmlrpc/jump.php |
+----+--------+--------------+-------------------------+-----------------------+-----------------------+
mysql> select name,applicationid from mdl_mnet_host ;
+--------------------+---------------+
| name | applicationid |
+--------------------+---------------+
| | 1 |
| All Hosts | 1 |
| mahara.arcticsu.ru | 2 |
+--------------------+---------------+
... so it seems that application type (id 2) has been settled correctly( 

 

 

pavel limonov's profile picture
Posts: 8

14 October 2019, 4:35

.. in addition.
Can problem be related with bad redirection URL?:

https:||mahara.arcticsu.ru/auth/xmlrpc/land.php?token=a0179187d0907902e1b465f054016ab5a02db694&idp=https:||moodle.arcticsu.ru&wantsurl=

 

... in the end - variable wantsurl= is empty

pavel limonov's profile picture
Posts: 8

14 October 2019, 4:39

... on both sites - there is apache-host redirection from http-host to https-host/

Robert Lyon's profile picture
Posts: 774

21 October 2019, 7:58

Hi Pavel,

I'm not sure if you've sorted out your problems or not but the 'wantsurl' is set if you try to access a page in Mahara that you need to be logged into but are not yet logged in, eg if you go directly to eg, 'view/view.php?id=5  it will send that path along to the external login so that when you are verified you will return to that place rather than the index page.

If it is empty it just means you will end up on Mahara index.php page in successful login.

So I don't think it's the cause of your login problems.

Cheers

Robert

pavel limonov's profile picture
Posts: 8

21 October 2019, 8:44

Thanks, Robert for clarification.

03 November 2019, 23:59

Hi there,

I am facing the exact same problem as you. User authentication through moodle used to work just fine, but after some time I am getting these errors. I also use moodle 3.5 and mahara 19.04.

Did you manage to fix this?

15 results