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

Can't browse GraphQL documentation when logged in via https

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15, 16
    • Fix Version/s: 15, 16
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Sprint 70
    • ToDo:

      Description

      api 15.0.4 Enabled AGPLv3+
      framework 15.0.22 Enabled GPLv2+

      In my 15 test system using letsencrypt certificates, if I login into FreePBX via http, I can browse GraphQL Documentation tab with no issues. If I then login using https, and browse the same tab, the request fails with the below error. Similar community report here on FreePBX 16:
      https://community.freepbx.org/t/graphql-documentation-generation-showing-an-error/81436
       
      {{The command "node /var/www/html/admin/modules/api/node/index.js -e https://freepbx15.<redactcted>.com/admin/api/api/gql -o /var/www/html/admin/modules/api/docs -x "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImp0aSI6ImE1YjUyODNmZTg2MjY0YWJhOTg0NzE2YzIxY2M5YTVkOGRiODMxNTA0ZGIxNzQzZmIyZGMwNTRlN2U2MTI2ZWZkZGFjOTA2ZDNiMTdmYmNiIn0.eyJhdWQiOiI4YTBhNzA4MTZiZjRjYTk4NzdlZGJkOWY1ZDE2ODgzMTZlZjAzNjIzOTQ0MGMyZmU2ODY0NzBhZTdkNTViODAxIiwianRpIjoiYTViNTI4M2ZlODYyNjRhYmE5ODQ3MTZjMjFjYzlhNWQ4ZGI4MzE1MDRkYjE3NDNmYjJkYzA1NGU3ZTYxMjZlZmRkYWM5MDZkM2IxN2ZiY2IiLCJpYXQiOjE2NDUzNjM1MTUsIm5iZiI6MTY0NTM2MzUxNSwiZXhwIjoxNjQ1MzY3MTE1LCJzdWIiOiIiLCJzY29wZXMiOlsiZ3FsIl19.oZOaU7FkdhrWkTnAtvkYduKdXpR5gAuAFjaDRpJZR0CEtGmGF_rqYumbHksl6xi_xqXSiaCFnhMf7rHpqSgqE0gGGYf3H-rZhXrsO4UHpH1OomLThn6OYdJWX8-GMhG7MC6KvQurgxjLZrF5-4MqpsBJcdVW6Nop3ZoEeVdh_spWJassQB69GYAZ6PTwBpr-S6gGZ-WwOYFcRdhet72dz0oBD8azaK9ydAArd2lgXCFD58WtCyRoQBrVsAgMuP_EOCSDHxKPnO78oWSAgOmjxb8Cjb1CGcEQGWodH5Hj2la77IdWczGEOKON7-Ns4Tb66FWyyagpj9W2uwh7usbmEw"" failed. Exit Code: 1(General error) Working directory: /var/www/html/admin Output: ================ Error Output: ================  ✗ certificate has expired 
      File:/var/www/html/admin/libraries/Composer/vendor/symfony/process/Process.php:23}}

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                fdanard Franck Danard
                Reporter:
                lgaetz Lorne Gaetz
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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