<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 1/3/2020 7:38 PM, Vijay Khemka
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:41D87A5C-8EBF-4DA2-9E1E-A37D51A4CA72@fb.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
p.p1, li.p1, div.p1
        {mso-style-name:p1;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.5pt;
        font-family:Menlo;
        color:black;}
p.p2, li.p2, div.p2
        {mso-style-name:p2;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.5pt;
        font-family:Menlo;
        color:black;}
span.s1
        {mso-style-name:s1;
        color:#B2B2B2;
        background:black;}
span.s3
        {mso-style-name:s3;
        background:#878A04;}
span.s4
        {mso-style-name:s4;
        color:#EBEF18;}
span.s2
        {mso-style-name:s2;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:784426178;
        mso-list-type:hybrid;
        mso-list-template-ids:-1543190074 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><br>
        </p>
        <p class="MsoNormal"><span style="font-size:11.0pt">I am trying
            to use webui but not getting anything working. I might be
            missing some steps.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">I did
            following.<o:p></o:p></span></p>
        <ol style="margin-top:0in" type="1" start="1">
          <li class="MsoListParagraph"
            style="margin-left:0in;mso-list:l0 level1 lfo1"><span
              style="font-size:11.0pt">npm install in repo directory.<o:p></o:p></span></li>
          <li class="MsoListParagraph"
            style="margin-left:0in;mso-list:l0 level1 lfo1"><span
              style="font-size:11.0pt">Recompiled bmcweb with
            </span><span
              style="font-size:10.0pt;font-family:Consolas;color:#24292E">BMCWEB_INSECURE_DISABLE_XSS_PREVENTION
              on and transferred bmcweb to target.</span><span
              style="font-size:11.0pt"><o:p></o:p></span></li>
          <li class="MsoListParagraph"
            style="margin-left:0in;mso-list:l0 level1 lfo1"><span
              style="font-size:10.0pt;font-family:Consolas;color:#24292E">Run
              chrome browser with
              <a href="http://bmc-ip" moz-do-not-send="true">http://bmc-ip</a></span><span
              style="font-size:11.0pt"><o:p></o:p></span></li>
          <li class="MsoListParagraph"
            style="margin-left:0in;mso-list:l0 level1 lfo1"><span
              style="font-size:10.0pt;font-family:Consolas;color:#24292E">I
              see blank page. Then tried with https and accepted
              certificates.</span><span style="font-size:11.0pt"><o:p></o:p></span></li>
          <li class="MsoListParagraph"
            style="margin-left:0in;mso-list:l0 level1 lfo1"><span
              style="font-size:10.0pt;font-family:Consolas;color:#24292E">But
              still I see page with “refused to connect”</span><span
              style="font-size:11.0pt"><o:p></o:p></span></li>
        </ol>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    <p>Hi Vijay,<br>
      <br>
      Are you trying to run the webui locally (e.g. npm run-script
      server and then browse to <a class="moz-txt-link-freetext" href="http://localhost:8080">http://localhost:8080</a> )?<br>
      <br>
      If so, something more like:<br>
      npm install <br>
      npm run-script server<br>
      Recompile bmcweb with BMCWEB_INSECURE_DISABLE_XSS_PREVENTION and
      BMCWEB_INSECURE_DISABLE_CSRF_PREVENTION and transfer bmcweb to
      target.<br>
      Go to <a class="moz-txt-link-freetext" href="https://bmc-ip">https://bmc-ip</a> and accept the certificate <br>
      Go to <a class="moz-txt-link-freetext" href="http://localhost:8080">http://localhost:8080</a> (could be running at a different port,
      check npm run-script server output) and point at bmc-ip <br>
      <br>
      If you are trying to build the webui for the BMC (npm run-script
      build) and scp the files over, do you need to include the webui
      package group? <br>
      <br>
<a class="moz-txt-link-freetext" href="https://github.com/openbmc/openbmc/commit/fef8abbc78154abbd86ab9f0704e65ccb422f4de">https://github.com/openbmc/openbmc/commit/fef8abbc78154abbd86ab9f0704e65ccb422f4de</a><br>
      <br>
      The webui recipe creates the webui directory structure on the BMC.<br>
    </p>
    <p><br>
    </p>
    <blockquote type="cite"
      cite="mid:41D87A5C-8EBF-4DA2-9E1E-A37D51A4CA72@fb.com">
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt">Please help
            me what else I need to do. I got 2 warning while installing
            NPM.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    The warnings should not matter.<br>
    <br>
    - Gunnar<br>
  </body>
</html>