Problem with node sync in windows

Hi! I’m trying to run a node on my machine but it is stuck at 0 block verified, it doesn’t start at all!

I switched the DNS variable to 0
image

command:goal node status -d data
output:

Last committed block: 0
Time since last block: 0.0s
Sync Time: 0.0s
Last consensus protocol: https://github.com/algorand/spec/tree/a26ed78ed8f834e2b9ccb6eb7d3ee9f629a6e622
Next consensus protocol: https://github.com/algorand/spec/tree/a26ed78ed8f834e2b9ccb6eb7d3ee9f629a6e622
Round for next consensus protocol: 1
Next consensus protocol supported: true
Last Catchpoint:
Genesis ID: testnet-v1.0
Genesis hash: SGO1GKSzyE7IEPItTxCByw9x8FmnrCDexi9/cOUJOiI=

command :node version -v -d data
output

PS D:\algorand\msys\home\wgl\node> goal version -v -d data
Version: [v2]
GenesisID: testnet-v1.0
Build: 3.14.2.dev [HEAD] (commit #8fd6e702+)

algog.log

{"file":"bootstrap.go","function":"github.com/algorand/go-algorand/tools/network.ReadFromSRV","level":"info","line":43,"msg":"ReadFromBootstrap: DNS LookupSRV failed when using system resolver: lookup _algobootstrap._tcp.testnet.algodev.network: dnsquery: No records found for given DNS query.","time":"2023-03-14T10:56:14.138732+08:00"}
{"file":"wsNetwork.go","function":"github.com/algorand/go-algorand/network.(*WebsocketNetwork).getDNSAddrs","level":"warning","line":1916,"msg":"Cannot lookup algobootstrap SRV record for testnet.algodev.network: ReadFromBootstrap: DNS LookupSRV failed when using system resolver(lookup _algobootstrap._tcp.testnet.algodev.network: dnsquery: No records found for given DNS query.), fallback resolver(\u003cnil\u003e), as well as using default resolver due to lookup _algobootstrap._tcp.testnet.algodev.network on 192.168.247.6:53: no such host","name":"","time":"2023-03-14T10:56:14.241562+08:00"}
{"file":"bootstrap.go","function":"github.com/algorand/go-algorand/tools/network.ReadFromSRV","level":"info","line":43,"msg":"ReadFromBootstrap: DNS LookupSRV failed when using system resolver: lookup _archive._tcp.testnet.algodev.network: dnsquery: No records found for given DNS query.","time":"2023-03-14T10:56:14.245722+08:00"}
{"file":"wsNetwork.go","function":"github.com/algorand/go-algorand/network.(*WebsocketNetwork).getDNSAddrs","level":"warning","line":1925,"msg":"Cannot lookup archive SRV record for testnet.algodev.network: ReadFromBootstrap: DNS LookupSRV failed when using system resolver(lookup _archive._tcp.testnet.algodev.network: dnsquery: No records found for given DNS query.), fallback resolver(\u003cnil\u003e), as well as using default resolver due to lookup _archive._tcp.testnet.algodev.network on 192.168.247.6:53: no such host","name":"","time":"2023-03-14T10:56:14.294401+08:00"}
{"file":"wsNetwork.go","function":"github.com/algorand/go-algorand/network.(*WebsocketNetwork).meshThread","level":"info","line":1657,"msg":"got no relay DNS addrs for network testnet","name":"","time":"2023-03-14T10:56:14.294401+08:00"}
{"Context":"sync","file":"service.go","function":"github.com/algorand/go-algorand/catchup.(*Service).periodicSync","level":"info","line":593,"msg":"It's been too long since our ledger advanced; resyncing","name":"","time":"2023-03-14T10:56:18.195796+08:00"}
{"Context":"sync","details":{"StartRound":0},"file":"telemetry.go","function":"github.com/algorand/go-algorand/logging.(*telemetryState).logTelemetry","instanceName":"Q+n+hKbj77ker2T9","level":"info","line":255,"msg":"/ApplicationState/CatchupStart","name":"","session":"","time":"2023-03-14T10:56:18.195796+08:00","v":"3.14.2"}
{"Context":"sync","details":{"StartRound":0,"EndRound":0,"Time":0,"InitSync":false},"file":"telemetry.go","function":"github.com/algorand/go-algorand/logging.(*telemetryState).logTelemetry","instanceName":"Q+n+hKbj77ker2T9","level":"info","line":255,"msg":"/ApplicationState/CatchupStop","name":"","session":"","time":"2023-03-14T10:56:18.195796+08:00","v":"3.14.2"}
{"Context":"sync","file":"service.go","function":"github.com/algorand/go-algorand/catchup.(*Service).sync","level":"info","line":665,"msg":"Catchup Service: finished catching up, now at round 0 (previously 0). Total time catching up 0s.","name":"","time":"2023-03-14T10:56:18.195796+08:00"}
{"file":"txSyncer.go","function":"github.com/algorand/go-algorand/rpcs.(*TxSyncer).syncFromClient","level":"info","line":111,"msg":"TxSyncer.Sync: asking client  for missing transactions","time":"2023-03-14T10:56:34.849388+08:00"}
{"Context":"sync","file":"service.go","function":"github.com/algorand/go-algorand/catchup.(*Service).periodicSync","level":"info","line":593,"msg":"It's been too long since our ledger advanced; resyncing","name":"","time":"2023-03-14T10:56:35.205878+08:00"}
{"Context":"sync","details":{"StartRound":0},"file":"telemetry.go","function":"github.com/algorand/go-algorand/logging.(*telemetryState).logTelemetry","instanceName":"Q+n+hKbj77ker2T9","level":"info","line":255,"msg":"/ApplicationState/CatchupStart","name":"","session":"","time":"2023-03-14T10:56:35.205878+08:00","v":"3.14.2"}
{"Context":"sync","details":{"StartRound":0,"EndRound":0,"Time":0,"InitSync":false},"file":"telemetry.go","function":"github.com/algorand/go-algorand/logging.(*telemetryState).logTelemetry","instanceName":"Q+n+hKbj77ker2T9","level":"info","line":255,"msg":"/ApplicationState/CatchupStop","name":"","session":"","time":"2023-03-14T10:56:35.205878+08:00","v":"3.14.2"}
{"Context":"sync","file":"service.go","function":"github.com/algorand/go-algorand/catchup.(*Service).sync","level":"info","line":665,"msg":"Catchup Service: finished catching up, now at round 0 (previously 0). Total time catching up 0s.","name":"","time":"2023-03-14T10:56:35.205878+08:00"}

dig @8.8.8.8 _algobootstrap._tcp.testnet.algorand.network srv +dnssec

C:\WINDOWS\system32>dig @8.8.8.8 _algobootstrap._tcp.testnet.algorand.network srv +dnssec

; <<>> DiG 9.17.15 <<>> @8.8.8.8 _algobootstrap._tcp.testnet.algorand.network srv +dnssec
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35647
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 9, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags: do; udp: 512
;; QUESTION SECTION:
;_algobootstrap._tcp.testnet.algorand.network. IN SRV

;; ANSWER SECTION:
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 londong-algorand-test-2.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 relay-virginia-testnet-algorand.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 r19.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 80 relay-switzerland1-testnet-algorand.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 singaporeg-algorand-test-2.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 londong-algorand-test-1.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 singaporeg-algorand-test-1.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 oregong-algorand-test-1.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN RRSIG SRV 13 5 300 20230315030241 20230313010241 34505 algorand.network. OX6TRvEnCb9Z6PM9Yl1W3Lx4HWTsHNN1ynaq3o37tIj/tlfZ5fRV8pDF VQFttNfKYeA4LpoYswXnLwtpzqInKQ==

;; Query time: 55 msec
;; SERVER: 8.8.8.8#53(8.8.8.8) (UDP)
;; WHEN: Tue Mar 14 10:02:40 ;; MSG SIZE  rcvd: 735

dig _algobootstrap._tcp.testnet.algorand.network srv +dnssec

C:\WINDOWS\system32>dig _algobootstrap._tcp.testnet.algorand.network srv +dnssec

; <<>> DiG 9.17.15 <<>> _algobootstrap._tcp.testnet.algorand.network srv +dnssec
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2906
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;_algobootstrap._tcp.testnet.algorand.network. IN SRV

;; ANSWER SECTION:
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 r19.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 oregong-algorand-test-1.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 singaporeg-algorand-test-2.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 relay-virginia-testnet-algorand.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 londong-algorand-test-1.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 80 relay-switzerland1-testnet-algorand.algorand-testnet.network.

;; Query time: 1935 msec
;; SERVER: 192.168.247.6#53(192.168.247.6) (UDP)
;; WHEN: Tue Mar 14 10:04:36 ;; MSG SIZE  rcvd: 484
1 Like

I need it work today,I hope someone can help me

[go-algorand-test-dns-bootstrap]
output:

PS D:\algorand\msys\home\wgl\test\go-algorand-test-dns-bootstrap> go run .
time="2023-03-14T11:43:36.981604 +0800" level=info msg="Trying: fallback=\"\", secure=true" file=main.go function=main.testBootstrap line=16
time="2023-03-14T11:43:37.005936 +0800" level=info msg="ReadFromBootstrap: DNS LookupSRV failed when using system resolver: no answer for (_algobootstrap._tcp.mainnet.algorand.network., 33) from DNS servers [192.168.247.6\x00\x00\x00:53 114.114.114.114\x00:53]" file=bootstrap.go function=github.com/algorand/go-algorand/tools/network.ReadFromSRV line=43
time="2023-03-14T11:43:38.435407 +0800" level=info msg="Found 95 SRV records: r-h6.algorand-mainnet.network:4160,r-k2.algorand-mainnet.network:4160,r-y8.algorand-mainnet.network:4160,r-pb.algorand-mainnet.network:4160,r-db.algorand-mainnet.network:4160,r-pd.algorand-mainnet.network:4160,r-f4.algorand-mainnet.network:4160,r-po.algorand-mainnet.network:4160,r-es.algorand-mainnet.network:4160,relay-singaporea-mainnet-algorand.algorand-mainnet.network:4160,r-er.algorand-mainnet.network:4160,r12.algorand-mainnet.network:80,r-tc.algorand-mainnet.network:4160,r-o1.algorand-mainnet.network:4160,r-f8.algorand-mainnet.network:4160,r-y4.algorand-mainnet.network:4160,r10.algorand-mainnet.network:80,r-v0.algorand-mainnet.network:4160,r-k4.algorand-mainnet.network:4160,r-ge.algorand-mainnet.network:4160,r-la.algorand-mainnet.network:4160,r-lu.algorand-mainnet.network:4160,r-f0.algorand-mainnet.network:4160,r-n0.algorand-mainnet.network:4160,r-cm.algorand-mainnet.network:4160,r-v9.algorand-mainnet.network:4160,r-bk.algorand-mainnet.network:4160,r-b8.algorand-mainnet.network:4160,r-b6.algorand-mainnet.network:80,r-c7.algorand-mainnet.network:4160,r-u2.algorand-mainnet.network:4160,r-k9.algorand-mainnet.network:4160,r7.algorand-mainnet.network:80,r-os.algorand-mainnet.network:4160,r-y2.algorand-mainnet.network:4160,r-hg.algorand-mainnet.network:4160,r-ta.algorand-mainnet.network:4160,r-b2.algorand-mainnet.network:4160,r-kr.algorand-mainnet.network:4160,r-i3.algorand-mainnet.network:4160,r-v1.algorand-mainnet.network:4160,r-c6.algorand-mainnet.network:4160,r-as.algorand-mainnet.network:4160,r-c2.algorand-mainnet.network:4160,relay-mumbai-mainnet-algorand.algorand-mainnet.network:4160,r-pm.algorand-mainnet.network:4160,r-b7.algorand-mainnet.network:4160,r-hs.algorand-mainnet.network:4160,r-b9.algorand-mainnet.network:4160,r-h3.algorand-mainnet.network:4160,r-fe.algorand-mainnet.network:4160,r-f6.algorand-mainnet.network:80,r-v5.algorand-mainnet.network:4160,r-s2.algorand-mainnet.network:80,r-h7.algorand-mainnet.network:4160,r-n1.algorand-mainnet.network:4160,r-v2.algorand-mainnet.network:4160,relay-tokyo-mainnet-algorand.algorand-mainnet.network:4160,r-s9.algorand-mainnet.network:4160,r-co.algorand-mainnet.network:4160,r-b1.algorand-mainnet.network:4160,r-gd.algorand-mainnet.network:4160,relay-singapore-mainnet-algorand.algorand-mainnet.network:4160,r-s4.algorand-mainnet.network:4160,r-o9.algorand-mainnet.network:4160,r-eu.algorand-mainnet.network:4160,r-b4.algorand-mainnet.network:4160,r-pt.algorand-mainnet.network:4160,relay-montreal-mainnet-algorand.algorand-mainnet.network:4160,r-al.algorand-mainnet.network:4160,r-s6.algorand-mainnet.network:4160,r-sr.algorand-mainnet.network:4160,r-o3.algorand-mainnet.network:4160,r-cr.algorand-mainnet.network:4160,r-am.algorand-mainnet.network:80,r-xe.algorand-mainnet.network:4160,r-o2.algorand-mainnet.network:4160,r-v3.algorand-mainnet.network:4160,r-pu.algorand-mainnet.network:4160,r-p2.algorand-mainnet.network:4160,r-cs.algorand-mainnet.network:4160,r-rh.algorand-mainnet.network:4160,r-i7.algorand-mainnet.network:4160,r-au.algorand-mainnet.network:4160,r-y9.algorand-mainnet.network:4160,r13.algorand-mainnet.network:80,r-s1.algorand-mainnet.network:4160,r-br.algorand-mainnet.network:4160,r-n9.algorand-mainnet.network:4160,r-b0.algorand-mainnet.network:4160,r-k0.algorand-mainnet.network:4160,r-o7.algorand-mainnet.network:4160,r-u6.algorand-mainnet.network:4160,r-o4.algorand-mainnet.network:4160,r-cf.algorand-mainnet.network:4160" file=main.go function=main.printAddress line=12
time="2023-03-14T11:43:38.447516 +0800" level=info msg="Trying: fallback=\"8.8.8.8\", secure=true" file=main.go function=main.testBootstrap line=16
time="2023-03-14T11:43:38.464887 +0800" level=info msg="ReadFromBootstrap: DNS LookupSRV failed when using system resolver: no answer for (_algobootstrap._tcp.mainnet.algorand.network., 33) from DNS servers [192.168.247.6\x00\x00\x00:53 114.114.114.114\x00:53]" file=bootstrap.go function=github.com/algorand/go-algorand/tools/network.ReadFromSRV line=43
time="2023-03-14T11:43:39.874416 +0800" level=info msg="Found 95 SRV records: r-ta.algorand-mainnet.network:4160,r-o4.algorand-mainnet.network:4160,r-pb.algorand-mainnet.network:4160,r-s9.algorand-mainnet.network:4160,r-b9.algorand-mainnet.network:4160,r-k9.algorand-mainnet.network:4160,r-y9.algorand-mainnet.network:4160,r-h3.algorand-mainnet.network:4160,r-s1.algorand-mainnet.network:4160,r-al.algorand-mainnet.network:4160,r-es.algorand-mainnet.network:4160,r-cf.algorand-mainnet.network:4160,r-u2.algorand-mainnet.network:4160,r10.algorand-mainnet.network:80,r-gd.algorand-mainnet.network:4160,r-n1.algorand-mainnet.network:4160,r-k2.algorand-mainnet.network:4160,r-kr.algorand-mainnet.network:4160,r-fe.algorand-mainnet.network:4160,r-c6.algorand-mainnet.network:4160,r-v0.algorand-mainnet.network:4160,r-n9.algorand-mainnet.network:4160,r-f4.algorand-mainnet.network:4160,r-tc.algorand-mainnet.network:4160,r-co.algorand-mainnet.network:4160,r-s6.algorand-mainnet.network:4160,r-n0.algorand-mainnet.network:4160,r-h6.algorand-mainnet.network:4160,r-bk.algorand-mainnet.network:4160,r-xe.algorand-mainnet.network:4160,r-b7.algorand-mainnet.network:4160,relay-singaporea-mainnet-algorand.algorand-mainnet.network:4160,r-cm.algorand-mainnet.network:4160,relay-singapore-mainnet-algorand.algorand-mainnet.network:4160,r-am.algorand-mainnet.network:80,r-i3.algorand-mainnet.network:4160,r-b1.algorand-mainnet.network:4160,r-y4.algorand-mainnet.network:4160,r-h7.algorand-mainnet.network:4160,r-b2.algorand-mainnet.network:4160,r12.algorand-mainnet.network:80,r-y2.algorand-mainnet.network:4160,r-hs.algorand-mainnet.network:4160,r-y8.algorand-mainnet.network:4160,r7.algorand-mainnet.network:80,r-k4.algorand-mainnet.network:4160,r-b8.algorand-mainnet.network:4160,r-o2.algorand-mainnet.network:4160,r-au.algorand-mainnet.network:4160,r-er.algorand-mainnet.network:4160,r-v2.algorand-mainnet.network:4160,r-i7.algorand-mainnet.network:4160,r-ge.algorand-mainnet.network:4160,r-hg.algorand-mainnet.network:4160,r-pm.algorand-mainnet.network:4160,r-cs.algorand-mainnet.network:4160,r-b0.algorand-mainnet.network:4160,r-v1.algorand-mainnet.network:4160,r-k0.algorand-mainnet.network:4160,r-v5.algorand-mainnet.network:4160,r-f6.algorand-mainnet.network:80,relay-mumbai-mainnet-algorand.algorand-mainnet.network:4160,r-pu.algorand-mainnet.network:4160,r-c7.algorand-mainnet.network:4160,r-s4.algorand-mainnet.network:4160,r-rh.algorand-mainnet.network:4160,r-b6.algorand-mainnet.network:80,r-c2.algorand-mainnet.network:4160,r-f0.algorand-mainnet.network:4160,relay-tokyo-mainnet-algorand.algorand-mainnet.network:4160,r-as.algorand-mainnet.network:4160,r-v9.algorand-mainnet.network:4160,r-sr.algorand-mainnet.network:4160,r-o1.algorand-mainnet.network:4160,r-o9.algorand-mainnet.network:4160,r-s2.algorand-mainnet.network:80,r-v3.algorand-mainnet.network:4160,r-la.algorand-mainnet.network:4160,r-db.algorand-mainnet.network:4160,r-lu.algorand-mainnet.network:4160,r-o7.algorand-mainnet.network:4160,r-cr.algorand-mainnet.network:4160,r13.algorand-mainnet.network:80,relay-montreal-mainnet-algorand.algorand-mainnet.network:4160,r-b4.algorand-mainnet.network:4160,r-pd.algorand-mainnet.network:4160,r-u6.algorand-mainnet.network:4160,r-p2.algorand-mainnet.network:4160,r-po.algorand-mainnet.network:4160,r-br.algorand-mainnet.network:4160,r-o3.algorand-mainnet.network:4160,r-eu.algorand-mainnet.network:4160,r-f8.algorand-mainnet.network:4160,r-os.algorand-mainnet.network:4160,r-pt.algorand-mainnet.network:4160" file=main.go function=main.printAddress line=12
time="2023-03-14T11:43:39.883895 +0800" level=info msg="Trying: fallback=\"\", secure=false" file=main.go 
function=main.testBootstrap line=16
time="2023-03-14T11:43:39.892420 +0800" level=info msg="ReadFromBootstrap: DNS LookupSRV failed when using system resolver: no answer for (_algobootstrap._tcp.mainnet.algorand.network., 33) from DNS servers [192.168.247.6\x00\x00\x00:53 114.114.114.114\x00:53]" file=bootstrap.go function=github.com/algorand/go-algorand/tools/network.ReadFromSRV line=43
time="2023-03-14T11:43:41.353903 +0800" level=info msg="Found 95 SRV records: r-pm.algorand-mainnet.network:4160,r-b4.algorand-mainnet.network:4160,r-pt.algorand-mainnet.network:4160,r-u2.algorand-mainnet.network:4160,r-v1.algorand-mainnet.network:4160,r-cs.algorand-mainnet.network:4160,r-kr.algorand-mainnet.network:4160,r-i3.algorand-mainnet.network:4160,r-bk.algorand-mainnet.network:4160,r-sr.algorand-mainnet.network:4160,r-ta.algorand-mainnet.network:4160,r-v9.algorand-mainnet.network:4160,r-pu.algorand-mainnet.network:4160,r-b9.algorand-mainnet.network:4160,r-y8.algorand-mainnet.network:4160,r-br.algorand-mainnet.network:4160,r-b8.algorand-mainnet.network:4160,r-al.algorand-mainnet.network:4160,r-h3.algorand-mainnet.network:4160,r-k4.algorand-mainnet.network:4160,r-u6.algorand-mainnet.network:4160,r-s2.algorand-mainnet.network:80,r-f4.algorand-mainnet.network:4160,r-c2.algorand-mainnet.network:4160,r-es.algorand-mainnet.network:4160,r-o9.algorand-mainnet.network:4160,r-p2.algorand-mainnet.network:4160,r-b6.algorand-mainnet.network:80,r-hs.algorand-mainnet.network:4160,r13.algorand-mainnet.network:80,r-c6.algorand-mainnet.network:4160,r-po.algorand-mainnet.network:4160,r-tc.algorand-mainnet.network:4160,r-n0.algorand-mainnet.network:4160,r-s9.algorand-mainnet.network:4160,r-fe.algorand-mainnet.network:4160,r-y2.algorand-mainnet.network:4160,r-s4.algorand-mainnet.network:4160,relay-singapore-mainnet-algorand.algorand-mainnet.network:4160,r-h6.algorand-mainnet.network:4160,r-h7.algorand-mainnet.network:4160,r-i7.algorand-mainnet.network:4160,r-n1.algorand-mainnet.network:4160,r-cm.algorand-mainnet.network:4160,r-v2.algorand-mainnet.network:4160,r-gd.algorand-mainnet.network:4160,r-os.algorand-mainnet.network:4160,r-b7.algorand-mainnet.network:4160,relay-tokyo-mainnet-algorand.algorand-mainnet.network:4160,r-am.algorand-mainnet.network:80,relay-montreal-mainnet-algorand.algorand-mainnet.network:4160,r-as.algorand-mainnet.network:4160,r-b2.algorand-mainnet.network:4160,r-la.algorand-mainnet.network:4160,r-b0.algorand-mainnet.network:4160,r-o4.algorand-mainnet.network:4160,r-ge.algorand-mainnet.network:4160,r-db.algorand-mainnet.network:4160,r-cf.algorand-mainnet.network:4160,r-cr.algorand-mainnet.network:4160,r-s6.algorand-mainnet.network:4160,r-pb.algorand-mainnet.network:4160,r-au.algorand-mainnet.network:4160,relay-mumbai-mainnet-algorand.algorand-mainnet.network:4160,r-k9.algorand-mainnet.network:4160,r-co.algorand-mainnet.network:4160,r-o2.algorand-mainnet.network:4160,r-o1.algorand-mainnet.network:4160,r7.algorand-mainnet.network:80,r10.algorand-mainnet.network:80,r-y4.algorand-mainnet.network:4160,r-s1.algorand-mainnet.network:4160,r-xe.algorand-mainnet.network:4160,r-b1.algorand-mainnet.network:4160,r-lu.algorand-mainnet.network:4160,r-f6.algorand-mainnet.network:80,r-pd.algorand-mainnet.network:4160,r-hg.algorand-mainnet.network:4160,r-o7.algorand-mainnet.network:4160,r-k0.algorand-mainnet.network:4160,r-v3.algorand-mainnet.network:4160,r-f8.algorand-mainnet.network:4160,r-eu.algorand-mainnet.network:4160,r12.algorand-mainnet.network:80,r-y9.algorand-mainnet.network:4160,r-o3.algorand-mainnet.network:4160,r-c7.algorand-mainnet.network:4160,r-n9.algorand-mainnet.network:4160,r-er.algorand-mainnet.network:4160,relay-singaporea-mainnet-algorand.algorand-mainnet.network:4160,r-k2.algorand-mainnet.network:4160,r-f0.algorand-mainnet.network:4160,r-rh.algorand-mainnet.network:4160,r-v0.algorand-mainnet.network:4160,r-v5.algorand-mainnet.network:4160" file=main.go function=main.printAddress line=12
time="2023-03-14T11:43:41.359656 +0800" level=info msg="Trying: fallback=\"8.8.8.8\", secure=false" file=main.go function=main.testBootstrap line=16
time="2023-03-14T11:43:41.369846 +0800" level=info msg="ReadFromBootstrap: DNS LookupSRV failed when using system resolver: no answer for (_algobootstrap._tcp.mainnet.algorand.network., 33) from DNS servers [192.168.247.6\x00\x00\x00:53 114.114.114.114\x00:53]" file=bootstrap.go function=github.com/algorand/go-algorand/tools/network.ReadFromSRV line=43
time="2023-03-14T11:43:42.814375 +0800" level=info msg="Found 95 SRV records: r-al.algorand-mainnet.network:4160,r-v1.algorand-mainnet.network:4160,r-k4.algorand-mainnet.network:4160,r-v3.algorand-mainnet.network:4160,r-y4.algorand-mainnet.network:4160,relay-singapore-mainnet-algorand.algorand-mainnet.network:4160,r-rh.algorand-mainnet.network:4160,r-cr.algorand-mainnet.network:4160,r-y9.algorand-mainnet.network:4160,r-pb.algorand-mainnet.network:4160,r-pd.algorand-mainnet.network:4160,r-s6.algorand-mainnet.network:4160,r-co.algorand-mainnet.network:4160,r-au.algorand-mainnet.network:4160,r-o1.algorand-mainnet.network:4160,r-pt.algorand-mainnet.network:4160,r-cm.algorand-mainnet.network:4160,r-v9.algorand-mainnet.network:4160,r-b9.algorand-mainnet.network:4160,r-c7.algorand-mainnet.network:4160,r-am.algorand-mainnet.network:80,r-h3.algorand-mainnet.network:4160,r-b8.algorand-mainnet.network:4160,r-sr.algorand-mainnet.network:4160,r-er.algorand-mainnet.network:4160,r-u2.algorand-mainnet.network:4160,r-s9.algorand-mainnet.network:4160,r-gd.algorand-mainnet.network:4160,r-es.algorand-mainnet.network:4160,r-b0.algorand-mainnet.network:4160,r7.algorand-mainnet.network:80,r-b4.algorand-mainnet.network:4160,r-i7.algorand-mainnet.network:4160,r-ta.algorand-mainnet.network:4160,r-p2.algorand-mainnet.network:4160,r-cs.algorand-mainnet.network:4160,r-f6.algorand-mainnet.network:80,r-c2.algorand-mainnet.network:4160,r-v2.algorand-mainnet.network:4160,r-h6.algorand-mainnet.network:4160,r-db.algorand-mainnet.network:4160,relay-montreal-mainnet-algorand.algorand-mainnet.network:4160,r-f8.algorand-mainnet.network:4160,r-fe.algorand-mainnet.network:4160,r-b2.algorand-mainnet.network:4160,r-ge.algorand-mainnet.network:4160,r-o7.algorand-mainnet.network:4160,r-o2.algorand-mainnet.network:4160,r-n0.algorand-mainnet.network:4160,r-s2.algorand-mainnet.network:80,r-eu.algorand-mainnet.network:4160,r-v0.algorand-mainnet.network:4160,r-os.algorand-mainnet.network:4160,r-xe.algorand-mainnet.network:4160,r-n9.algorand-mainnet.network:4160,r-o4.algorand-mainnet.network:4160,r12.algorand-mainnet.network:80,relay-tokyo-mainnet-algorand.algorand-mainnet.network:4160,r-b1.algorand-mainnet.network:4160,r13.algorand-mainnet.network:80,r-f0.algorand-mainnet.network:4160,r-n1.algorand-mainnet.network:4160,r-v5.algorand-mainnet.network:4160,r-i3.algorand-mainnet.network:4160,r-pu.algorand-mainnet.network:4160,r-c6.algorand-mainnet.network:4160,r-kr.algorand-mainnet.network:4160,r10.algorand-mainnet.network:80,r-k2.algorand-mainnet.network:4160,r-h7.algorand-mainnet.network:4160,relay-singaporea-mainnet-algorand.algorand-mainnet.network:4160,r-s4.algorand-mainnet.network:4160,r-k9.algorand-mainnet.network:4160,r-tc.algorand-mainnet.network:4160,r-br.algorand-mainnet.network:4160,r-f4.algorand-mainnet.network:4160,r-k0.algorand-mainnet.network:4160,r-cf.algorand-mainnet.network:4160,r-hg.algorand-mainnet.network:4160,relay-mumbai-mainnet-algorand.algorand-mainnet.network:4160,r-as.algorand-mainnet.network:4160,r-y2.algorand-mainnet.network:4160,r-y8.algorand-mainnet.network:4160,r-b6.algorand-mainnet.network:80,r-b7.algorand-mainnet.network:4160,r-hs.algorand-mainnet.network:4160,r-u6.algorand-mainnet.network:4160,r-s1.algorand-mainnet.network:4160,r-lu.algorand-mainnet.network:4160,r-o3.algorand-mainnet.network:4160,r-bk.algorand-mainnet.network:4160,r-pm.algorand-mainnet.network:4160,r-la.algorand-mainnet.network:4160,r-po.algorand-mainnet.network:4160,r-o9.algorand-mainnet.network:4160" file=main.go function=main.printAddress line=12

There is no official Windows release of Algorand.
Which release did you use?

If you used the one from Randlabs, you may try to contact them on the Algorand Discord:

I also see that you use PowerShell to run algod and the normal console to run dig.
Maybe they have a different configuration regarding DNS (unlikely but always best to check in the exact same environment).

1 Like

I follow this Compile and Run the Algorand Node Natively on Windows | Algorand Developer Portal

1 Like

I’ve tried using the sandbox on Ubuntu, but./sandbox up always fails.

* docker containers started!
* waiting for services to initialize.
the following did not start:
* algorand node
* indexer node
One or more services failed to start.

https://developer.algorand.org/tutorials/compile-and-run-the-algorand-node-natively-windows/ is done by Randlabs and is not official. Best is to contact them on Discord.

To help debug sandbox, can you provide the following information:

  • Did you try sandbox in WSL 2 or in Msys?
  • Can you show ./sandbox up -v?
  • Can you send the sandbox.log file?
  • OS version
  • Docker version
  • Output of docker run hello-world in the same shell as the one you used to run ./sandbox up -v
  • Commit number for sandbox
  • Did you try first ./sandbox clean / ./sandbox reset
  • Did you use Docker for any other purpose before? Can you reset it?

Also, what is your goal by running a TestNet node?
If it’s quick development on TestNet, you may consider using a free API service.
If it’s production, you need to evaluate the best options for you, however, I would not recommend using Windows for any production system on Algorand as Windows is not officially supported.
Sandbox is also not meant for production.

Finally, there is a new tooling, algokit, that makes it much easier to set up development environment.
It’s still in beta, but you can try it there:

1 Like

With VirtualBox on Windows , create a Linux machine , then install inside a Algorand Node.

M.

1 Like

Sorry,because the latest one ./sandbox up testnet on Ubuntu has been running for a very long time for some reason, I can only reply you in the second day.

  • I try sandbox in msys2

  • run ./sandbox up -v

Bringing up existing sandbox: 'testnet'
.clean file NOT FOUND. Sandbox images will NOT be rebuilt.
* running: docker compose up [--verbose] -d
DEBU[0000] using default config store "/home/zyax123/.docker/buildx"
[+] Building 212.3s (12/12) FINISHED
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 32B                                                                                0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 34B                                                                                   0.0s
 => [internal] load metadata for docker.io/library/golang:1.17.5-alpine                                           16.4s
 => [1/7] FROM docker.io/library/golang:1.17.5-alpine@sha256:4918412049183afe42f1ecaf8f5c2a88917c2eab153ce5ecf4bf  0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 196B                                                                                  0.0s
 => CACHED [2/7] WORKDIR /opt/indexer                                                                              0.0s
 => [3/7] RUN apk add --no-cache git bzip2 make bash libtool boost-dev autoconf automake g++                     191.8s
 => [4/7] COPY images/indexer/disabled.go /tmp/disabled.go                                                         0.1s
 => [5/7] COPY images/indexer/start.sh /tmp/start.sh                                                               0.1s
 => [6/7] COPY images/indexer/install.sh /tmp/install.sh                                                           0.1s
 => [7/7] RUN /tmp/install.sh                                                                                      0.5s
 => exporting to image                                                                                             3.2s
 => => exporting layers                                                                                            3.1s
 => => writing image sha256:26eeef5a6993cca0008d5d600464b580d80395eb854c56b9abc28b2026d2303c                       0.0s
 => => naming to docker.io/library/sandbox-indexer                                                                 0.0s
DEBU[0000] serving grpc connection
DEBU[0000] stopping session                              span="load buildkit capabilities"
DEBU[0000] serving grpc connection
DEBU[0212] stopping session
[+] Running 4/4
 ⠿ Network sandbox_default              Created                                                                    0.1s
 ⠿ Container algorand-sandbox-algod     Started                                                                    1.1s
 ⠿ Container algorand-sandbox-postgres  Started                                                                    1.1s
 ⠿ Container algorand-sandbox-indexer   Started                                                                    1.4s
* waiting for services to initialize.
* services ready!

algod version
12885819394
3.14.2.stable [rel/stable] (commit #8fd6e702)
go-algorand is licensed with AGPLv3.0
source code available at https://github.com/algorand/go-algorand
DEBU[0000] [hijack] End of stdout

Indexer version
DEBU[0000] [hijack] End of stdout
Indexer disabled for this configuration.

Postgres version
postgres (PostgreSQL) 13.10
DEBU[0000] [hijack] End of stdout

algod - goal node status
Last committed block: 0
Time since last block: 0.0s
Sync Time: 2.1s
Last consensus protocol: https://github.com/algorandfoundation/specs/tree/44fa607d6051730f5264526bf3c108d51f0eadb6
Next consensus protocol: https://github.com/algorandfoundation/specs/tree/44fa607d6051730f5264526bf3c108d51f0eadb6
Round for next consensus protocol: 1
Next consensus protocol supported: true
Last Catchpoint:
Genesis ID: sandnet-v1
Genesis hash: woFMH22SaqR17Yxhu+i9MKPIpUa6ICOT2dQ/1mumR0s=
DEBU[0000] [hijack] End of stdout

indexer - health
Indexer disabled for this configuration.

Skipping fast catchup
  • sandbox.log
    after run ./sandbox up -v ,sandbox.log file did’t update.

after run ./sandbox up test
previous

#10 [sandbox-algod 3/7] RUN apt-get update && apt-get install -y apt-utils curl git git-core bsdmainutils python3
#10 3.776 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
#10 3.883 Get:2 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
#10 5.820 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#10 6.026 Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [228 kB]
#10 14.20 Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
#10 17.27 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
#10 17.46 Fetched 8634 kB in 17s (509 kB/s)
#10 17.46 Reading package lists...
#10 18.40 Reading package lists...
#10 19.29 Building dependency tree...
#10 19.45 Reading state information...
#10 19.66 python3 is already the newest version (3.9.2-3).
#10 19.66 python3 set to manually installed.
#10 19.66 The following additional packages will be installed:
#10 19.66   bsdextrautils libcurl4 ncal
#10 19.66 Suggested packages:
#10 19.66   calendar whois vacation mailutils gettext-base git-daemon-run
#10 19.66   | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-cvs
#10 19.66   git-mediawiki git-svn
#10 19.66 Recommended packages:
#10 19.66   patch less
#10 19.72 The following NEW packages will be installed:
#10 19.72   apt-utils bsdextrautils bsdmainutils ncal
#10 19.72 The following packages will be upgraded:
#10 19.72   curl git libcurl4
#10 21.53 3 upgraded, 4 newly installed, 0 to remove and 56 not upgraded.
#10 21.53 Need to get 6762 kB of archives.
#10 21.53 After this operation, 1717 kB of additional disk space will be used.
#10 21.53 Get:1 http://deb.debian.org/debian bullseye/main amd64 bsdextrautils amd64 2.36.1-8+deb11u1 [145 kB]
#10 21.71 Get:2 http://security.debian.org/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u5 [270 kB]
#10 23.63 Get:3 http://deb.debian.org/debian bullseye/main amd64 apt-utils amd64 2.2.4 [439 kB]
#10 24.08 Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u5 [346 kB]
#10 53.09 Err:5 http://deb.debian.org/debian bullseye/main amd64 ncal amd64 12.1.7+nmu3
#10 53.09   500  Internal Privoxy Error [IP: 146.75.114.132 80]
#10 55.09 Get:6 http://deb.debian.org/debian bullseye/main amd64 bsdmainutils all 12.1.7+nmu3 [16.4 kB]
#10 59.76 Get:7 http://security.debian.org/debian-security bullseye-security/main amd64 git amd64 1:2.30.2-1+deb11u1 [5514 kB]
#10 60.89 Fetched 6732 kB in 41s (164 kB/s)
#10 60.89 E: Failed to fetch http://deb.debian.org/debian/pool/main/b/bsdmainutils/ncal_12.1.7%2bnmu3_amd64.deb  500  Internal Privoxy Error [IP: 146.75.114.132 80]
#10 60.89 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
#10 ERROR: executor failed running [/bin/sh -c apt-get update && apt-get install -y apt-utils curl git git-core bsdmainutils python3]: exit code: 100

#14 [sandbox-indexer 3/7] RUN apk add --no-cache git bzip2 make bash libtool boost-dev autoconf automake g++
#14 CANCELED
------
 > [sandbox-algod 3/7] RUN apt-get update && apt-get install -y apt-utils curl git git-core bsdmainutils python3:
#10 21.71 Get:2 http://security.debian.org/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u5 [270 kB]
#10 23.63 Get:3 http://deb.debian.org/debian bullseye/main amd64 apt-utils amd64 2.2.4 [439 kB]
#10 24.08 Get:4 http://security.debian.org/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u5 [346 kB]
#10 53.09 Err:5 http://deb.debian.org/debian bullseye/main amd64 ncal amd64 12.1.7+nmu3
#10 53.09   500  Internal Privoxy Error [IP: 146.75.114.132 80]
#10 55.09 Get:6 http://deb.debian.org/debian bullseye/main amd64 bsdmainutils all 12.1.7+nmu3 [16.4 kB]
#10 59.76 Get:7 http://security.debian.org/debian-security bullseye-security/main amd64 git amd64 1:2.30.2-1+deb11u1 [5514 kB]
#10 60.89 Fetched 6732 kB in 41s (164 kB/s)
#10 60.89 E: Failed to fetch http://deb.debian.org/debian/pool/main/b/bsdmainutils/ncal_12.1.7%2bnmu3_amd64.deb  500  Internal Privoxy Error [IP: 146.75.114.132 80]
#10 60.89 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
------
failed to solve: executor failed running [/bin/sh -c apt-get update && apt-get install -y apt-utils curl git git-core bsdmainutils python3]: exit code: 100

latest

#7 4145.7 (68/88) Installing libatomic (10.3.1_git20211027-r0)
#7 4147.3 (69/88) Installing libgphobos (10.3.1_git20211027-r0)
#7 4275.8 (70/88) Installing gmp (6.2.1-r1)
#7 4288.2 (71/88) Installing isl22 (0.22-r0)
#7 4336.2 (72/88) Installing mpfr4 (4.1.0-r0)
#7 4448.0 (73/88) Installing mpc1 (1.2.1-r0)
#7 4451.1 (74/88) Installing gcc (10.3.1_git20211027-r0)
#7 6786.6 ERROR: Failed to create usr/libexec/gcc/x86_64-alpine-linux-musl/10.3.1/lto1: Connection aborted
#7 6786.6 ERROR: gcc-10.3.1_git20211027-r0: BAD signature
#7 6786.6 (75/88) Installing musl-dev (1.2.2-r8)
#7 6882.7 (76/88) Installing libc-dev (0.7.2-r3)
#7 6882.8 (77/88) Installing g++ (10.3.1_git20211027-r0)
#7 CANCELED
canceled
* docker compose up -d
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 32B done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 34B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.17.5-alpine
#3 DONE 15.3s

#4 [1/7] FROM docker.io/library/golang:1.17.5-alpine@sha256:4918412049183afe42f1ecaf8f5c2a88917c2eab153ce5ecf4bf2d55c1507b74
#4 DONE 0.0s

#5 [2/7] WORKDIR /opt/indexer
#5 CACHED

#6 [internal] load build context
#6 transferring context: 196B done
#6 DONE 0.0s

#7 [3/7] RUN apk add --no-cache git bzip2 make bash libtool boost-dev autoconf automake g++
#7 0.412 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
#7 98.31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
#7 98.31 WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.15/main: Permission denied
#7 144.2 ERROR: unable to select packages:
#7 144.3   autoconf (no such package):
#7 144.3     required by: world[autoconf]
#7 144.3   automake (no such package):
#7 144.3     required by: world[automake]
#7 144.3   bash (no such package):
#7 144.3     required by: world[bash]
#7 144.3   boost-dev (no such package):
#7 144.3     required by: world[boost-dev]
#7 144.3   bzip2 (no such package):
#7 144.3     required by: world[bzip2]
#7 144.3   g++ (no such package):
#7 144.3     required by: world[g++]
#7 144.3   git (no such package):
#7 144.3     required by: world[git]
#7 144.3   libtool (no such package):
#7 144.3     required by: world[libtool]
#7 144.3   make (no such package):
#7 144.3     required by: world[make]
#7 ERROR: executor failed running [/bin/sh -c apk add --no-cache git bzip2 make bash libtool boost-dev autoconf automake g++]: exit code: 9
------
 > [3/7] RUN apk add --no-cache git bzip2 make bash libtool boost-dev autoconf automake g++:
#7 144.3   bzip2 (no such package):
#7 144.3     required by: world[bzip2]
#7 144.3   g++ (no such package):
#7 144.3     required by: world[g++]
#7 144.3   git (no such package):
#7 144.3     required by: world[git]
#7 144.3   libtool (no such package):
#7 144.3     required by: world[libtool]
#7 144.3   make (no such package):
#7 144.3     required by: world[make]
------
failed to solve: executor failed running [/bin/sh -c apk add --no-cache git bzip2 make bash libtool boost-dev autoconf automake g++]: exit code: 9

  • OS version:
my computer OS:Windows-10-10.0.19044-SP0
but other command are running in ubuntu 22.04.2
  • Docker version:
docker: 20.10.23
  • docker run hello-world
    output:
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
2db29710123e: Pull complete
Digest: sha256:2498fce14358aa50ead0cc6c19990fc6ff866ce72aeb5546e1d59caac3d0d60f
Status: Downloaded newer image for hello-world:latest

Hello from Docker!
This message shows that your installation appears to be working correctly.

To generate this message, Docker took the following steps:
 1. The Docker client contacted the Docker daemon.
 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
    (amd64)
 3. The Docker daemon created a new container from that image which runs the
    executable that produces the output you are currently reading.
 4. The Docker daemon streamed that output to the Docker client, which sent it
    to your terminal.

To try something more ambitious, you can run an Ubuntu container with:
 $ docker run -it ubuntu bash

Share images, automate workflows, and more with a free Docker ID:
 https://hub.docker.com/

For more examples and ideas, visit:
 https://docs.docker.com/get-started/
  • run ./sandbox version
algod version
12885819394
3.14.2.stable [rel/stable] (commit #8fd6e702)
go-algorand is licensed with AGPLv3.0
source code available at https://github.com/algorand/go-algorand

Indexer version
Indexer disabled for this configuration.

Postgres version
postgres (PostgreSQL) 13.10
  • run ./sandbox clean and ./sandbox up -v
Starting default sandbox: release
.clean file found in sandbox directory. Rebuilding images...
* docker compose build --no-cache
DEBU[0000] using default config store "/home/zyax123/.docker/buildx"
[+] Building 107.7s (7/11)
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 1.50kB                                                                             0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 34B                                                                                   0.0s
 => [internal] load metadata for docker.io/library/golang:1.17.5                                                  15.3s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 114.18kB                                                                              0.0s
 => CACHED [1/7] FROM docker.io/library/golang:1.17.5@sha256:c72fa9afc50b3303e8044cf28fb358b48032a548e1825819420f  0.0s
 => [2/7] RUN echo "Installing from source.  -- "                                                                  0.4s
 => ERROR [3/7] RUN apt-get update && apt-get install -y apt-utils curl git git-core bsdmainutils python3         91.8s
------
 > [3/7] RUN apt-get update && apt-get install -y apt-utils curl git git-core bsdmainutils python3:
#0 1.778 Get:1 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
#0 2.468 Get:2 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [236 kB]
#0 16.91 Get:3 http://deb.debian.org/debian bullseye InRelease [116 kB]
#0 17.52 Get:4 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#0 19.84 Get:5 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
#0 70.55 Ign:5 http://deb.debian.org/debian bullseye/main amd64 Packages
#0 91.69 Ign:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages
#0 91.69 Ign:5 http://deb.debian.org/debian bullseye/main amd64 Packages
#0 91.69 Ign:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages
#0 91.69 Ign:5 http://deb.debian.org/debian bullseye/main amd64 Packages
#0 91.70 Ign:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages
#0 91.70 Ign:5 http://deb.debian.org/debian bullseye/main amd64 Packages
#0 91.70 Err:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages
#0 91.70   Could not connect to debian.map.fastlydns.net:80 (151.101.110.132). - connect (111: Connection refused) Unable to connect to deb.debian.org:http: [IP: 151.101.110.132 80]
#0 91.70 Ign:5 http://deb.debian.org/debian bullseye/main amd64 Packages
#0 91.70 Err:5 http://deb.debian.org/debian bullseye/main amd64 Packages
#0 91.70   Connection timed out [IP: 151.101.110.132 80]
#0 91.71 Fetched 444 kB in 1min 31s (4870 B/s)
#0 91.71 Reading package lists...
#0 91.75 W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/main/binary-amd64/Packages  Connection timed out [IP: 151.101.110.132 80]
#0 91.75 W: Failed to fetch http://deb.debian.org/debian/dists/bullseye-updates/main/binary-amd64/Packages  Could not connect to debian.map.fastlydns.net:80 (151.101.110.132). - connect (111: Connection refused) Unable to connect to deb.debian.org:http: [IP: 151.101.110.132 80]
#0 91.75 W: Some index files failed to download. They have been ignored, or old ones used instead.
#0 91.76 Reading package lists...
#0 91.78 Building dependency tree...
#0 91.79 Reading state information...
#0 91.79 Package bsdmainutils is not available, but is referred to by another package.
#0 91.79 This may mean that the package is missing, has been obsoleted, or
#0 91.79 is only available from another source
#0 91.79 However the following packages replace it:
#0 91.79   bsdextrautils
#0 91.79
#0 91.79 Package apt-utils is not available, but is referred to by another package.
#0 91.79 This may mean that the package is missing, has been obsoleted, or
#0 91.79 is only available from another source
#0 91.79 However the following packages replace it:
#0 91.79   apt
#0 91.79
#0 91.80 E: Package 'apt-utils' has no installation candidate
#0 91.80 E: Package 'bsdmainutils' has no installation candidate
------
DEBU[0000] serving grpc connection
DEBU[0000] stopping session                              span="load buildkit capabilities"
DEBU[0000] serving grpc connection
DEBU[0108] stopping session
failed to solve: executor failed running [/bin/sh -c apt-get update && apt-get install -y apt-utils curl git git-core bsdmainutils python3]: exit code: 100
  • I did’t use Docker before.

I’m a student and a newbie, I’m doing my graduation project, my ultimate goal is to do a cross-chain study of the algorand.

From the errors I see such as:

  • 500 Internal Privoxy Error
  • #0 91.70 Could not connect to debian.map.fastlydns.net:80 (151.101.110.132). - connect (111: Connection refused) Unable to connect to deb.debian.org:http: [IP: 151.101.110.132 80]

It looks like you are behind a proxy that is creating significant issues.
I’m guessing you are on a University network with a proxy.
I would ask your IT team how to configure the proxy properly for command line and Docker.
But working behind a proxy is always more complicated.

If that is the case, there is very little I can do to help, as this is a per-proxy issue.

Another option is that you are not behind a proxy, but for some reasons, your computer thinks so.
You may want to clear all proxy settings.
You will need to Google that: there may be several places where you need to change the proxy.

The simplest solution would definitely be to connect directly the Internet if you can.
Another solution is to use a VM connected directly to the Internet.
Since you are a student, you most likely can get free AWS or GCP credits that you can use for that purpose.

1 Like
Starting sandbox for: testnet
* running: docker compose up [--verbose] -d
[+] Running 3/3
 ⠿ Container algorand-sandbox-postgres  Started                                                                    0.9s
 ⠿ Container algorand-sandbox-algod     Started                                                                    0.9s
 ⠿ Container algorand-sandbox-indexer   Started                                                                    1.4s
* waiting for services to initialize.
* services ready!

algod version
12885819394
3.14.2.stable [rel/stable] (commit #8fd6e702)
go-algorand is licensed with AGPLv3.0
source code available at https://github.com/algorand/go-algorand
DEBU[0000] [hijack] End of stdout

Indexer version
DEBU[0000] [hijack] End of stdout
Indexer disabled for this configuration.

Postgres version
postgres (PostgreSQL) 13.10
DEBU[0000] [hijack] End of stdout

algod - goal node status
Last committed block: 287
Time since last block: 2.2s
Sync Time: 2.0s
Last consensus protocol: https://github.com/algorandfoundation/specs/tree/44fa607d6051730f5264526bf3c108d51f0eadb6
Next consensus protocol: https://github.com/algorandfoundation/specs/tree/44fa607d6051730f5264526bf3c108d51f0eadb6
Round for next consensus protocol: 288
Next consensus protocol supported: true
Last Catchpoint:
Genesis ID: sandnet-v1
Genesis hash: woFMH22SaqR17Yxhu+i9MKPIpUa6ICOT2dQ/1mumR0s=
DEBU[0000] [hijack] End of stdout

indexer - health
Indexer disabled for this configuration.

Starting fast-catchup with catchpoint: 28420000#QLBVGMWR72FDDQOOTTBS3EK5GLR2LT4Q2KHUOR7OBLJ7LCMLO6AA
DEBU[0000] [hijack] End of stdout

Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%
Processing accounts: : [                                        ] [0/1000] 0%

Is sandbox running?But it is 0% all the time

I changed nameserver to 8.8.8.8 and 8.8.4.4,and then this change happened

I think it is working,after I run ctrl + c and run ./sandbox up test,Last committed block is growing,
but it it growing very slowly.

maybe it is my network problem,I’m in china, download from github is usually very slow

But it catch up really really slowly, I felt like I would never catch up in my life

Most likely the issue is that your Internet connection is too slow / has too high latency.
You need at least 100 Mbps Internet connection with low latency.
Presence of proxy may create significant issues.

Depending on what you want to study, you may consider running a private network (which is much easier as it does not require syncing) or using public API.

1 Like

I’m trying to run a private network, but it’s stuck here for a long time , I don’t know if that’s normal

.clean file found in sandbox directory. Rebuilding images...
* docker compose build --no-cache
DEBU[0000] using default config store "/home/zyax123/.docker/buildx"
[+] Building 5809.2s (8/11)
 => [internal] load build definition from Dockerfile                                                               0.0s
 => => transferring dockerfile: 32B                                                                                0.0s
 => [internal] load .dockerignore                                                                                  0.0s
 => => transferring context: 34B                                                                                   0.0s
 => [internal] load metadata for docker.io/library/golang:1.17.5                                                  17.4s
 => CACHED [1/7] FROM docker.io/library/golang:1.17.5@sha256:c72fa9afc50b3303e8044cf28fb358b48032a548e1825819420f  0.0s
 => [internal] load build context                                                                                  0.0s
 => => transferring context: 1.22kB                                                                                0.0s
 => [2/7] RUN echo "Installing from source.  -- "                                                                  0.3s
 => [3/7] RUN apt-get update && apt-get install -y apt-utils curl git git-core bsdmainutils python3             1084.5s
 => [4/7] COPY . /tmp                                                                                              0.1s
 => [5/7] RUN /tmp/images/algod/install.sh     -d "/node"     -c "stable"     -u ""     -b ""     -s ""         4706.8s
 => => #   SHA =
 => => # Current Version = 0
 => => # updater binary was installed at /tmp/images/algod/updater
 => => # Latest Version = 12885819394
 => => # New version found
 => => # Checking for files matching: 'channel/stable/node_stable_linux-amd64_' in bucket algorand-releases

It really looks like your Internet connection is being limited by a proxy or other mechanism, severely restricting access to some servers.

I would recommend trying to get access to a 100Mbps Internet connection without proxy or with a different proxy.

If you can, running the software in a fresh AWS/GCP/… VM in a Europe or North America region would most likely be much simpler.

to run the private network you do not need to compile algod from scratch

we had to compile the indexer because it does not support custom consensus, but soon it should support it

but if you do not modify the consensus, you should be fine with the official versions