Closed dsp1589 closed 2 years ago
Unable to connect to BTC api (Trezor returns 403)
Expecting 200 status code
cd to root folder and run below commands make go-build-api make start
dsp@dsp blockatlas@v1.1.15 % INFO[0000] Viper using supplied config config=/Users/dsp/go/pkg/mod/github.com/trustwallet/blockatlas@v1.1.15/config.yml INFO[0000] Viper using supplied config config=/Users/dsp/go/pkg/mod/github.com/trustwallet/blockatlas@v1.1.15/config.yml INFO[0000] Viper using supplied config config=/Users/dsp/go/pkg/mod/github.com/trustwallet/blockatlas@v1.1.15/config.yml INFO[0000] Platform API setup with handles="[bitcoin]" INFO[0000] Run PG RestoreConnectionWorker INFO[0000] Running application bind=8420 INFO[0000] Platform API setup with handles="[bitcoin]" INFO[0000] Run PG RestoreConnectionWorker INFO[0000] Parser params coin=bitcoin fetch blocks timeout=1ms interval=30s max blocks=15 INFO[0000] ------------------------------------------------------------ INFO[0000] Run MQ FatalWorker INFO[0000] Run PG RestoreConnectionWorker INFO[0000] Platform API setup with handles="[bitcoin]" INFO[0000] Run MQ FatalWorker ERRO[0000] Client Errors fingerprint="[client_errors]" tags="[{status_code 403} {host btc1.trezor.io} {url https://btc1.trezor.io//api?}]" ERRO[0000] failed request status: 403 for url: Polling failed: source didn't return chain head number. lastParsedBlock: 0 coin=bitcoin operation="fetch GetBlocksIntervalToFetch" tags="[{coin bitcoin}]" dsp@dsp blockatlas@v1.1.15 % INFO[0030] ------------------------------------------------------------ ERRO[0031] Client Errors fingerprint="[client_errors]" tags="[{**status_code 403**} {host btc1.trezor.io} {url https://btc1.trezor.io//api?}]" ERRO[0031] failed request status: 403 for url: Polling failed: source didn't return chain head number. lastParsedBlock: 0 coin=bitcoin operation="fetch GetBlocksIntervalToFetch" tags="[{coin bitcoin}]"
Summary of Bug
Unable to connect to BTC api (Trezor returns 403)
Expected Behavior
Expecting 200 status code
Steps to Reproduce
cd to root folder and run below commands make go-build-api make start
More Info (for devs / optional)
Request details: