Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-18384

Whoops\Exception\ErrorException file_get_contents(http://.@localhost:8088/ari/endpoints): failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: Asterisk Info
    • Labels:
      None
    • Sprint:
      15 RC 1
    • Bug Tracker:
      Customer Issue
    • ToDo:
    • Story Points:
      8
    • Distro Version:
      Stretch
    • Distro:
      Self Install Debian

      Description

      When opening the Reports->Asterisk Info page (http://xxx/admin/config.php?display=asteriskinfo), the following error is thrown:

      Whoops\Exception\ErrorException thrown with message "file_get_contents(http://.@localhost:8088/ari/endpoints): failed to open stream: HTTP request failed! HTTP/1.1 401 Unauthorized
      "

      Stacktrace:
      #5 Whoops\Exception\ErrorException in /var/www/freepbx/admin/modules/asteriskinfo/Modules/Channels.php:10
      #4 file_get_contents in /var/www/freepbx/admin/modules/asteriskinfo/Modules/Channels.php:10
      #3 FreePBX\modules\Asteriskinfo\Modules\Channels:getDisplay in /var/www/freepbx/admin/modules/asteriskinfo/Asteriskinfo.class.php:38
      #2 FreePBX\modules\Asteriskinfo:getModuleDisplay in /var/www/freepbx/admin/modules/asteriskinfo/Asteriskinfo.class.php:58
      #1 FreePBX\modules\Asteriskinfo:getDisplay in /var/www/freepbx/admin/modules/asteriskinfo/page.asteriskinfo.php:24
      #0 include in /var/www/freepbx/admin/config.php:564

       

      According to fwconsole ma list, the installed asteriskinfo package has the version 15.0.2. I have uninstalled and re-installed asteriskinfo without success.

       

      Before I enabled "Enable the mini-HTTP Server", a 404 error was thrown on the same line.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tm1000 Andrew Nagy
                  Reporter:
                  Yannik Yannik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    NextupJiraPlusStatus

                    Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.