<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>if I access OpenSIPs Control Panel over https, with a Let's
      Encrypt Certificate, I can't see Homer page (blank page).</p>
    <p>The only error/notice on the ssl_error.log is:</p>
    <p>PHP Notice:  A session had already been started - ignoring
      session_start() in
      /var/www/html/opensips-cp/config/session.inc.php on line 23,
      referer:
      <a class="moz-txt-link-freetext" href="https://opensipscontrolpanel.org/cp/tools/system/homer/homer.php">https://opensipscontrolpanel.org/cp/tools/system/homer/homer.php</a></p>
    <p>If I use OpenSIPs Control Panel over httpd all working fine.</p>
    <p>Regards<br>
    </p>
    <pre class="moz-signature" cols="72">---
I'm SoCIaL, MayBe</pre>
    <div class="moz-cite-prefix">El 03/11/2017 a las 10:22, Social Boh
      escribió:<br>
    </div>
    <blockquote type="cite"
      cite="mid:32fe0423-10e7-6f23-2d01-3ebeb4f86b98@bohboh.info">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>The error was related with this semicolon (before the last
        parenthesis):<br>
        <br>
        define('EXTERNAL_AUTH_URI', <a class="moz-txt-link-rfc2396E"
          href="http://5.6.7.8/cp/tools/system/homer/auth.php"
          moz-do-not-send="true">"http://5.6.7.8/cp/tools/system/homer/auth.php"</a><b>;</b>);
        <br>
        <br>
        Thank you.<br>
        <br>
        Regards</p>
      <pre class="moz-signature" cols="72">---
I'm SoCIaL, MayBe</pre>
      <div class="moz-cite-prefix">El 03/11/2017 a las 07:15, Răzvan
        Crainea escribió:<br>
      </div>
      <blockquote type="cite"
        cite="mid:01993f73-4c11-de06-c8fe-3e5b93c62580@opensips.org">This
        time there seems to be an issue on the homer side. Can you check
        the logs to see if homer is saying anything useful? <br>
        <br>
        Best regards, <br>
        <br>
        Răzvan Crainea <br>
        OpenSIPS Developer <br>
        <a class="moz-txt-link-abbreviated"
          href="http://www.opensips-solutions.com"
          moz-do-not-send="true">www.opensips-solutions.com</a> <br>
        <br>
        On 11/03/2017 02:06 PM, Social Boh wrote: <br>
        <blockquote type="cite">Hello, <br>
          <br>
          Now I have this error (homer side): <br>
          <br>
          GET
/api/v1/redirect?externalid=rx88kxQUs1DNT6es2ybwBvhevecJwjnY&url=http%3A%2F%2F1.2.3.4.0%2F
          HTTP/1.1. <br>
          Host: 104.236.105.0. <br>
          User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0)
          Gecko/20100101 Firefox/56.0. <br>
          Accept:
          text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8.
          <br>
          Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3. <br>
          Accept-Encoding: gzip, deflate. <br>
          Referer: <a class="moz-txt-link-freetext"
            href="http://5.6.7.8/cp/tools/system/homer/homer.php"
            moz-do-not-send="true">http://5.6.7.8/cp/tools/system/homer/homer.php</a>.
          <br>
          Connection: keep-alive. <br>
          Upgrade-Insecure-Requests: 1. <br>
          <br>
          HTTP/1.0 500 Internal Server Error. <br>
          Date: Fri, 03 Nov 2017 11:47:36 GMT. <br>
          Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16.
          <br>
          X-Powered-By: PHP/5.4.16. <br>
          Content-Length: 0. <br>
          Connection: close. <br>
          Content-Type: text/html; charset=UTF-8. <br>
          <br>
          My homer configuration is: <br>
          <br>
          define('AUTHENTICATION',"External"); <br>
          define('EXTERNAL_AUTH_URI', <a class="moz-txt-link-rfc2396E"
            href="http://5.6.7.8/cp/tools/system/homer/auth.php"
            moz-do-not-send="true">"http://5.6.7.8/cp/tools/system/homer/auth.php"</a>;);
          <br>
          define('EXTERNAL_AUTH_METHOD', "GET"); <br>
          define('EXTERNAL_AUTH_PARAM', "param=KEY"); <br>
          define('EXTERNAL_AUTH_REQUEST_TYPE', "get"); <br>
          define('EXTERNAL_AUTH_REQUEST_KEY', "externalid"); <br>
          define('EXTERNAL_AUTH_POSITIVE_REPLY', "200"); <br>
          define('EXTERNAL_AUTH_REPLY_USER_INFO', "json"); <br>
          <br>
          1.2.3.4 is the Homer IP and 5.6.7.8 is the OpenSIPs Control
          Panel IP <br>
          <br>
          Thank you <br>
          <br>
          Regards <br>
          <br>
          --- <br>
          I'm SoCIaL, MayBe <br>
          <br>
          El 03/11/2017 a las 04:47, Răzvan Crainea escribió: <br>
          <blockquote type="cite">Hello! <br>
            <br>
            You should install the php apc library. On Ubuntu this is
            php-apcu. <br>
            <br>
            Best regards, <br>
            <br>
            Răzvan Crainea <br>
            OpenSIPS Developer <br>
            <a class="moz-txt-link-abbreviated"
              href="http://www.opensips-solutions.com"
              moz-do-not-send="true">www.opensips-solutions.com</a> <br>
            <br>
            On 11/02/2017 10:09 PM, Social Boh wrote: <br>
            <blockquote type="cite">Hello, <br>
              <br>
              each time I try to access Homer Menu on OpenSIPs Control
              Panel 7.3.2, on the apache log: <br>
              <br>
              Call to undefined function apc_store() in
              /var/www/html/opensips-cp/web/tools/system/homer/homer.php
              on line 5 <br>
              <br>
              Blank page <br>
              <br>
              OpenSIPs Homer Configuration: <br>
              <br>
              $homer_URL = <a class="moz-txt-link-rfc2396E"
                href="http://homer.mydomain.org" moz-do-not-send="true">"http://homer.mydomain.org"</a>;
              <br>
              <br>
              $homer_auth_method = "get"; <br>
              <br>
              Homer OpenSIPs configuration (preference.php) <br>
              <br>
              define('AUTHENTICATION',"External"); <br>
              define('EXTERNAL_AUTH_URI', <a
                class="moz-txt-link-rfc2396E"
                href="http://os.mydomain.org/cp/tools/system/homer/auth.php"
                moz-do-not-send="true">"http://os.mydomain.org/cp/tools/system/homer/auth.php"</a>;);
              <br>
              define('EXTERNAL_AUTH_METHOD', "GET"); <br>
              define('EXTERNAL_AUTH_PARAM', "param=KEY"); <br>
              define('EXTERNAL_AUTH_REQUEST_TYPE', "get"); <br>
              define('EXTERNAL_AUTH_REQUEST_KEY', "externalid"); <br>
              define('EXTERNAL_AUTH_POSITIVE_REPLY', "200"); <br>
              define('EXTERNAL_AUTH_REPLY_USER_INFO', "json"); <br>
              <br>
              Any hint <br>
              <br>
              Thank you in advance. <br>
              <br>
              Regards <br>
              <br>
            </blockquote>
            <br>
            <br>
            _______________________________________________ <br>
            Users mailing list <br>
            <a class="moz-txt-link-abbreviated"
              href="mailto:Users@lists.opensips.org"
              moz-do-not-send="true">Users@lists.opensips.org</a> <br>
            <a class="moz-txt-link-freetext"
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
            <br>
            <br>
          </blockquote>
          <br>
          <br>
          _______________________________________________ <br>
          Users mailing list <br>
          <a class="moz-txt-link-abbreviated"
            href="mailto:Users@lists.opensips.org"
            moz-do-not-send="true">Users@lists.opensips.org</a> <br>
          <a class="moz-txt-link-freetext"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
          <br>
        </blockquote>
        <br>
        <br>
        _______________________________________________ <br>
        Users mailing list <br>
        <a class="moz-txt-link-abbreviated"
          href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a>
        <br>
        <a class="moz-txt-link-freetext"
          href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
          moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
        <br>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>