janoside / btc-rpc-explorer

Database-free, self-hosted Bitcoin explorer, via RPC to Bitcoin Core.
https://bitcoinexplorer.org
MIT License
1.58k stars 1.18k forks source link

http 401 response calling api #480

Closed bucadoX closed 2 years ago

bucadoX commented 2 years ago

Executing an api call in pyhton via (as part of my mynode fullnode) req = requests.get('http://192.168.30.87:3002/api/address/%s' % adress) always returns a 401 'Unauthorized' How can I avoid that? Doing excatly the same call with the mempool app from my fullnode works just fine with a 200 respone.

Thanks!

bucadoX commented 2 years ago

Issue closed. Solved by decativating Access Token reuirement. With AT activated I assume the fix to be connected with this issue: https://github.com/janoside/btc-rpc-explorer/issues/393