Skip to content
This repository was archived by the owner on Mar 18, 2019. It is now read-only.
This repository was archived by the owner on Mar 18, 2019. It is now read-only.

err1:invalid character '<' looking for beginning of value #98

Description

@Hamzaahmed742

Getting this error when ever we start relay cluster.

2018-10-14T10:11:07.048Z        info    market util,supported market:BAT-LRC
2018-10-14T10:11:07.048Z        info    market util,supported market:BAT-WETH
2018-10-14T10:11:07.048Z        info    market util,supported market:BAT-BAR
2018-10-14T10:11:07.048Z        info    market util,supported market:BNT-BAR
2018-10-14T10:11:07.048Z        info    market util,supported market:BNT-LRC
2018-10-14T10:11:07.048Z        info    market util,supported market:BNT-WETH
2018-10-14T10:11:07.048Z        debug   syncMarketCapFromAPI...
https://api.coinmarketcap.com/v1/ticker/?limit=0&convert=USD%!(EXTRA int=0, int=100)
2018-10-14T10:11:07.160Z      error   err1:invalid character '<' looking for beginning of value
github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/log.Errorf
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/log/log.go:63
github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/marketcap.(*CapProvider_CoinMarketCap).syncMarketCapFromAPI
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/marketcap/coinmarketcap_provider.go:336
github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/marketcap.(*CapProvider_CoinMarketCap).syncMarketCapFromRedis
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/marketcap/coinmarketcap_provider.go:377
github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/marketcap.NewMarketCapProvider
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/marketcap/coinmarketcap_provider.go:487
github.com/Loopring/relay-cluster/node.(*Node).registerMarketCap
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/node/node.go:234
github.com/Loopring/relay-cluster/node.NewNode
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/node/node.go:90
main.startNode
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/cmd/main.go:87
github.com/Loopring/relay-cluster/vendor/gopkg.in/urfave/cli%2ev1.HandleAction
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/gopkg.in/urfave/cli.v1/app.go:490
github.com/Loopring/relay-cluster/vendor/gopkg.in/urfave/cli%2ev1.(*App).Run
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/gopkg.in/urfave/cli.v1/app.go:264
main.main
/opt/loopring/go-src/src/github.com/Loopring/relay-cluster/cmd/main.go:52
runtime.main
        /usr/lib/go-1.9/src/runtime/proc.go:195
2018-10-14T10:11:07.160Z        fatal   can't sync marketcap with error:invalid character '<' looking for beginning of value
github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/log.Fatalf
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/log/log.go:75
github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/marketcap.NewMarketCapProvider
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/github.com/Loopring/relay-lib/marketcap/coinmarketcap_provider.go:488
github.com/Loopring/relay-cluster/node.(*Node).registerMarketCap
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/node/node.go:234
github.com/Loopring/relay-cluster/node.NewNode
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/node/node.go:90
main.startNode
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/cmd/main.go:87
github.com/Loopring/relay-cluster/vendor/gopkg.in/urfave/cli%2ev1.HandleAction
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/gopkg.in/urfave/cli.v1/app.go:490
github.com/Loopring/relay-cluster/vendor/gopkg.in/urfave/cli%2ev1.(*App).Run
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/vendor/gopkg.in/urfave/cli.v1/app.go:264
main.main
        /opt/loopring/go-src/src/github.com/Loopring/relay-cluster/cmd/main.go:52
runtime.main
        /usr/lib/go-1.9/src/runtime/proc.go:195```

 As per configuration the miner runs at 8083 (rpc) and 8087(websocket) ports but not running. 
Running release `v1.5.0` 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions