Won't connect to peers on windows
Hi, I git the startup screen for more than hour in this state and fw is opened on W7 x64, Looking for peers... what Im doing wrong ? thanks (version 0.3.7)
it is either updating your DB in the background, if you had a already a geth node running, or it didn't work. could you try to run a gteh node standalone on your win and see what it says? int could also be that you never allowed the connections to the geth node, so it never gets any peers
I1219 19:21:46.446609 4380 database.go:71] Alloted 16MB cache to C:\Users\MyUser\AppData\Roaming\Ethereum\chaindata I1219 19:21:46.459610 4380 database.go:71] Alloted 16MB cache to C:\Users\MyUser\AppData\Roaming\Ethereum\dapp I1219 19:21:46.469610 4380 backend.go:314] Protocol Versions: [63 62 61], Net work Id: 1 I1219 19:21:46.469610 4380 backend.go:362] Blockchain DB Version: 3 I1219 19:21:46.469610 4380 blockchain.go:214] Last header: #0 [d4e56740.] TD= 17179869184 I1219 19:21:46.469610 4380 blockchain.go:215] Last block: #0 [d4e56740.] TD=1 7179869184 I1219 19:21:46.470610 4380 blockchain.go:216] Fast block: #0 [d4e56740.] TD=1 7179869184 I1219 19:21:46.476611 4380 cmd.go:114] Starting Geth/v1.3.2/windows/go1.5.1 I1219 19:21:46.476611 4380 server.go:311] Starting Server I1219 19:21:48.628734 4380 udp.go:204] Listening, enode://9d996d3903492c0c1ae 4548ac81c56f26745f0681abcdc8ddb8f4ce8239e934bc0656d7f2805284a25db1f96c696a73fbae [email protected]:30303 I1219 19:21:48.629734 4380 backend.go:526] Server started I1219 19:21:48.630734 4380 ipc.go:112] IPC service started (.\pipe\geth.ipc ) I1219 19:21:48.629734 4380 server.go:552] Listening on [::]:30303
so is running
On Sat, Dec 19, 2015 at 7:03 PM, Fabian Vogelsteller < [email protected]> wrote:
it is either updating your DB in the background, if you had a already a geth node running, or it didn't work. could you try to run a gteh node standalone on your win and see what it says? int could also be that you never allowed the connections to the geth node, so it never gets any peers
— Reply to this email directly or view it on GitHub https://github.com/ethereum/mist/issues/94#issuecomment-166010600.
Ok good, then can you start the node externally and then start the wallet?
yes, I did, wallet started with skipping the nodes search but : 0 peers / 46 years since last block - thnx
On Sat, Dec 19, 2015 at 8:30 PM, Fabian Vogelsteller < [email protected]> wrote:
Ok good, then can you start the node externally and then start the wallet?
— Reply to this email directly or view it on GitHub https://github.com/ethereum/mist/issues/94#issuecomment-166017666.
Then you seem to not connect to the outside, this might be a firewall problem or something
I'll try to connect outside through 4g router later, let you know, thanks On Dec 19, 2015 8:48 PM, "Fabian Vogelsteller" [email protected] wrote:
Then you seem to not connect to the outside, this might be a firewall problem or something
— Reply to this email directly or view it on GitHub https://github.com/ethereum/mist/issues/94#issuecomment-166019232.
Today I started the wallet and it immediately started to download blockchain :-)
On Sat, Dec 19, 2015 at 8:48 PM, Fabian Vogelsteller < [email protected]> wrote:
Then you seem to not connect to the outside, this might be a firewall problem or something
— Reply to this email directly or view it on GitHub https://github.com/ethereum/mist/issues/94#issuecomment-166019232.
still the same issue just says looking and stuck like that
facing the same issues. have tried all of these measures... even outside firewall it's not working..
Please try running wallet/resources/nodes/geth/geth.exe from the command line tool (cmd) and see what errors your get
Thanks.. I tried 2 options with this geth.exe
- datadir and networkid options
- testnet option
all work well and the node starts fine on console.. then on launching the Ethereum-Wallet.exe, I keep getting the 'Looking for peers' message.
Output:
I0113 23:11:08.298017 2376 database.go:71] Alloted 16MB cache to C:\Users
Any options I am missing /you would recommend ?
Does the node ever starts to process/import blocks? if not then it doesn't get peers to sync from. It might be a network issue on your side.
I will check again but shouldn't be. I am not behind firewall. This is not working even on home wifi network - everything else works fine (maven repositories, docket repositories.. etc.).
Let me also check it with verbose output on logging on.
Ok.. finally. Here seems to be the issue network port tcp:30302 could not be mapped: no UPnP or NAT-PMP router discovered
when ran again with geth --datadir "D:\Ethereum 0.9.41\datadir" --networkid "23" --verbosity "5"
nat.go:109] network port udp:30303 could not be mapped: goupnp: SOAP request got HTTP 500 Internal Server Error nat.go:109] network port tcp:30303 could not be mapped: goupnp: SOAP request got HTTP 500 Internal Server Error
@fjl any idea?
some more details (tried again but still same result)
I am on windows 8.1. I have enabled network discovery on the network connection (this could have stopped connections to outside network). Have also allowed the connections to public network on windows firewall (UPnP based).
just ran the geth again as geth --datadir "D:\Ethereum 0.9.41\datadir" --networkid "23" --verbosity "5"
and the same result
flags.go:425] WARNING: No etherbase set and no accounts found as default database.go:71] Alloted 16MB cache to D:\eclipse\Ethereum 0.9.41\datadir\chaindata database.go:71] Alloted 16MB cache to D:\eclipse\Ethereum 0.9.41\datadir\dapp backend.go:314] Protocol Versions: [63 62 61], Network Id: 23 backend.go:362] Blockchain DB Version: 3 blockchain.go:214] Last header: #0 [d4e56740.] TD=17179869184 blockchain.go:215] Last block: #0 [d4e56740.] TD=17179869184 blockchain.go:216] Fast block: #0 [d4e56740.] TD=17179869184 cmd.go:114] Starting Geth/v1.3.3/windows/go1.5.1 server.go:311] Starting Server nat.go:109] network port udp:30303 could not be mapped: no UPnP or NAT-PMP router discovered udp.go:204] Listening, enode://7322da466f5425e7a2e8a8c8a0681de44af9b3d7aa048257302aa133ec00d2cbb0c8a2b7aa906f189cb68d4ee6b43c04a1898b561f3d983666f1682ee0788886@[::]:30303 backend.go:526] Server started server.go:552] Listening on [::]:30303 ipc.go:112] IPC service started (.\pipe\geth.ipc) nat.go:109] network port tcp:30303 could not be mapped: no UPnP or NAT-PMP router discovered table.go:336] no seed nodes found table.go:336] no seed nodes found table.go:336] no seed nodes found table.go:336] no seed nodes found
Are you trying to work with a private chain? --networkid=23 wont get you on the main chain.
Yes.. Working with testnet
Well well well !! just like everything else, stupid mistake.. the following worked on command line geth --testnet --networkid 23 --datadir D:\Ethereum 0.9.41\datadir --verbosity 5
I was able to create a account and check balance on the console.
BUT the wallet client is still looking for peers. When I start Ethereum-Wallet.exe, I have to skip peer search and then on the UI, nothing is there are 0 peers.. so can't do much.
interestingly when I looked at the source code, the ethereumNodes.js uses the following flags when starting geth '--testnet', '--fast'
but when I used these flags on command line I can't get geth started properly and the UPnP issues come up
something to consider ?
I think you misunderstand something here. You don't need to use the --testnet flag, if you're providing a network id. the testnet flag simply sets a genesis block and a testnet id (the one of the official testnet).
Concerning startup @karalabe you have any idea why he could have that problem? btw, @dinkargupta you're using the geth version 1.3.3, right?