BMC websocket

Ping Mao pmao at linkedin.com
Wed Jul 17 07:01:56 AEST 2019


I did,  tried in index.html with:

var ws = new WebSocket("wss://<BMC IP>/subscribe")

Not be able to connect to websocket.   Did I miss something?

Thanks,
Ping

On 7/16/19, 1:02 PM, "Gunnar Mills" <gmills at linux.vnet.ibm.com> wrote:

    
    On 7/16/2019 1:34 PM, Ping Mao wrote:
    > Could someone share how to subscribe to BMC websocket for events?    Thanks.
    
    
    Have you seen 
    https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fopenbmc%2Fdocs%2Fblob%2F7273007d5bf677d9a17624d208095929082adc31%2Frest-api.md%23event-subscription-protocol&data=02%7C01%7Cpmao%40linkedin.com%7C16e243c313284843bc0708d70a288177%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636989041397520685&sdata=JV%2BcpPUKnd5u9NmcZV0ZzspWmN8%2FzxngVVvPsmeTFyI%3D&reserved=0 
    ?
    
    



More information about the openbmc mailing list