Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSAStartup not yet performed [WSANOTINITIALISED ] #105

Open
PzYcO opened this issue May 1, 2018 · 4 comments
Open

WSAStartup not yet performed [WSANOTINITIALISED ] #105

PzYcO opened this issue May 1, 2018 · 4 comments

Comments

@PzYcO
Copy link

PzYcO commented May 1, 2018

Everysingle time i open up my wallet, and view my TOR log file.. this is the first line in the log file:

Apr 09 15:55:43.000 [err] libevent call with win32 failed: Successful WSAStartup not yet performed [WSANOTINITIALISED ] [10093]

From my understanding this is part of the microsoft MSDN aspx library.

Has anybody else had this issue and know how to solve it? I cannot figure out an easy fix on my own.

Not sure if this is what causes my tor log file to look like this after conneting, it constantly scrubs connections and never seems to really find a good connection to TOR. Is the WSAStartup part of the issue possibly?

Here is my latest log file.

Apr 18 20:44:20.000 [err] libevent call with win32 failed: Successful WSAStartup not yet performed [WSANOTINITIALISED ] [10093]
Apr 18 20:44:37.000 [notice] Tor 0.3.3.4-alpha-dev (git-cd929a8c1f6ce162) opening log file.
Apr 18 20:44:37.457 [notice] Tor 0.3.3.4-alpha-dev (git-cd929a8c1f6ce162) running on Windows 8 with Libevent 2.0.22-stable, OpenSSL 1.0.1l, Zlib 1.2.8, Liblzma N/A, and Libzstd N/A.
Apr 18 20:44:37.457 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Apr 18 20:44:37.457 [notice] This version is not a stable Tor release. Expect more bugs than usual.
Apr 18 20:44:37.488 [notice] Read configuration file "C:\Users\Mitch\AppData\Roaming\DeepOnion\tor\torrc".
Apr 18 20:44:37.503 [notice] Scheduler type KISTLite has been enabled.
Apr 18 20:44:37.503 [notice] Opening Socks listener on 127.0.0.1:9081
Apr 18 20:44:37.000 [notice] Bootstrapped 0%: Starting
Apr 18 20:44:39.000 [notice] Starting with guard context "bridges"
Apr 18 20:44:39.000 [notice] new bridge descriptor 'stallmananodes' (cached): $1F696E223A4CC260A7F8D89D424C56A5ED00ECB9stallmananodes at 45.76.31.93
Apr 18 20:44:39.000 [notice] new bridge descriptor 'Jakson' (cached): $65DDCF796C8B0BFD7FE8C4E84F52F70857AFEA66
Jakson at 208.113.132.154
Apr 18 20:44:39.000 [notice] new bridge descriptor 'pentagynianNickt' (cached): $A4744C49D589CE03F28E2FE6A9F2F71672B1CA7CpentagynianNickt at 35.165.217.166
Apr 18 20:44:39.000 [notice] new bridge descriptor 'stallmananodes' (cached): $1F696E223A4CC260A7F8D89D424C56A5ED00ECB9
stallmananodes at 45.76.31.93
Apr 18 20:44:39.000 [notice] new bridge descriptor 'Jakson' (cached): $65DDCF796C8B0BFD7FE8C4E84F52F70857AFEA66Jakson at 208.113.132.154
Apr 18 20:44:39.000 [notice] new bridge descriptor 'pentagynianNickt' (cached): $A4744C49D589CE03F28E2FE6A9F2F71672B1CA7C
pentagynianNickt at 35.165.217.166
Apr 18 20:44:39.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Apr 18 20:45:08.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Apr 18 20:45:08.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Apr 18 20:45:08.000 [notice] new bridge descriptor 'stallmananodes' (fresh): $1F696E223A4CC260A7F8D89D424C56A5ED00ECB9stallmananodes at 45.76.31.93
Apr 18 20:45:08.000 [notice] new bridge descriptor 'Jakson' (fresh): $65DDCF796C8B0BFD7FE8C4E84F52F70857AFEA66
Jakson at 208.113.132.154
Apr 18 20:45:08.000 [notice] new bridge descriptor 'pentagynianNickt' (fresh): $A4744C49D589CE03F28E2FE6A9F2F71672B1CA7C~pentagynianNickt at 35.165.217.166
Apr 18 20:45:09.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Apr 18 20:45:09.000 [notice] Bootstrapped 100%: Done
Apr 18 20:45:45.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:45:45.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
Apr 18 20:45:53.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:45:54.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:45:55.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:45:56.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
Apr 18 20:47:46.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)
Apr 18 20:48:06.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)
Apr 18 20:50:03.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)
Apr 18 20:50:11.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)
Apr 18 20:52:04.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)
Apr 18 20:52:49.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)
Apr 18 20:53:22.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:53:24.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:53:25.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:53:27.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
Apr 18 20:55:22.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)
Apr 18 20:56:12.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)

Is this perhaps why it possibly scrubs connections?

I have now updated to 1.7.0 and still have this same error but now I have a new WARN line that I have never seen before.

May 01 13:52:23.000 [warn] CircuitPriorityHalflife is too small (-1.000000). Adjusting to the smallest value allowed: 30.000000.

Here is my most recent tor log file after starting 1.7.0.... OBSF4 works fine, but I'm not sure TOR is working properly...

May 01 13:51:16.000 [err] libevent call with win32 failed: Successful WSAStartup not yet performed [WSANOTINITIALISED ] [10093]
May 01 13:52:21.000 [notice] Tor 0.3.4.0-alpha-dev (git-192c7c8bf9a3c53d) opening log file.
May 01 13:52:21.072 [notice] Tor 0.3.4.0-alpha-dev (git-192c7c8bf9a3c53d) running on Windows 8 with Libevent 2.0.22-stable, OpenSSL 1.0.1l, Zlib 1.2.8, Liblzma N/A, and Libzstd N/A.
May 01 13:52:21.072 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
May 01 13:52:21.072 [notice] This version is not a stable Tor release. Expect more bugs than usual.
May 01 13:52:21.150 [notice] Read configuration file "C:\Users\Mitch\AppData\Roaming\DeepOnion\tor\torrc".
May 01 13:52:21.207 [notice] Scheduler type KISTLite has been enabled.
May 01 13:52:21.207 [notice] Opening Socks listener on 127.0.0.1:9081
May 01 13:52:21.000 [warn] CircuitPriorityHalflife is too small (-1.000000). Adjusting to the smallest value allowed: 30.000000.
May 01 13:52:21.000 [notice] Bootstrapped 0%: Starting
May 01 13:52:23.000 [warn] CircuitPriorityHalflife is too small (-1.000000). Adjusting to the smallest value allowed: 30.000000.
May 01 13:52:23.000 [notice] Starting with guard context "bridges"
May 01 13:52:23.000 [notice] new bridge descriptor 'stallmananodes' (cached): $1F696E223A4CC260A7F8D89D424C56A5ED00ECB9stallmananodes at 45.76.31.93
May 01 13:52:23.000 [notice] new bridge descriptor 'Jakson' (cached): $65DDCF796C8B0BFD7FE8C4E84F52F70857AFEA66
Jakson at 208.113.132.154
May 01 13:52:23.000 [notice] new bridge descriptor 'Jakson' (cached): $65DDCF796C8B0BFD7FE8C4E84F52F70857AFEA66Jakson at 208.113.132.154
May 01 13:52:23.000 [notice] Bootstrapped 80%: Connecting to the Tor network
May 01 13:53:07.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
May 01 13:53:08.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
May 01 13:53:08.000 [notice] new bridge descriptor 'stallmananodes' (fresh): $1F696E223A4CC260A7F8D89D424C56A5ED00ECB9
stallmananodes at 45.76.31.93
May 01 13:53:10.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
May 01 13:53:10.000 [notice] Bootstrapped 100%: Done
May 01 13:56:26.000 [warn] CircuitPriorityHalflife is too small (-1.000000). Adjusting to the smallest value allowed: 30.000000.
May 01 14:00:42.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
May 01 14:00:47.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)
May 01 14:03:54.000 [notice] Tried for 120 seconds to get a connection to [scrubbed]:17570. Giving up. (waiting for rendezvous desc)

Hopefully somebody can help me with this? Whenever I first connect the wallet it takes forever for the TOR light to turn green, and seems to drop connection from time to time to the tor network...

I apologize for everyline that has a STRIKEOUT, it is just deleting/changing what are supposed to be TILDE's in the log file, and striking that line out from TILDE to TILDE out in the code...
example

@deeponion
Copy link
Owner

I don't see this issue, maybe a config issue on your machine? This is from my tor.log:

Apr 24 01:51:14.000 [notice] Tor 0.3.4.0-alpha-dev (git-192c7c8bf9a3c53d) opening new log file.
Apr 24 01:51:14.676 [notice] Tor 0.3.4.0-alpha-dev (git-192c7c8bf9a3c53d) running on Windows 8 with Libevent 2.0.22-stable, OpenSSL 1.0.1l, Zlib 1.2.8, Liblzma N/A, and Libzstd N/A.
Apr 24 01:51:14.676 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Apr 24 01:51:14.676 [notice] This version is not a stable Tor release. Expect more bugs than usual.
Apr 24 01:51:14.695 [notice] Configuration file "C:\Users\admin\AppData\Roaming\DeepOnion\tor\torrc" not present, using reasonable defaults.
Apr 24 01:51:14.698 [notice] Scheduler type KISTLite has been enabled.
Apr 24 01:51:14.698 [notice] Opening Socks listener on 127.0.0.1:9081
Apr 24 01:51:14.000 [warn] CircuitPriorityHalflife is too small (-1.000000). Adjusting to the smallest value allowed: 30.000000.
Apr 24 01:51:15.000 [notice] Bootstrapped 0%: Starting
Apr 24 01:51:15.000 [warn] CircuitPriorityHalflife is too small (-1.000000). Adjusting to the smallest value allowed: 30.000000.
Apr 24 01:51:15.000 [notice] Starting with guard context "default"
Apr 24 01:51:15.000 [notice] Bootstrapped 80%: Connecting to the Tor network
Apr 24 01:51:45.000 [notice] Bootstrapped 85%: Finishing handshake with first hop
Apr 24 01:51:45.000 [warn] Tried connecting to router at 203.32.129.29:443, but RSA identity key was not as expected: wanted 80392DC1522E617C56457DEBA58DD84CC56AEC44 + xltT2OenkyHG1p7yOuVC8+1GHC+vFmqKdgwpzHYpCac but got 80392DC1522E547C56457CEBA58DD84CC56DEC44 + no ed25519 key.
Apr 24 01:51:46.000 [notice] Bootstrapped 90%: Establishing a Tor circuit
Apr 24 01:51:47.000 [notice] Tor has successfully opened a circuit. Looks like client functionality is working.
Apr 24 01:51:47.000 [notice] Bootstrapped 100%: Done

@PzYcO
Copy link
Author

PzYcO commented May 1, 2018

The very first line,

Apr 09 15:55:43.000 [err] libevent call with win32 failed: Successful WSAStartup not yet performed [WSANOTINITIALISED ] [10093]

I get that every time I boot up my wallet. I've researched WSAStartup and its part of the MSDN aspx library. Ive tried to go about steps to "fix" WSAStartup but was unable to.

@deeponion
Copy link
Owner

I know, but I don't have that line in my log...

@PzYcO
Copy link
Author

PzYcO commented May 8, 2018

Do you get a lot of SCRUBBED CONNECTIONS?

And do you have these lines?

Apr 18 20:45:45.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:45:45.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).
Apr 18 20:45:53.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:45:54.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:45:55.000 [warn] Fetching v2 rendezvous descriptor failed. Retrying at another directory.
Apr 18 20:45:56.000 [notice] Closing stream for '[scrubbed].onion': hidden service is unavailable (try again later).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants