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

Exception when BBB server does not respond

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_400_STABLE
    • MDL-73225-master
    • Hide

      This test assumes that we have an existing BBB activity (B1).

      Test the meeting display error message

      • Go to Site Administration and BigBlueButton setting
      • Change the bigbluebuttonbn_server_url to an URL that is not responding
      • Go back to B1 activity page.
      • An error message should be displayed as "Empty response. Please check the url of the BigBlueButton server AND check to see if the BigBlueButton server is running"

      Test the meeting join error message

      • Go to Site Administration and BigBlueButton setting
      • Change the bigbluebuttonbn_shared_secret to an secret that is wrong (add a letter for example)
      • Go back to B1 activity page.
      • Click on join
      • An error message should be displayed as "Unable to connect. Please check the url of the BigBlueButton server AND check to see if the BigBlueButton server is running. Details : mod_bigbluebuttonbn/checksumError"
      • If you click on "View" as an administrator you should go back to  Site Administration/ BigBlueButton setting page

      Test the meeting display error on the dashboard

      1. Create a new BigblueButtonBN (B2) activity in a course you are registered in
      2. Go to the activity B2 setting and set a start and end date so it will be displayed on the calendar visible on the dashboard (should be current month for example)
      3. Go to the dashboard
      4. Check that you see the activity B2 in the calendar
      5. Click on the activity on the calendar. 
      6. Check that on the popup the link at the bottom of the Popup says "Join session"
      7. Go to Site Administration and BigBlueButton setting
      8. Change the bigbluebuttonbn_server_url to an URL that is not responding
      9. Go back to the dashboard
      10. Check that you see the activity B2 in the calendar
      11. Click on the activity on the calendar. 
      12. Check that on the popup the link at the bottom of the Popup says "Go to activity"

      Check with checksum error:

      • Follow steps above but at step 8 instead of changing URL, change the bigbluebuttonbn_shared_secret

      There is no error displayed, however in debug mode a warning will be displayed.

       

      Show
      This test assumes that we have an existing BBB activity (B1). Test the meeting display error message Go to Site Administration and BigBlueButton setting Change the bigbluebuttonbn_server_url to an URL that is not responding Go back to B1 activity page. An error message should be displayed as "Empty response. Please check the url of the BigBlueButton server AND check to see if the BigBlueButton server is running" Test the meeting join error message Go to Site Administration and BigBlueButton setting Change the bigbluebuttonbn_shared_secret to an secret that is wrong (add a letter for example) Go back to B1 activity page. Click on join An error message should be displayed as "Unable to connect. Please check the url of the BigBlueButton server AND check to see if the BigBlueButton server is running. Details : mod_bigbluebuttonbn/checksumError" If you click on "View" as an administrator you should go back to  Site Administration/ BigBlueButton setting page Test the meeting display error on the dashboard Create a new BigblueButtonBN (B2) activity in a course you are registered in Go to the activity B2 setting and set a start and end date so it will be displayed on the calendar visible on the dashboard (should be current month for example) Go to the dashboard Check that you see the activity B2 in the calendar Click on the activity on the calendar.  Check that on the popup the link at the bottom of the Popup says "Join session" Go to Site Administration and BigBlueButton setting Change the bigbluebuttonbn_server_url to an URL that is not responding Go back to the dashboard Check that you see the activity B2 in the calendar Click on the activity on the calendar.  Check that on the popup the link at the bottom of the Popup says "Go to activity" Check with checksum error: Follow steps above but at step 8 instead of changing URL, change the bigbluebuttonbn_shared_secret There is no error displayed, however in debug mode a warning will be displayed.  

      When having problems connecting to the BBB server, an exception is raised.

      We could catch it and report the problem in a more user-friendly way.

      general_error_no_answer
      Empty response. Please check the url of the BigBlueButton server AND check to see if the BigBlueButton server is running.
      File: .../local/proxy/proxy_base.php
      Line: 107
      Stack trace:
       
      #0 [dirroot]/mod/bigbluebuttonbn/classes/local/proxy/bigbluebutton_proxy.php(449): mod_bigbluebuttonbn\local\proxy\proxy_base::assert_returned_xml(NULL, '0a414ee0c51e46d...')
      #1 [dirroot]/mod/bigbluebuttonbn/classes/meeting.php(320): mod_bigbluebuttonbn\local\proxy\bigbluebutton_proxy::get_meeting_info('0a414ee0c51e46d...')
      #2 [dirroot]/mod/bigbluebuttonbn/classes/meeting.php(242): mod_bigbluebuttonbn\meeting::retrieve_cached_meeting_info('0a414ee0c51e46d...', true)
      #3 [dirroot]/mod/bigbluebuttonbn/classes/meeting.php(100): mod_bigbluebuttonbn\meeting->do_get_meeting_info(true)
      #4 [dirroot]/mod/bigbluebuttonbn/classes/external/meeting_info.php(97): mod_bigbluebuttonbn\meeting::get_meeting_info_for_instance(Object(mod_bigbluebuttonbn\instance), true)
      #5 [dirroot]/lib/externallib.php(261): mod_bigbluebuttonbn\external\meeting_info::execute(2, 0, true)
      #6 [dirroot]/lib/ajax/service.php(81): external_api::call_external_function('mod_bigbluebutt...', Array, true)
      #7 {main}
      

            lmdavid Laurent DAVID
            vmdef Victor Déniz Falcón
            Jesus Federico Jesus Federico
            Ilya Tregubov Ilya Tregubov
            Gladys Basiana Gladys Basiana
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 hours, 41 minutes
                3h 41m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.