programmingbitcoin
programmingbitcoin copied to clipboard
Failed to connect to faucet.programmingbitcoin.com
I've failed to connect to the testnet faucet https://faucet.programmingbitcoin.com
that has been described in Chapter4 and 7.
Is there something trouble with the faucet site or network?
$ curl -v https://faucet.programmingbitcoin.com
* Rebuilt URL to: https://faucet.programmingbitcoin.com/
* Trying 162.255.119.77...
* TCP_NODELAY set
* Connection failed
* connect to 162.255.119.77 port 443 failed: Operation timed out
* Failed to connect to faucet.programmingbitcoin.com port 443: Operation timed out
* Closing connection 0
curl: (7) Failed to connect to faucet.programmingbitcoin.com port 443: Operation timed out
For reference, accessing for http://faucet.programmingbitcoin.com
that has not been described redirects my browser to https://testnet-faucet.mempool.co/
.
$ curl -v http://faucet.programmingbitcoin.com
* Rebuilt URL to: http://faucet.programmingbitcoin.com/
* Trying 162.255.119.77...
* TCP_NODELAY set
* Connected to faucet.programmingbitcoin.com (162.255.119.77) port 80 (#0)
> GET / HTTP/1.1
> Host: faucet.programmingbitcoin.com
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 302 Found
< Server: nginx
< Date: Tue, 13 Aug 2019 07:46:31 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 57
< Connection: keep-alive
< Location: https://testnet-faucet.mempool.co/
< X-Served-By: Namecheap URL Forward
<
<a href='https://testnet-faucet.mempool.co/'>Found</a>.
How did you try to access it? If you curl
like in your example, it won't work since curl
requires the --location
option to follow redirects. The redirect does seem to be working.
@chanhosuh Thank you for your suggestion. Yes, the http access is working.
Originally, I want to talk about accessing the faucet via https that has been described in the text.
So I have updated the issue comment a little.