Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4693

Random error "The site URL is not valid"

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • DEV backlog
    • Others
    • Hide

      This issue doesn't have any specific testing, for now we just added some extra debugging to discover what is happening.

      Important: In order to view the extra debugging, you need to enable "Display debug messages" in app settings. After enabling this, if an error contains debug info the app will display it using an accordion in the error modal (before this patch, the debug info was displayed as plain text in the modal, right after the error message). The error accordion was only used for errors connecting to the site, now it's used in other cases too.

      Show
      This issue doesn't have any specific testing, for now we just added some extra debugging to discover what is happening. Important : In order to view the extra debugging, you need to enable "Display debug messages" in app settings. After enabling this, if an error contains debug info the app will display it using an accordion in the error modal (before this patch, the debug info was displayed as plain text in the modal, right after the error message). The error accordion was only used for errors connecting to the site, now it's used in other cases too.
    • Moodle Apps - 2024 i4.1, Moodle Apps - 2024 i4.2, Moodle Apps - 2024 i4.3, Moodle Apps - 2025 i1

      This error happens randomly, mostly after re-opening the app, we have not find any clear way to reproduce the issue.

      As we cannot easily reproduce it, we should try to improve the error handling and create more specific errors (if this can happen by different reasons) and provide additional clues.

      Additional notes:

      • This error was also trigger after the SSO process was completed when the site hash could not be validated, this seemed to happen in certain sites that were removing or not preserving some parameters from the launch.php script

        1. MOBILE-4693_20250109.png
          30 kB
          Isabel Renedo Rouco
        2. MOBILE-4693.png
          267 kB
          Isabel Renedo Rouco

            dpalou Dani Palou
            jleyva Juan Leyva
            Pau Ferrer Pau Ferrer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 37 minutes
                37m

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