<div dir="ltr">Hi Ed,<div><br></div><div>I upgraded my openbmc REPO with the Github and used the latest bmcweb (commit id: 

<span style="color:rgb(68,77,86);font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:12px;white-space:nowrap;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">7885954af734ae61a2e1358740f84ad39248f18d.</span>)</div><div><br></div><div>But I got the below error for compiling.<br></div><div>...</div><div><div>6: error: 'async_result_init' is not a member of 'boost::asio::detail'</div><div>     boost::asio::detail::async_result_init<</div><div>                          ^~~~~~~~~~~~~~~~~</div><div>/common/code_ref/s2600wf_openbmc/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/boost-dbus/1.0+gitAUTOINC+2ec8037525-r0/git/include/dbus/connection_service.hpp:84:26: note: suggested alternative: 'async_result_helper'</div><div>     boost::asio::detail::async_result_init<</div><div>                          ^~~~~~~~~~~~~~~~~</div><div>                          async_result_helper</div><div>/common/code_ref/s2600wf_openbmc/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/boost-dbus/1.0+gitAUTOINC+2ec8037525-r0/git/include/dbus/connection_service.hpp:85:23: error: expected primary-expression before ',' token</div><div>         MessageHandler, void(boost::system::error_code, message)></div><div>                       ^</div><div>/common/code_ref/s2600wf_openbmc/openbmc/build/tmp/work/armv6-openbmc-linux-gnueabi/boost-dbus/1.0+gitAUTOINC+2ec8037525-r0/git/include/dbus/connection_service.hpp:85:25: error: expected primary-expression before 'void'</div><div>         MessageHandler, void(boost::system::error_code, message)></div></div><div>...</div><div><br></div><div>Suppose this is because the boost-dbus is too old.</div><div><br></div><div>Do you any suggestion?</div><div><br></div><div>Thanks.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-07-12 8:05 GMT+08:00 Henbin Chang <span dir="ltr"><<a href="mailto:henbinchang@gmail.com" target="_blank">henbinchang@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thank your support.<div><br></div><div>It did work after I used the default port 18080.</div><div>curl -k <a href="https://10.99.241.79:18080/redfish/v1" target="_blank">https://10.99.241.79:18080/<wbr>redfish/v1</a><br></div><div><br></div><div>I had to indicate the account/password if I would like to access other node.</div><div>

<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">curl -k <a href="https://root:0penBmc@10.99.241.79:18080/redfish/v1/Managers/" target="_blank">https://root:0penBmc@10.99.<wbr>241.79:18080/redfish/v1/<wbr>Managers/</a></span><br></div><div><br></div><div>

<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Bmcweb will launch under one of two ports.  If launched manually, it will launch under port 18080.  If launched via systemd, it will use socket activation to launch under port 883 (to avoid conflicting with the existing phosphor-rest server).
Another thing to recognize is that there is a debug html interface built into the redfish interface, so the easiest way to test is to use a web browser, and you will get the graphical interface with clickable links.  Try pointing a web browser at <a href="https://10.99.241.79:18080/redfish/v1" target="_blank">https://10.99.241.79:18080/<wbr>redfish/v1</a> and see if that works.
PS, the trailing backslash is unimportant.  Bmcweb is designed to strip the trailing backslash for you in either case, so redfish/v1 is the same as redfish/v1/
-Ed</blockquote>

<br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-07-10 16:39 GMT+08:00 Ratan Gupta <span dir="ltr"><<a href="mailto:ratagupt@linux.vnet.ibm.com" target="_blank">ratagupt@linux.vnet.ibm.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <p>Hi Henbin,</p>
    <p>Can you try <span style="color:rgb(69,69,69);font-family:"Open Sans",Arial,Helvetica,sans-serif;font-size:14px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:left;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;display:inline!important;float:none">"curl -b cjar -k
        <a class="m_-6892043513174138775m_208777804762112596moz-txt-link-freetext">https://</a><ip>:18080/redfish/v1"<wbr>?</span></p>
    <p><span>Seems default port is 18080</span></p>
    <p><span><a class="m_-6892043513174138775m_208777804762112596moz-txt-link-freetext" href="https://github.com/openbmc/bmcweb/blob/master/src/webserver_main.cpp#L24" target="_blank">https://github.com/openbmc/bmc<wbr>web/blob/master/src/webserver_<wbr>main.cpp#L24</a><br>
      </span></p>
    <p><span>Regards</span></p><span class="m_-6892043513174138775HOEnZb"><font color="#888888">
    <p><span>Ratan Gupta<br>
      </span></p></font></span><div><div class="m_-6892043513174138775h5">
    <p><br>
    </p>
    <br>
    <div class="m_-6892043513174138775m_208777804762112596moz-cite-prefix">On Tuesday 10 July 2018 10:06 AM,
      Henbin Chang wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">H Ed,
        <div>I built bmcweb into my machine, and check the 'bmcweb'
          daemon was started up.</div>
        <div><br>
        </div>
        <div>
          <div>ps aux | grep bmcweb</div>
          <div>  919 root       0:00 /usr/bin/bmcweb</div>
          <div> 8662 root       0:00 grep bmcweb</div>
        </div>
        <div><br>
        </div>
        <div>But I couldn't access Redfish API through the below
          command.</div>
        <div>curl -b cjar -k <a href="https://10.99.241.79/redvish/v1/" target="_blank">https://10.99.241.79/redvish/v<wbr>1/</a><br>
        </div>
        <div><br>
        </div>
        <div>Could you help provide the suggestion?</div>
        <div><br>
        </div>
        <div>Thanks.</div>
        <div>-Henbin.</div>
        <div>
          <div><br>
          </div>
          <div>
            <blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">There are several servers that support
              Redfish, and we have a working group that meets weekly to
              talk through technical issues each week, which you're
              welcome to attend. The only one checked into the upstream
              project is bmcweb. If you need help getting it started,
              I'm happy to help.<br>
              <a href="https://github.com/openbmc/bmcweb" target="_blank">https://github.com/openbmc/bmc<wbr>web</a></blockquote>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>
</div></div></blockquote></div><br></div>