jimmysong / programmingbitcoin

Repository for the book
Other
1.75k stars 656 forks source link

testnet.programmingbitcoin.com isn't responding anymore #245

Open tindandelion opened 2 years ago

tindandelion commented 2 years ago

As of now, May 26th, I can't reach testnet.programmingbitcoin.com on port 18333 anymore. The server isn't responding.

maestrovt commented 2 years ago

I have the same issue as of 8/7/2022. If I run the first example in Chapter 7, the code fails due to testnet.programmingbitcoin.com returning "502 Bad Gateway".

ValueError: unexpected response: <html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>nginx/1.21.6</center>
</body>
</html>
fedetaladriz commented 2 years ago

I have the same problem. @tindandelion @maestrovt Did you guys manage to solve it?

maestrovt commented 2 years ago

@fedetaladriz No, not yet. I have reached out to Jimmy, no response as yet, I will post here if I get an answer.

tindandelion commented 2 years ago

For my experiments with Bitcoin protocol, I ended up using another gateway: testnet-seed.bluematt.me, port 18333

fedetaladriz commented 2 years ago

I managed to solve it for the mainnet (mainnet.programmingbitcoin.com) following this example. The testnet seems to be not working.

nicolafiorillo commented 1 year ago

For those who still need it: https://blockchain.info/rawtx/{tx_ID}?cors=true&format=hex

SDZZGNDRC commented 1 year ago

I managed to solve it for the mainnet (mainnet.programmingbitcoin.com) following this example. The testnet seems to be not working.

The mainnet mainnet.programmingbitcoin.com seems to be not working now too.

nicolafiorillo commented 1 year ago

I managed to solve it for the mainnet (mainnet.programmingbitcoin.com) following this example. The testnet seems to be not working.

The mainnet mainnet.programmingbitcoin.com seems to be not working now too.

Use blockstream.info as alternative: https://github.com/Blockstream/esplora/blob/master/API.md https://github.com/Blockstream/esplora/blob/master/API.md#post-tx