nano-wallet-company/nano-wallet-desktop

Wallet sync saturates internet connection

Jimmy954 opened this issue · 9 comments

When syncing the wallet on Windows 10 64-bit no other apps can use the internet connection. Websites fail to load on Chrome. Everything returns to normal once wallet is closed.

Setup:

Dell XPS 13 Core i7 8th Gen (early 2018 model)
16GB RAM/ 512GB SSD
Internet: Fibre (60Mbps down/ 20Mbps up.)

Hey there

Can you try getting us more information?

I don't use Windows so I'm not 100% sure if these instructions will work straightaway, but we can try work through it.

We need to set the app to output debugging information for us, then launch it inside PowerShell. This will work if you haven't customized the nano install at all.

  1. Open PowerShell (Press WINDOWS + R type powershell press ENTER
  2. type cd $env:LOCALAPPDATA\nano-wallet-desktop\app-1.0.0-rc3 press ENTER
  3. Type ls and press ENTER - confirm that you can see nano-wallet-desktop.exe is listed in the response, this means you are in the right folder.
  4. setx ELECTRON_ENABLE_LOGGING $true -m press ENTER (there should be a SUCCESS confirmation)
  5. setx ELECTRON_ENABLE_STACK_DUMPING $true -m press ENTER (there should be a SUCCESS confirmation)
  6. type nano-wallet-desktop.exe and press ENTER

The desktop wallet should launch, and then if you go back to the PowerShell window there should be debugging information, please copy that in here.

You may need to press CTRL + M to select text inside PowerShell

Thanks for the reply. I ran through those steps and everything seems to be fine now except the wallet is taking a long time to sync. Maybe 100 blocks every 10 seconds (280 peers). Is this normal? If so I'll close the report.

EDIT: Wallet has now synced but 66 blocks unchecked blocks remain and latest transactions are missing. Connection is saturated again and internet pages won't load. Will post the debug info...

PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3> .\nano-wallet-desktop.exe
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3>
[14:25:32.482] [info] Starting application
[16308:0713/142532.910:INFO:CONSOLE(5)] "Service Worker registration failed with SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin ('serve://dist') is not supported.", source: serve://dist/sw-registration-96562d3f04aac78eb85b38ec252eac9a.js (5)
[14:25:33.190] [info] Application window ready to show: Nano Wallet Desktop
[14:25:33.460] [info] Writing node configuration version 2: C:\Users\Jimmy\AppData\Roaming\Nano Wallet Desktop\config.json
[16308:0713/142533.464:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[14:25:33.474] [info] Starting node: C:\Users\Jimmy\AppData\Roaming\Nano Wallet Desktop\rai_node.exe
[14:25:33.485] [info] Node started (PID 13580, RPC port 7076, peering port 7075)
[16308:0713/142533.486:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[16308:0713/142533.487:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[14:25:33.506] [info] Generating TLS certificate: rpc.nanowalletcompany.com
[16308:0713/142533.831:ERROR:shader_disk_cache.cc(237)] Failed to create shader cache entry: -2
[14:25:35.658] [info] Waiting for node to be ready on ::1:7076...
[16308:0713/142535.663:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[16308:0713/142535.664:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[14:25:36.165] [info] Generating JWT token for Jimmy...
[14:25:36.173] [info] Proxy server starting on ::1:17076
[14:25:36.174] [info] Proxy server ready at https://[::1]:17076
[16308:0713/142536.174:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[16308:0713/142536.175:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[16308:0713/142536.175:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)

PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3> .\nano-wallet-desktop.exe
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3>
[14:25:32.482] [info] Starting application
[16308:0713/142532.910:INFO:CONSOLE(5)] "Service Worker registration failed with SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin ('serve://dist') is not supported.", source: serve://dist/sw-registration-96562d3f04aac78eb85b38ec252eac9a.js (5)
[14:25:33.190] [info] Application window ready to show: Nano Wallet Desktop
[14:25:33.460] [info] Writing node configuration version 2: C:\Users\Jimmy\AppData\Roaming\Nano Wallet Desktop\config.json
[16308:0713/142533.464:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[14:25:33.474] [info] Starting node: C:\Users\Jimmy\AppData\Roaming\Nano Wallet Desktop\rai_node.exe
[14:25:33.485] [info] Node started (PID 13580, RPC port 7076, peering port 7075)
[16308:0713/142533.486:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[16308:0713/142533.487:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[14:25:33.506] [info] Generating TLS certificate: rpc.nanowalletcompany.com
[16308:0713/142533.831:ERROR:shader_disk_cache.cc(237)] Failed to create shader cache entry: -2
[14:25:35.658] [info] Waiting for node to be ready on ::1:7076...
[16308:0713/142535.663:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[16308:0713/142535.664:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[14:25:36.165] [info] Generating JWT token for Jimmy...
[14:25:36.173] [info] Proxy server starting on ::1:17076
[14:25:36.174] [info] Proxy server ready at https://[::1]:17076
[16308:0713/142536.174:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[16308:0713/142536.175:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[16308:0713/142536.175:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)

Is that with having set the environment variables? (the two setx commands) You may have to set them again each session.

Yes. Entire text output below. (N.B. Running "nano-wallet-desktop.exe" doesn't work even though it's there when I list the directory. System prompts to add the ".")

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\WINDOWS\system32> cd $env:LOCALAPPDATA\nano-wallet-desktop\app-1.0.0-rc3
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3> setx ELECTRON_ENABLE_LOGGING $true -m

SUCCESS: Specified value was saved.
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3> setx ELECTRON_ENABLE_STACK_DUMPING $true -m

SUCCESS: Specified value was saved.
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3> .\nano-wallet-desktop.exe
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3>
[13:02:37.171] [info] Starting application
[19652:0714/130237.651:INFO:CONSOLE(5)] "Service Worker registration failed with SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin ('serve://dist') is not supported.", source: serve://dist/sw-registration-96562d3f04aac78eb85b38ec252eac9a.js (5)
[13:02:37.930] [info] Application window ready to show: Nano Wallet Desktop
[13:02:38.294] [info] Writing node configuration version 2: C:\Users\Jimmy\AppData\Roaming\Nano Wallet Desktop\config.json
[19652:0714/130238.297:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[13:02:38.308] [info] Starting node: C:\Users\Jimmy\AppData\Roaming\Nano Wallet Desktop\rai_node.exe
[13:02:38.330] [info] Node started (PID 26568, RPC port 7076, peering port 7075)
[19652:0714/130238.331:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[19652:0714/130238.331:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[13:02:38.345] [info] Generating TLS certificate: rpc.nanowalletcompany.com
[19652:0714/130238.603:ERROR:shader_disk_cache.cc(237)] Failed to create shader cache entry: -2
[13:02:40.783] [info] Waiting for node to be ready on ::1:7076...
[19652:0714/130240.788:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[19652:0714/130240.789:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[13:02:40.789] [info] Generating JWT token for Jimmy...
[13:02:40.796] [info] Proxy server starting on ::1:17076
[13:02:40.797] [info] Proxy server ready at https://[::1]:17076
[19652:0714/130240.798:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[19652:0714/130240.798:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[19652:0714/130240.798:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)

Thanks, just as a tip when adding code into a comment on GitHub you can use three ` to wrap the content:

```
<content here>
```

which will format it like so:

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\WINDOWS\system32> cd $env:LOCALAPPDATA\nano-wallet-desktop\app-1.0.0-rc3
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3> setx ELECTRON_ENABLE_LOGGING $true -m

SUCCESS: Specified value was saved.
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3> setx ELECTRON_ENABLE_STACK_DUMPING $true -m

SUCCESS: Specified value was saved.
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3> .\nano-wallet-desktop.exe
PS C:\Users\Jimmy\AppData\Local\nano-wallet-desktop\app-1.0.0-rc3>
[13:02:37.171] [info] Starting application
[19652:0714/130237.651:INFO:CONSOLE(5)] "Service Worker registration failed with SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin ('serve://dist') is not supported.", source: serve://dist/sw-registration-96562d3f04aac78eb85b38ec252eac9a.js (5)
[13:02:37.930] [info] Application window ready to show: Nano Wallet Desktop
[13:02:38.294] [info] Writing node configuration version 2: C:\Users\Jimmy\AppData\Roaming\Nano Wallet Desktop\config.json
[19652:0714/130238.297:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[13:02:38.308] [info] Starting node: C:\Users\Jimmy\AppData\Roaming\Nano Wallet Desktop\rai_node.exe
[13:02:38.330] [info] Node started (PID 26568, RPC port 7076, peering port 7075)
[19652:0714/130238.331:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[19652:0714/130238.331:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[13:02:38.345] [info] Generating TLS certificate: rpc.nanowalletcompany.com
[19652:0714/130238.603:ERROR:shader_disk_cache.cc(237)] Failed to create shader cache entry: -2
[13:02:40.783] [info] Waiting for node to be ready on ::1:7076...
[19652:0714/130240.788:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[19652:0714/130240.789:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[13:02:40.789] [info] Generating JWT token for Jimmy...
[13:02:40.796] [info] Proxy server starting on ::1:17076
[13:02:40.797] [info] Proxy server ready at https://[::1]:17076
[19652:0714/130240.798:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[19652:0714/130240.798:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)
[19652:0714/130240.798:INFO:CONSOLE(209)] "", source: serve://dist/assets/@nano-wallet-company/nano-wallet-desktop-333620edf42ebab6b1fca2edf583c3b3.js (209)

And is much easier to read :)

Ah thanks for the tip!

The NanoWalletCompany is no longer supporting this app. See https://nanowalletcompany.com/ for details. Closing.