cosmostation / mintscan-binance-dex-backend

:construction: Mintscan Backend for Binance DEX
https://binance.mintscan.io
Other
23 stars 32 forks source link

Cannot start chain-exporter #24

Open ppenter opened 2 years ago

ppenter commented 2 years ago

config.yaml

network_type: "testnet"

mainnet:
  node: 
    rpc_node: "tcp://localhost:26657/" # tcp://dataseed1.binance.org:80
    accelerated_node: "http://localhost:1317/" # https://dex-asiapacific.binance.org/api/v1
    api_server_endpoint: "http://localhost:1317/"
    explorer_server_endpoint: "https://explorer.binance.org/api/v1" # https://explorer.binance.org/api/v1
  database:
    host: "localhost"
    port: 5432
    user: "postgres"
    password: "1234"
    table: ""
  market:
    coingecko_endpoint: ""

testnet:
  node: 
    rpc_node: "tcp://localhost:26657" # tcp://dataseed1.binance.org:80
    accelerated_node: "http://192.168.1.112:1317" # https://dex-asiapacific.binance.org/api/v1
    api_server_endpoint: "http://192.168.1.112:1317"
    explorer_server_endpoint: "https://explorer.binance.org/api/v1"
  database:
    host: "localhost"
    port: 5432
    user: "postgres"
    password: "1234"
    table: ""
  market:
    coingecko_endpoint: ""

error

Chain Exporter 2022/03/02 00:50:37 exporter.go:76: Starting Chain Exporter...
Chain Exporter 2022/03/02 00:50:37 exporter.go:77: Version: 1.2.0-16-g9ae4ea1 | Commit Hash: 9ae4ea1dd0babbdda46ebade497156f47cee413b
Chain Exporter 2022/03/02 00:50:37 exporter.go:81: start - sync blockchain
panic: http: invalid pattern

goroutine 61 [running]:
net/http.(*ServeMux).Handle(0x51311e0, {0x0, 0x0}, {0x4b62960, 0xc000611dd0})
        /usr/local/go/src/net/http/server.go:2435 +0x24c
net/http.Handle(...)
        /usr/local/go/src/net/http/server.go:2484
github.com/cosmostation/mintscan-binance-dex-backend/chain-exporter/prometheus.StartMetricsScraping({{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}})
        /Users/jarupaksrisuchat/Documents/github/mintscan-binance-dex-backend/chain-exporter/prometheus/metrics.go:38 +0x65
created by github.com/cosmostation/mintscan-binance-dex-backend/chain-exporter/exporter.NewExporter
        /Users/jarupaksrisuchat/Documents/github/mintscan-binance-dex-backend/chain-exporter/exporter/exporter.go:63 +0x32b
ppenter commented 2 years ago

You have to make sure your wallet is synchronize and then debug with bech13

I try to connect to cosmos sdk private blockchain is that supported?

ppenter commented 2 years ago

It’s not supported.. I will send you an encrypted secure link. You follow the link till you get to synchronize wallet and then you click on it and then you reboot your device On Tue, Mar 1, 2022 at 10:56 PM ppenter @.> wrote: You have to make sure your wallet is synchronize and then debug with bech13 I try to connect to cosmos sdk private blockchain is that supported? — Reply to this email directly, view it on GitHub <#24 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AX54U7GOCF6WWYEZOXWIBD3U54GINANCNFSM5PUXRP6Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @. com>

which link?

cbs8710064 commented 1 year ago

我也遇到了同样的问题,请问怎么解决?