Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-28047

nice to have a jabber config sanity check

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1, 2.7.5, 2.8.3
    • Fix Version/s: STABLE backlog
    • Component/s: Messages
    • Labels:
    • Workaround:
      Hide

      1) keep on testing moodle - jabber setups via private messaging

      Show
      1) keep on testing moodle - jabber setups via private messaging
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_27_STABLE, MOODLE_28_STABLE

      Description

      i was testing MDL-28023 when i ran into some moodle jabber misconfiguration.

      seeing this wasn't too helpful to me:

      Processing module function assignment_cron ...Processing assignment submission 119

      Warning: fclose() expects parameter 1 to be resource, null given in /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMLStream.php on line 403

      Call Stack:
      0.0003 637232 1.

      {main}

      () /home/aparup/mcode/m20/mysql/moodle/admin/cron.php:0
      0.1227 24470672 2. cron_run() /home/aparup/mcode/m20/mysql/moodle/admin/cron.php:79
      0.3096 44281984 3. assignment_cron() /home/aparup/mcode/m20/mysql/moodle/lib/cronlib.php:87
      0.3472 48582056 4. message_send() /home/aparup/mcode/m20/mysql/moodle/mod/assignment/lib.php:2627
      0.3755 49419608 5. message_output_jabber->send_message() /home/aparup/mcode/m20/mysql/moodle/lib/messagelib.php:172
      1.1891 49487232 6. XMPPHP_XMLStream->processUntil() /home/aparup/mcode/m20/mysql/moodle/message/output/jabber/message_output_jabber.php:75
      2.7677 49502848 7. XMPPHP_XMLStream->__process() /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMLStream.php:471
      2.7678 49508696 8. xml_parse() /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMLStream.php:420
      2.7680 49513808 9. XMPPHP_XMLStream->endXML() /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMLStream.php:0
      2.7681 49515344 10. XMPPHP_XMPP->sasl_failure_handler() /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMLStream.php:567
      2.7681 49515344 11. XMPPHP_XMLStream->disconnect() /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMPP.php:308
      2.7683 49515568 12. XMPPHP_XMLStream->processUntil() /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMLStream.php:358
      3.0390 49507784 13. XMPPHP_XMLStream->__process() /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMLStream.php:471
      3.0392 49510800 14. fclose() /home/aparup/mcode/m20/mysql/moodle/lib/jabber/XMPP/XMLStream.php:403

      i eventually found out that the jabber server and the jabber host was setup incorrectly.

      it would be nice to have either a better explanation of the terms used there or atleast a quick connection test.

      it would also be nice to clarify that messaging profile page : Jabber ID - should have a format akin to userid@moodleisticdomain.org

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              nebgor Aparup Banerjee
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated: