livepeer/go-livepeer

livepeer_cli for Broadcaster: "Error getting status" on startup and when calling "Get node status"

开放

#2,186 创建于 2022年1月16日

 (1 条评论) (0 个反应) (1 位负责人)Go (223 个派生)auto 404
area: cligood first issuehacktoberfesthelp wantedtype: bug

仓库指标

星标
 (583 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Summary

When using the livepeer_cli to configure a Broadcaster, the following message is displayed in the cli UI on a) startup, and b) calling 1. Get node status:

ERROR: logging before flag.Parse: E0116 11:52:21.005601    6268 wizard_stats.go:28] Error getting status:json: cannot unmarshal string into Go struct field OrchestratorLocalInfo.OrchestratorPoolInfos.Url of type url.URL

To Reproduce

Steps to reproduce the behavior:

  1. Run livepeer in -broadcaster mode with the following command (for completeness):
./livepeer -broadcaster \
        -network rinkeby \
        -ethUrl https://rinkeby.infura.io/v3/888a...243d \
        -pixelsPerUnit 1
  1. Observe the aforementioned error message being displayed (see screenshot)
  2. Run option 1. Get node status
  3. Observe the aforementioned error message being displayed (see screenshot)

Expected behavior

I expect the livepeer_cli to not display unnecessary error message, in order to give new Broadcasters a feeling that the software is robust and mature for their usage.

Environment

  • Ubuntu 20.04.3 LTS
  • livepeer 0.5.25

Screenshots:

On starting up the cli:

image

On calling 1. Get node status

image

贡献者指南