All of lore.kernel.org
 help / color / mirror / Atom feed
* webui not working for me
@ 2020-01-04  1:38 Vijay Khemka
  2020-01-06  5:38 ` Gunnar Mills
  0 siblings, 1 reply; 14+ messages in thread
From: Vijay Khemka @ 2020-01-04  1:38 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]

Hi,
I am trying to use webui but not getting anything working. I might be missing some steps.
I did following.

  1.  npm install in repo directory.
  2.  Recompiled bmcweb with BMCWEB_INSECURE_DISABLE_XSS_PREVENTION on and transferred bmcweb to target.
  3.  Run chrome browser with http://bmc-ip
  4.  I see blank page. Then tried with https and accepted certificates.
  5.  But still I see page with “refused to connect”

Please help me what else I need to do. I got 2 warning while installing NPM.


npm WARN bootstrap@4.4.1 requires a peer of jquery@1.9.1 - 3 but none is installed. You must install peer dependencies yourself.

npm WARN bootstrap@4.4.1 requires a peer of popper.js@^1.16.0 but none is installed. You must install peer dependencies yourself.



audited 12116 packages in 4.87s



6 packages are looking for funding

  run `npm fund` for details



found 2 moderate severity vulnerabilities

  run `npm audit fix` to fix them, or `npm audit` for details

I tried fixing this by using “audit fix”  but no success.

Regards
-Vijay

[-- Attachment #2: Type: text/html, Size: 7672 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread
* RE: webui not working for me
@ 2020-10-27 18:08 Giles, Joshua
  0 siblings, 0 replies; 14+ messages in thread
From: Giles, Joshua @ 2020-10-27 18:08 UTC (permalink / raw)
  To: openbmc; +Cc: kathryn.elainex.pine

Hello Kathryn,

The gerrit link you had below is returning a 404; Can you point me to a location where I can see this patch?

-Josh

From: openbmc <openbmc-bounces+kathryn.elainex.pine=intel.com at lists.ozlabs.org> On Behalf Of Vijay Khemka
Sent: Monday, January 6, 2020 4:46 PM
To: Gunnar Mills <gmills at linux.vnet.ibm.com>; openbmc at lists.ozlabs.org
Subject: Re: webui not working for me

Hi,

I’ve uploaded a work in progress patch with the sensors page using Redfish data.

I pulled most of the Intel downstream UI off so it’s a bit plain looking, but should have the functionality needed for using Redfish for sensors:

https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-webui/+/28342<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.openbmc-2Dproject.xyz_c_openbmc_phosphor-2Dwebui_-2B_28342&d=DwMFAg&c=5VD0RTtNlTh3ycd41b3MUw&r=v9MU0Ki9pWnTXCWwjHPVgpnCR80vXkkcrIaqU7USl5g&m=JkVnc6xcsrOQFOz3T-1BDffQOJNyNF4wVA5bKw8bIhA&s=tAWerk9BOa0ESN6g41fJ4pT5FsvVhIDygTBrFzQVf8Q&e=>

If there’s value in getting this into upstream, please let me know – would require a bit more coordinating and UI tweaks to get this to match upstream, which is why for now I just uploaded as WIP.

Best,
Kathy


From: openbmc <openbmc-bounces+kathryn.elainex.pine=intel.com at lists.ozlabs.org> On Behalf Of Vijay Khemka
Sent: Monday, January 6, 2020 4:46 PM
To: Gunnar Mills <gmills at linux.vnet.ibm.com>; openbmc at lists.ozlabs.org
Subject: Re: webui not working for me



From: Gunnar Mills <gmills at linux.vnet.ibm.com<mailto:gmills at linux.vnet.ibm.com>>
Date: Monday, January 6, 2020 at 4:40 PM
To: Vijay Khemka <vijaykhemka at fb.com<mailto:vijaykhemka at fb.com>>, "openbmc at lists.ozlabs.org<mailto:openbmc at lists.ozlabs.org>" <openbmc at lists.ozlabs.org<mailto:openbmc at lists.ozlabs.org>>
Subject: Re: webui not working for me



On 1/6/2020 6:29 PM, Vijay Khemka wrote:

It says on page “there are no sensors available”


A curl call to /xyz/openbmc_project/sensors/enumerate returns all the sensors correctly ?

I have not used any curl command here. Please let me know what curl command to use. But intel is using redfish method to get these data.

https://github.com/Intel-BMC/phosphor-webui/blob/e34f46c191a4c993608ac64a867920fb640e8133/app/common/services/api-utils.js#L932


If so, probably will need to add some console.log()s to that function
https://github.com/openbmc/phosphor-webui/blob/f70f42553615972163b36c9b4d77be07e4399122/app/common/services/api-utils.js#L912
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20200109/e883ab7b/attachment.htm>
Previous message (by thread): webui not working for me
Next message (by thread): webui not working for me
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the openbmc mailing list

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-10-28  1:38 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-04  1:38 webui not working for me Vijay Khemka
2020-01-06  5:38 ` Gunnar Mills
2020-01-06 18:31   ` Vijay Khemka
2020-01-06 19:27   ` Vijay Khemka
2020-01-06 23:53     ` Gunnar Mills
2020-01-07  0:19       ` Vijay Khemka
2020-01-07  0:24         ` Gunnar Mills
2020-01-07  0:29           ` Vijay Khemka
2020-01-07  0:39             ` Gunnar Mills
2020-01-07  0:45               ` Vijay Khemka
2020-01-09 22:08                 ` Pine, Kathryn ElaineX
2020-01-09 22:51                   ` Vijay Khemka
2020-01-07  1:13               ` Vijay Khemka
2020-10-27 18:08 Giles, Joshua

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.