Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • TRADING
  • SUBMIT
Crypto Flexs
Home»BITCOIN NEWS»python – RPC returns 403 from Umbrel – Stack Overflow
BITCOIN NEWS

python – RPC returns 403 from Umbrel – Stack Overflow

By Crypto FlexsJanuary 28, 20241 Min Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
python – RPC returns 403 from Umbrel – Stack Overflow
Share
Facebook Twitter LinkedIn Pinterest Email

I have someone who can help me get closer to my goals.

my code

# rpc_user and rpc_password are set in the bitcoin.conf file
rpc_user = "umbrel"
rpc_pass = "pass"
rpc_host = "192.168.1.122"
rpc_port = "8332"
rpc_connection = f"http://rpc_user:rpc_pass@rpc_host:rpc_port"
rpc_client = AuthServiceProxy(rpc_connection, timeout=240)
num_blocks = rpc_client.getblockcount()
print(num_blocks)

We need to print the BlockHeight of the node. But it shows 403 – Forbidden.

error message

Traceback (most recent call last):
  File "/media/donbolli/code/python/bitcoin/crawler/test.py", line 37, in <module>
    num_blocks = rpc_client.getblockcount()
  File "/media/donbolli/code/python/bitcoin/venv/lib/python3.10/site-packages/bitcoinrpc/authproxy.py", line 139, in __call__
    response = self._get_response()
  File "/media/donbolli/code/python/bitcoin/venv/lib/python3.10/site-packages/bitcoinrpc/authproxy.py", line 186, in _get_response
    raise JSONRPCException({
bitcoinrpc.authproxy.JSONRPCException: -342: non-JSON HTTP response with '403 Forbidden' from server

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Startup StarCloud Plans First Bitcoin Mining Satellite in Low Earth Orbit

March 8, 2026

Are Investors Abandoning BTC?

March 2, 2026

Announcing the world’s first regulated, tokenized stock perpetual futures using xStocks

February 24, 2026
Add A Comment

Comments are closed.

Recent Posts

SIGN surged more than 100% as Sign Global’s pivotal role in sovereign digital infrastructure was revealed.

March 9, 2026

Startup StarCloud Plans First Bitcoin Mining Satellite in Low Earth Orbit

March 8, 2026

Omnipair Loan Audit Summary – Ackee Blockchain

March 8, 2026

Bitcoin Price Rally Slows, Consolidation Signals Move to Next Stage

March 8, 2026

Why Crypto Projects Need Earned Media More Than Ads

March 8, 2026

1win Arranges Private Charter Flights For VIP Clients Leaving The UAE Amid Aviation Disruptions

March 8, 2026

KuCoin launches KCS PulseDrop to convert transactions and payments into rewards.

March 7, 2026

OmniPact Secures $50 Million To Advance Trust Infrastructure

March 7, 2026

Khalsi sued for refusing prediction market payments after Iranian leader’s death

March 7, 2026

Is Vault12 Review 2025 worth using?

March 6, 2026

Utexo Raises $7.5M Led By Tether To Launch Native USDT Settlements On Bitcoin

March 6, 2026

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

SIGN surged more than 100% as Sign Global’s pivotal role in sovereign digital infrastructure was revealed.

March 9, 2026

Startup StarCloud Plans First Bitcoin Mining Satellite in Low Earth Orbit

March 8, 2026

Omnipair Loan Audit Summary – Ackee Blockchain

March 8, 2026
Most Popular

Trump’s Crypto Platform Launches, Uniswap Denies Charging Fees for Protocol Distribution: Redefined Finance

September 15, 2024

Top trending cryptocurrencies on Solana Chain today – KIN, ORCA, Zebec

February 25, 2024

Bullionaire Coin ($ BULL) secures $ 400,000 private investment to develop advanced cryptocurrency.

March 11, 2025
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2026 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.