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

Error running daemon #9

Open
IamOldBoy opened this issue Dec 7, 2023 · 7 comments
Open

Error running daemon #9

IamOldBoy opened this issue Dec 7, 2023 · 7 comments

Comments

@IamOldBoy
Copy link

Hi guys, I'm currently creating a wallet but I'm receiving the following error when initially trying to run the daemon - "Error connecting to RPC server localhost: error connecting to address localhost:42110: error connecting to localhost:42110: context deadline exceeded". Any idea?

Error received after the following:

2023-12-07 12:48:09.702 [INF] KSWD: Listening to TCP on localhost:8082
2023-12-07 12:48:09.702 [INF] KSWD: Connecting to a node at localhost...

I hope someone has an idea. This is over my head :) Thanks!

@IamOldBoy
Copy link
Author

The issue is when I run the BAT file -

image

"Unable to start karlsend: not found"

My BAT file states the following -

: XXX

karlsend.exe --utxoindex

goto xxx

Here is my Dir -

Mode LastWriteTime Length Name


-a---- 11/18/2023 6:34 AM 23070693 genkeypair.exe
-a---- 11/18/2023 6:34 AM 25287855 karlsenctl.exe
-a---- 12/6/2023 5:16 PM 41502753 karlsend-v1.0.0-win64.zip
-a---- 11/18/2023 6:34 AM 38473722 karlsend.exe
-a---- 11/18/2023 6:34 AM 29652776 karlsenminer.exe
-a---- 11/18/2023 6:34 AM 33331151 karlsenwallet.exe
-a---- 12/7/2023 12:55 PM 319 _KARLSEN.txt
-a---- 12/6/2023 5:20 PM 49 __karlsend.bat

@TheKurtix
Copy link

Same problem

@marsidorowicz
Copy link

marsidorowicz commented Dec 8, 2023

i have similar:

rpc error
github.com/karlsen-network/karlsend/infrastructure/network/rpcclient.init
        C:/karlsen_build/infrastructure/network/rpcclient/log.go:8
runtime.doInit1
        C:/Program Files/Go/src/runtime/proc.go:6740
runtime.doInit
        C:/Program Files/Go/src/runtime/proc.go:6707
runtime.main
        C:/Program Files/Go/src/runtime/proc.go:249
runtime.goexit
        C:/Program Files/Go/src/runtime/asm_amd64.s:1650
Method unavailable when karlsend is run without --utxoindex
github.com/karlsen-network/karlsend/infrastructure/network/rpcclient.(*RPCClient).convertRPCError
        C:/karlsen_build/infrastructure/network/rpcclient/rpcclient.go:181
github.com/karlsen-network/karlsend/infrastructure/network/rpcclient.(*RPCClient).GetBalancesByAddresses
        C:/karlsen_build/infrastructure/network/rpcclient/rpc_get_balances_by_addresses.go:17
github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/server.(*server).collectAddresses
        C:/karlsen_build/cmd/karlsenwallet/daemon/server/sync.go:161
github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/server.(*server).collectAddressesWithLock
        C:/karlsen_build/cmd/karlsenwallet/daemon/server/sync.go:152
github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/server.(*server).collectRecentAddresses
        C:/karlsen_build/cmd/karlsenwallet/daemon/server/sync.go:129
github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/server.(*server).sync
        C:/karlsen_build/cmd/karlsenwallet/daemon/server/sync.go:30
github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/server.Start.func1
        C:/karlsen_build/cmd/karlsenwallet/daemon/server/server.go:102
github.com/karlsen-network/karlsend/util/panics.handleSpawnedFunction
        C:/karlsen_build/util/panics/panics.go:84
github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/server.init.GoroutineWrapperFunc.func1.1
        C:/karlsen_build/util/panics/panics.go:33
runtime.goexit
        C:/Program Files/Go/src/runtime/asm_amd64.s:1650
error syncing the wallet
github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/server.Start.func1
        C:/karlsen_build/cmd/karlsenwallet/daemon/server/server.go:104
github.com/karlsen-network/karlsend/util/panics.handleSpawnedFunction
        C:/karlsen_build/util/panics/panics.go:84
github.com/karlsen-network/karlsend/cmd/karlsenwallet/daemon/server.init.GoroutineWrapperFunc.func1.1
        C:/karlsen_build/util/panics/panics.go:33
runtime.goexit
        C:/Program Files/Go/src/runtime/asm_amd64.s:1650

like github.com/karlsen-network/karlsend/infrastructure/network/rpcclient.init is missing

also Method unavailable when karlsend is run without --utxoindex show up while karlsend.exe –-utxoindex runs in cmd as admin

if karlsend not running:
2023-12-08 11:19:53.918 [INF] KSWD: Listening to TCP on localhost:8082
2023-12-08 11:19:53.918 [INF] KSWD: Connecting to a node at localhost...
Error connecting to RPC server localhost: error connecting to address localhost:42110: error connecting to localhost:42110: context deadline exceeded

this is what karlsend see while tryining tun daemon:
2023-12-08 11:25:05.959 [INF] TXMP: RPC Incoming connection from [::1]:62600 #1
2023-12-08 11:25:06.124 [INF] NTAR: Disconnected from <: [::1]:62600>

@jasondaros
Copy link

Same issue on linux while running command ./karlsend –utxoindex in another windows

@marsidorowicz
Copy link

let me add i tried with -- and - for utxoindex

@marsidorowicz
Copy link

guys silly thing when .\karlsend.exe --utxoindex doesnt works but .\karlsend.exe /utxoindex works

@IamOldBoy
Copy link
Author

Solved for me. I deleted the datadir2 folder in C:\Users...\AppData\Local\Karlsend\karlsen-mainnet.

lemois-1337 pushed a commit that referenced this issue Sep 3, 2024
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

4 participants