vergecurrency / verge

Official Verge Core Source Code Repository :muscle:
https://VergeCurrency.com
MIT License
1.4k stars 394 forks source link

Unable to Start 4.0.1 wallet #563

Closed knight9175 closed 6 years ago

knight9175 commented 6 years ago

Issue Template

Context

I am trying to start the 4.0.1 wallet but am unable to. when I run the verge-qt.exe file I get a verge splash screen then a error window then the wallet exits. I've run netstat -an | find "9089" but it does not find anything on that port. I have run normally as well as Run as Admin with the same results.

This computer had an old install of Verge 3.0 QT Wallet.

Prerequisites

User Story:

Os : Windows 10

Expected Behavior

I expect the wallet to start when running the Verge-Qt.exe file.

Current Behavior

I am trying to run the 4.0.1 wallet - latest from release repository and it errors out with a message : Timed out waiting for onion hostname Wallet Exits

Screenshots

vergetimeout

Possible Solution

please make the install process a litle more like 3.0 release where it just worked.

Steps to Reproduce (for bugs)

I don't know as not everyone is experiencing this. but these are my steps

Your Environment

Any extra information that might be useful in the debugging process.

Db.log file was empty - this is the end of the debug.log file.

VERGE version v4.0.1.0-794660a-funky-beta (2018-01-19 03:31:22 -0500) Using OpenSSL version OpenSSL 1.0.2k 26 Jan 2017 Startup time: 01/26/18 06:34:11 Default data directory C:\Users\Alireza\AppData\Roaming\VERGE Default mining hash algorithm: scrypt Used data directory C:\Users\Alireza\AppData\Roaming\VERGE scrypt: using scrypt-sse2 as built. dbenv.open LogDir=C:\Users\Alireza\AppData\Roaming\VERGE\database ErrorFile=C:\Users\Alireza\AppData\Roaming\VERGE\db.log Bound to 127.0.0.1:21102 TOR thread started. Using OBFS4. No onion hostname yet, will retry in 2 seconds... (1/8) No onion hostname yet, will retry in 2 seconds... (2/8) No onion hostname yet, will retry in 2 seconds... (3/8) No onion hostname yet, will retry in 2 seconds... (4/8) Onion thread exited.No onion hostname yet, will retry in 2 seconds... (5/8) No onion hostname yet, will retry in 2 seconds... (6/8) No onion hostname yet, will retry in 2 seconds... (7/8) No onion hostname yet, will retry in 2 seconds... (8/8)

knight9175 commented 6 years ago

hope this better.

Max-Meldrum commented 6 years ago

Is the Windows firewall or something similar activated?

justinvforvendetta commented 6 years ago

do you have tor already running somewhere else? also are you in china?

jhmblvd commented 6 years ago

I have the exact same problem. I cannot access the wallet bc this dialog box opens with Timed Out waiting for onion hostname, you have to acknowledge the error and when you click OK it closes Verge. I checked my Firewall Vergeqt is allowed , Tor is allowed, I am on Windows 10 machine with 32 Gig memory, Nvidia 1060 GTX with CPU : i7. Help or a fix would be appreciated.

Max-Meldrum commented 6 years ago

@jhmblvd Another user had another crypto wallet that was also using port 9089, do u have another wallet running? Or do you pehaps have vmware installed on computer?

knight9175 commented 6 years ago

I am in Seattle, was. Firewall is disabled. I had this problem on a Linksys router and now I am on new metering equipment and still have this problem.

On Jan 26, 2018 10:38 AM, "John Mahoney" notifications@github.com wrote:

I have the exact same problem. I cannot access the wallet bc this dialog box opens with Timed Out waiting for Tor hostname. Checked my Firewall Vergeqt is allowed , Tor is allowed, See nothing that would cause this. I am on Windows 10 as well and cannot get this working. Help or a fix would be appreciated.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360868107, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1qlROOFdZT_vxqAIpBj8ihwTLvZSks5tOhu8gaJpZM4Rt6lV .

ghost commented 6 years ago

Do you have tor/onion directory structure in your wallet directory? It should be created at the first run and contain hostname and private_key files. If they are not present that might be because of insufficient permissions to create them when running as normal user. Try as administrator or modify permissions. Not a windows guy though, just guessing.

Max-Meldrum commented 6 years ago

Might be a long shot and might not be related to this specific issue but perhaps worth to look at: "Check your system clock. If it's more than a few hours off, Tor will refuse to build circuits. For Microsoft Windows users, synchronize your clock under the clock -> Internet time tab. In addition, correct the day and date under the 'Date & Time' Tab. Also make sure your time zone is correct"

knight9175 commented 6 years ago

These are all fine on my system. Maybe better logging or a verbose option could help. Can I run the verge-qt in a more verbose mode ?

On Jan 26, 2018 11:29 AM, "Max Meldrum" notifications@github.com wrote:

Might be a long shot and might not be related to this specific issue but perhaps worth to look at: "Check your system clock. If it's more than a few hours off, Tor will refuse to build circuits. For Microsoft Windows users, synchronize your clock under the clock -> Internet time tab. In addition, correct the day and date under the 'Date & Time' Tab. Also make sure your time zone is correct"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360881510, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1ln9rXygvzuEqjRtWIiPgCJff3l6ks5tOiesgaJpZM4Rt6lV .

Max-Meldrum commented 6 years ago

@jhmblvd @knight9175 The error popup occurs as the code cannot find the file C:\Users\Username\AppData\Roaming\VERGE/tor/onion/hostname , but can you check if you have a tor.log file here C:\Users\Username\AppData\Roaming\VERGE/tor/tor.log ?

Some clues could be in there.

ghost commented 6 years ago

@knight9175 did you check the folders I wrote about? That's a first step, if you don't have them then the whole conversation is pointless. If you have them but hostname file isn't there, my previous message also applies. So check that first please.

knight9175 commented 6 years ago

Is hostname a directory or a file

On Jan 26, 2018 11:50 AM, "Max Meldrum" notifications@github.com wrote:

@jhmblvd https://github.com/jhmblvd @knight9175 https://github.com/knight9175 The error popup occurs as the code cannot find the file C:\Users\Username\AppData\Roaming\VERGE/tor/onion/hostname , but can you check if you have a tor.log file here C:\Users\Username\AppData\Roaming\VERGE/tor/tor.log ?

Some clues could be in there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360886906, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1vo_1Q22Q-fNKVFQcNxktjHwjXOhks5tOiyXgaJpZM4Rt6lV .

knight9175 commented 6 years ago

Do I need to create that directory or Phil that file with something. Is this a party of install directions in missed ?

On Jan 26, 2018 11:50 AM, "Max Meldrum" notifications@github.com wrote:

@jhmblvd https://github.com/jhmblvd @knight9175 https://github.com/knight9175 The error popup occurs as the code cannot find the file C:\Users\Username\AppData\Roaming\VERGE/tor/onion/hostname , but can you check if you have a tor.log file here C:\Users\Username\AppData\Roaming\VERGE/tor/tor.log ?

Some clues could be in there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360886906, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1vo_1Q22Q-fNKVFQcNxktjHwjXOhks5tOiyXgaJpZM4Rt6lV .

Max-Meldrum commented 6 years ago

hostname is a file. the tor directy should be created when executing the wallet for first time etc...

knight9175 commented 6 years ago

I know I made that directory up to onion. No files are in there. I will double check tonight when I go home.

On Jan 26, 2018 11:52 AM, "Alireza Razmpoosh" kni8.2k@gmail.com wrote:

Do I need to create that directory or Phil that file with something. Is this a party of install directions in missed ?

On Jan 26, 2018 11:50 AM, "Max Meldrum" notifications@github.com wrote:

@jhmblvd https://github.com/jhmblvd @knight9175 https://github.com/knight9175 The error popup occurs as the code cannot find the file C:\Users\Username\AppData\Roaming\VERGE/tor/onion/hostname , but can you check if you have a tor.log file here C:\Users\Username\AppData\Roaming\VERGE/tor/tor.log ?

Some clues could be in there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360886906, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1vo_1Q22Q-fNKVFQcNxktjHwjXOhks5tOiyXgaJpZM4Rt6lV .

Max-Meldrum commented 6 years ago

This is how the tor.log looks like after a successful start. torlog

knight9175 commented 6 years ago

Running wallet for first time did not create directories. Not did it ask for permission to create. Even when started as admin. I created directories manually.

On Jan 26, 2018 12:00 PM, "Max Meldrum" notifications@github.com wrote:

This is how the tor.log looks like after an successful start. [image: torlog] https://user-images.githubusercontent.com/11488530/35458229-d48d4842-02db-11e8-8396-634677262a47.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360889465, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1nj1gi2rIQtdszM6CqGwDH10IFMbks5tOi7dgaJpZM4Rt6lV .

ghost commented 6 years ago

@knight9175

Right click on C:\Users\Username\AppData\Roaming\ folder, properties, security and make sure that your user has full control.

jhmblvd commented 6 years ago

I do have vTorrent installed. I also have VMWARE Desktop Pro installed but not running. When I go to C:\Users\Username\AppData\Roaming\VERGE\tor there is no file. No log, nothing in the TOR directory?

ghost commented 6 years ago

@jhmblvd Please read my last message here.

swat69 commented 6 years ago

open a cmd and start VERGEd.exe and check the output for errors regarding tor. If tor is not able to start then the folder onion (with files hostname and private_key within) and the tor.log are not created.

knight9175 commented 6 years ago

I have said it before that I do not have those files in that directory. I will check permissions tonight. But those files were never made for me.

On Jan 26, 2018 2:47 PM, "Ben" notifications@github.com wrote:

open a cmd and start VERGEd.exe and check the output for errors regarding tor. If tor is not able to start then the folder onion (with files hostname and private_key inside) and the tor.log are not created.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360925970, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1uNFEagFSLlhTKjcZiQ9aVGuTiI5ks5tOlYRgaJpZM4Rt6lV .

jhmblvd commented 6 years ago

This is what I get when i try this:

Jan 26 15:56:05.761 [notice] Tor 0.3.2.8-rc-dev running on Very recent version of Windows [major=10,minor=0] with Libevent 2.0.22-stable, OpenSSL 1.0.2k, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A. Jan 26 15:56:05.762 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Jan 26 15:56:05.763 [notice] Configuration file "C:\Users\Valued Customer\AppData\Roaming\VERGE\tor\torrc" not present, using reasonable defaults. Jan 26 15:56:05.978 [warn] Path for GeoIPFile () is relative and will resolve to D:\John\Documents\CryptoWallets\VERGE-windows\. Is this what you wanted? Jan 26 15:56:05.978 [warn] Path for GeoIPv6File () is relative and will resolve to D:\John\Documents\CryptoWallets\VERGE-windows\. Is this what you wanted? Jan 26 15:56:05.986 [notice] Scheduler type KISTLite has been enabled. Jan 26 15:56:05.986 [notice] Opening Socks listener on 127.0.0.1:9089 Jan 26 15:56:05.986 [warn] Could not bind to 127.0.0.1:9089: Address already in use [WSAEADDRINUSE ]. Is Tor already running? Jan 26 15:56:05.987 [warn] Failed to parse/validate config: Failed to bind one of the listener ports. Jan 26 15:56:05.987 [err] Reading config failed--see warnings above. VERGE: Timed out waiting for onion hostname.

John Mahoney

On Fri, Jan 26, 2018 at 3:03 PM, knight9175 notifications@github.com wrote:

I have said it before that I do not have those files in that directory. I will check permissions tonight. But those files were never made for me.

On Jan 26, 2018 2:47 PM, "Ben" notifications@github.com wrote:

open a cmd and start VERGEd.exe and check the output for errors regarding tor. If tor is not able to start then the folder onion (with files hostname and private_key inside) and the tor.log are not created.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/ 563#issuecomment-360925970, or mute the thread https://github.com/notifications/unsubscribe-auth/ AiGi1uNFEagFSLlhTKjcZiQ9aVGuTiI5ks5tOlYRgaJpZM4Rt6lV

.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360929163, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvqrX4hKrC9U-E4jraP67afnGnwsvRCks5tOlnagaJpZM4Rt6lV .

Max-Meldrum commented 6 years ago

@jhmblvd Either some other service is using port 9089 or it is just "stuck". Try to follow the accepted answer here with port 9089.: https://stackoverflow.com/questions/39632667/how-to-kill-a-currently-using-port-on-localhost-in-windows

And then try again. ps: I don't know if you are running some kind of important application that is using port 9089, so I'm not responsible if you disrupt something in another program etc..

jhmblvd commented 6 years ago

Nope, doesn't work. Nothing running on that port, stopped it anyway, still get the same error. Still not seeing Tor folder logs being created.

John Mahoney

On Fri, Jan 26, 2018 at 4:13 PM, Max Meldrum notifications@github.com wrote:

@jhmblvd https://github.com/jhmblvd Either some other service is using port 9089 or it is just "stuck". Try to follow the accepted answer here with port 9089.: https://stackoverflow.com/questions/39632667/how-to- kill-a-currently-using-port-on-localhost-in-windows

And then try again. ps: I don't know if you are running some kind of important application that is using port 9089, so I'm not responsible if you disrupt something in another program etc..

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360940141, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvqrclYWlslZaaxRcDy34HneaqvJPOZks5tOmocgaJpZM4Rt6lV .

jrsikors commented 6 years ago

Just for grins -- try running it from a command prompt window or bat file: command prompt: verge-qt.exe -datadir=c:\vergetest\data\ bat file: "verge-qt.exe" -datadir=c:\vergetest\data\

I just tested with 4.0.1 fork for stealth and it created a new \tor\onion folder , with a hostname and private_key file

jrsikors commented 6 years ago

that was for @knight9175 , but might not hurt for @jhmblvd to try too.

@jhmblvd I'd also try temporarily disabling anti virus... I don't know you meant by "nothing running on that port, stopped it anyway". What did you stop if you didn't find anything running?

jhmblvd commented 6 years ago

Not working for me on Windows 10 machine. But I was able to install on my Windows 7 box so I'll use that for now. I have it up and running on the W7 machine and it is syncing the blockchain. How do I restore the wallet from the backup .dat file from the Windows 10 box at this point? It is still syncing, when it's finished syncing what do I need to do in order to import the backup of the wallet? Thank you. John .

John Mahoney

On Fri, Jan 26, 2018 at 4:59 PM, Jeff S notifications@github.com wrote:

that was for @knight9175 https://github.com/knight9175 , but might not hurt for @jhmblvd https://github.com/jhmblvd to try too.

@jhmblvd https://github.com/jhmblvd I'd also try temporarily disabling anti virus... I don't know you meant by "nothing running on that port, stopped it anyway". What did you stop if you didn't find anything running?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360945702, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvqrZnj6a6405VWaYJg4SDtb-g_cuniks5tOnULgaJpZM4Rt6lV .

justinvforvendetta commented 6 years ago

im running it on my windows 10 box. question, @jhmblvd is your windows 10 a 32 or 64bit?

to restore the wallet.dat, just go into the %appdata% folder, find verge, and copy the wallet.dat to the same location on the other computer (while the wallet is NOT running)

jhmblvd commented 6 years ago

I'm on a 64 Bit version of Windows 10. I fired it up using my W7 machine and had no issues. So, something on my W10 system was blocking the TOR browser. J

John Mahoney

On Fri, Jan 26, 2018 at 5:44 PM, sunerok notifications@github.com wrote:

im running it on my windows 10 box. question, @jhmblvd https://github.com/jhmblvd is your windows 10 a 32 or 64bit?

to restore the wallet.dat, just go into the %appdata% folder, find verge, and copy the wallet.dat to the same location on the other computer (while the wallet is NOT running)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360949885, or mute the thread https://github.com/notifications/unsubscribe-auth/AEvqrYuDlYsPIk_BwRs0q4-Fz1QUur09ks5tOn9sgaJpZM4Rt6lV .

justinvforvendetta commented 6 years ago

yeah thats what it sounds like. and you arent running a vm, or another instance of tor on the windows 10 machine?

Technophant commented 6 years ago

I'm running it also after having the previous version installed. The Jan 9 version attempted to start an onion service, but this one stops after bootstrap 100%. It also says there's no torrc file. That needs to be fixed.

Jan 27 02:12:22.737 [notice] Configuration file "C:\Users\techn\AppData\Roaming\VERGE\tor\torrc" not present, using reasonable defaults.
Jan 27 02:12:22.740 [warn] Path for GeoIPFile (<default>) is relative and will resolve to C:\Windows\system32\<default>. Is this what you wanted?
Jan 27 02:12:22.740 [warn] Path for GeoIPv6File (<default>) is relative and will resolve to C:\Windows\system32\<default>. Is this what you wanted?
Technophant commented 6 years ago

Delete your database and txleveldb first. I notice that the old ones were causing it essentially hang. Ran again:

Jan 27 23:17:12.000 [notice] Bootstrapped 100%: Done
Jan 27 23:18:00.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
Jan 27 23:20:29.000 [warn] accept() failed: Successful WSAStartup not yet performed [WSANOTINITIALISED ]. Closing listener.
Jan 27 23:20:29.000 [err] libevent call with win32 failed: Successful WSAStartup not yet performed [WSANOTINITIALISED ] [10093]

Next tried deleting the onion folder and it assigned a new onion address. Got:

Jan 27 23:21:23.000 [notice] Starting with guard context "default"
Jan 27 23:21:23.000 [notice] Bootstrapped 80%: Connecting to the Tor network

[end file]

I'm going to next try creating and editing a torrc file to see if I can get things working.

knight9175 commented 6 years ago

@ben:

result of running verged.exe in a cmd window:

Jan 27 21:26:55.934 [notice] Tor 0.3.2.8-rc-dev running on Very recent version of Windows [major=10,minor=0] with Libevent 2.0.22-stable, OpenSSL 1.0.2k, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A. Jan 27 21:26:55.934 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning https://www.torproject.org/download/download#warning Jan 27 21:26:55.935 [notice] Configuration file "C:\Users\Alireza\AppData\Roaming\VERGE\tor\torrc" not present, using reasonable defaults. Jan 27 21:26:55.937 [warn] Path for GeoIPFile () is relative and will resolve to D:\crypto\vergeWindows\. Is this what you wanted? Jan 27 21:26:55.937 [warn] Path for GeoIPv6File () is relative and will resolve to D:\crypto\vergeWindows\. Is this what you wanted? Jan 27 21:26:55.946 [warn] Failed to parse/validate config: If you set UseBridges, you must specify at least one bridge. Jan 27 21:26:55.946 [err] Reading config failed--see warnings above. VERGE: Timed out waiting for onion hostname.

On Fri, Jan 26, 2018 at 2:47 PM, Ben notifications@github.com wrote:

open a cmd and start VERGEd.exe and check the output for errors regarding tor. If tor is not able to start then the folder onion (with files hostname and private_key inside) and the tor.log are not created.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360925970, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1uNFEagFSLlhTKjcZiQ9aVGuTiI5ks5tOlYRgaJpZM4Rt6lV .

knight9175 commented 6 years ago

@jeffs

thanks that did create a tor directory, a database directory. and a few other log files. but did not create an onion directory and resulted in the same Error.

On Fri, Jan 26, 2018 at 4:46 PM, Jeff S notifications@github.com wrote:

Just for grins -- try running it from a command prompt window or bat file: command prompt: verge-qt.exe -datadir=c:\vergetest\data bat file: "verge-qt.exe" -datadir=c:\vergetest\data\

I just tested with 4.0.1 fork for stealth and it created a new \tor\onion folder , with a hostname and private_key file

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-360944307, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1swAS0PFKiad7deWLWvhScm0EBQQks5tOnICgaJpZM4Rt6lV .

Technophant commented 6 years ago

Ok, have it working. I did rename the VERGE folder, but what worked was going to security and added Everyone in advanced and made sure child folders inherited the permission. The bootstrapping completed and I have connections (3). It's easier to debug without downloading the block history first because it loads right away.

Technophant commented 6 years ago

I'm trying to reproduce my results. Created new Verge folder. First run, timed out and close. No onion folder made. 2nd run, onion folder made, also timed out waiting for onion. tor.log written to. boostrap 100%. 3rd run, tor connection made and 1 connection added then dropped 3 minutes later. Connection made again and blocks started coming.

Conclusion. Permissions don't seem to be the issue. Firewall isn't an issue (default windows config). It crashes the first 2 times you run it for whatever reason. Connections to peers are refused. "ERROR: Error reading proxy response" Able to connect to 5onui2lfl3iwdhrf.onion:21102 so far. Had 3 connections earlier. It will keep retrying the peer list.

Problems with continued exit to desktop can were resolved by deleting peers.dat. If you don't have updates to tor.log then it didn't connect, however it keeps trying to connect to peers anyway. There needs to be a tor connection check somehow. Also, the tor network is fickle. Sometimes you connect to nodes that don't actually work.

Related issue. Downloaded nightly snapshot. Version says N/A. You can minimize but not exit, must kill. Log stuck at No OBFS4 found, Tor log shows connection. It may be processing the index, will check back later. If waiting doesn't work next ill try removing the block info and letting it build it's own index.

update: 25 minutes later it started updating. 17 active connections. More than an hour more to get synced.

btw: try notepad++ instead of notepad. It will tell you when the log file changes and let you refresh it.

ps: if you get it to connect to the network let it keep running. we need all the 4.0.1 stealth nodes we can get at the moment.

jrsikors commented 6 years ago

I noticed in previous logs that it only tries 8 times to 'find onion hostname'. Might be a dumb suggestion, but would it help to increase this ? Or delay the 'retry' ? I noticed on mine (has been working fine) , I made the connection on the 6th try. That means that I was pretty close to receiving this error as well?

This is a log from earlier in the thread, not mine:

No onion hostname yet, will retry in 2 seconds... (1/8) No onion hostname yet, will retry in 2 seconds... (2/8) No onion hostname yet, will retry in 2 seconds... (3/8) No onion hostname yet, will retry in 2 seconds... (4/8) Onion thread exited.No onion hostname yet, will retry in 2 seconds... (5/8) No onion hostname yet, will retry in 2 seconds... (6/8) No onion hostname yet, will retry in 2 seconds... (7/8) No onion hostname yet, will retry in 2 seconds... (8/8)

jrsikors commented 6 years ago

so @knight9175 , if you want to try what @Technophant did .. run verge-qt with a blank datadir... so do a: verge-qt.exe -datadir=c:\vergetest\data2

Win or lose -- it should happen quickly. If you try it with a full blockchain, it's going to take ~10 minutes each time to open verge fully. If you do it with no blockchain, it will open quickly. This makes troubleshooting a lot quicker.

If the error pops up -- close out as soon as it opens .. and then re-open ... Try this about ~5 times to see if the onion error ever goes away.

If the error finally goes away -- you can do a couple things: A) Always use verge-qt.exe -datadir=c:\vergetest\data2 B) Copy everything in c:\vergetest\data2 back to the \roaming\verge default datadir ... then go download and/or unzip the blockchain to the datadir

Technophant commented 6 years ago

I'm not getting the no onion host name error. Mostly not connecting to tor or 20 minute wait for action if I do.

Try downloading the nightly blockchain and just using the peers.dat. Clean install only has 7 and they are overloaded but it has a list of over 50 more. The file can't be read with a hex editor. what format is it? is it encrypted?

You can also rename the VERGE folder to verge.old and try it that way. just don't lose your wallet.dat.

also, there's no ini or setting files anywhere. are settings even stored? i hope they aren't in wallet.dat

This time I got "Jan 28 11:01:37.000 [warn] Requested exit point '$9938E3AAC64CE9D56B743ECD8B2CA235AFB9DF74' is not known. Closing." It's a tor error. Not smart enough to know it's not connected and try restarting tor. If connections aren't made then you can't exit, need to end from task manager. Time is running out to fix these things. Also if you click on the splash screen before the main windows open it says not responding, wait or end. If you press wait it will continue.

jrsikors commented 6 years ago

Gotcha! The original topic here was about the "Onion Hostname not found" for @knight9175 . His topic the other day got hijacked by a bunch of Mac people ... don't want this one to get overlooked too :smile:

maybe make a new topic and keep the issues separate if you think it's important for the Verge devs to investigate... otherwise this one will get closed as soon as @knight9175 confirms he's good to go.

knight9175 commented 6 years ago

I opened a command promt as Admin, did this 5 times with no luck.

firewall is down, Virus Protection is off, and I feel naked.

this is again the output of the verged.exe

Jan 28 10:24:34.406 [notice] Tor 0.3.2.8-rc-dev running on Very recent version of Windows [major=10,minor=0] with Libevent 2.0.22-stable, OpenSSL 1.0.2k, Zlib 1.2.11, Liblzma N/A, and Libzstd N/A. Jan 28 10:24:34.406 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning Jan 28 10:24:34.407 [notice] Configuration file "C:\Users\Alireza\AppData\Roaming\VERGE\tor\torrc" not present, using reasonable defaults. Jan 28 10:24:34.409 [warn] Path for GeoIPFile () is relative and will resolve to D:\crypto\vergeWindows\. Is this what you wanted? Jan 28 10:24:34.409 [warn] Path for GeoIPv6File () is relative and will resolve to D:\crypto\vergeWindows\. Is this what you wanted? Jan 28 10:24:34.418 [warn] Failed to parse/validate config: If you set UseBridges, you must specify at least one bridge.Jan 28 10:24:34.418 [err] Reading config failed--see warnings above. VERGE: Timed out waiting for onion hostname.

and @Jeffs thanks for getting this thread back on track.

On Sun, Jan 28, 2018 at 9:29 AM, Jeff S notifications@github.com wrote:

Gotcha! The original topic here was about the "Onion Hostname not found" for @knight9175 https://github.com/knight9175 . His topic the other day got hijacked by a bunch of Mac people ... don't want this one to get overlooked too 😄

maybe make a new topic and keep the issues separate if you think it's important for the Verge devs to investigate... otherwise this one will get closed as soon as @knight9175 https://github.com/knight9175 confirms he's good to go.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-361079915, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1v023t8gSOsIieV8DvluMg1I8Uw2ks5tPK5zgaJpZM4Rt6lV .

jrsikors commented 6 years ago

Just to clarify -- your datadir is now D:\crypto\vergeWindows\

Is there a tor folder D:\crypto\vergeWindows\tor? Is there a tor.log in that folder? plz post the tor.log Is there an onion folder in D:\crypto\vergeWindows\tor\onion ? Are there 2 files generated in there?

Would it help solve @knight9175 if he just manually created the onion folder, and someone gave up their hostname and privatekey files? I'm not savvy enough to know if the information in my 2 files are acceptable to give out.

jrsikors commented 6 years ago

clarifying my clarify post: ~~your datadir is now D:\crypto\vergeWindows\ ~~you are running this: verge-qt.exe -datadir=D:\crypto\vergeWindows\

when you do that -- you are still getting a "Timed out waiting for Onion Hostname" , and your application just straight quits.

Is there a tor folder D:\crypto\vergeWindows\tor? Is there a tor.log in that folder? plz post the tor.log

Is there an onion folder in D:\crypto\vergeWindows\tor\onion ? Are there 2 files generated in there?

knight9175 commented 6 years ago

Yes. There is a verge Tor directory. there is no tor.log file in it. [image: Inline image 1]

no there is no \onion\, or files in the tor directory. it never gets created.

On Sun, Jan 28, 2018 at 10:55 AM, Jeff S notifications@github.com wrote:

clarifying my clarify post: ~~your datadir is now D:\crypto\vergeWindows ~~you are running this: verge-qt.exe -datadir=D:\crypto\vergeWindows\

when you do that -- you are still getting a "Timed out waiting for Hostname" , and your application just straight quits.

Is there a tor folder D:\crypto\vergeWindows\tor? Is there a tor.log in that folder? plz post the tor.log

Is there an onion folder in D:\crypto\vergeWindows\tor\onion ? Are there 2 files generated in there?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vergecurrency/VERGE/issues/563#issuecomment-361086234, or mute the thread https://github.com/notifications/unsubscribe-auth/AiGi1toYZSgca2NdilUzNrQLARqoJp3Yks5tPMKmgaJpZM4Rt6lV .

jrsikors commented 6 years ago

is D: a local drive? or a jump/external drive? shouldn't matter, but just curious

Technophant commented 6 years ago

@justinvforvendetta we need to get on this, proto. electrum wallet too. hard fork has happened fork height is here already.

More tor problems:

Jan 28 11:33:39.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
Jan 28 11:56:08.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
Jan 28 12:22:40.000 [notice] Your system clock just jumped 491 seconds forward; assuming established circuits no longer work.
Jan 28 12:22:43.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Jan 28 12:51:02.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
Jan 28 12:55:54.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Jan 28 12:55:55.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Jan 28 12:55:57.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).

My clock is fine, just checked it. Did not start this time. If the core wallet and daemon aren't working and it's a required update, where are we now? I haven't tried compiling the latest source code. Using the latest windows release.

I'm trying just the daemon now. Starts out with "'which' is not recognized as an internal or external command, operable program or batch file." then torrc not found-no path to geoip (minor). It's also freezing up windows, set the priority to below normal.

jrsikors commented 6 years ago

@Technophant ,, pleasae go open a new issue .. you will probably get more attention :smile:

We need this to try to help @knight9175 with his problem.

I think your findings are great and worthy of further discussion, but out of respect for @knight9175 .. let's try to keep this focused on his problems.

Technophant commented 6 years ago

call it what? multiple issues? where to start... I wish I knew how to code. (I took C and fortran but not any modern languages).

@justinvforvendetta, if you're following this please check in. Don't see any activity from you for past 2 days.

Max-Meldrum commented 6 years ago

@knight9175 Did you try what @Technophant wrote? " but what worked was going to security and added Everyone in advanced and made sure child folders inherited the permission."

If I understand correctly. The tor directory gets created (by the application, not you), but nothing else is created under the tor directory?