Bitcoin Forum
May 30, 2024, 12:24:06 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: ELectrs on WSL 1/2  (Read 58 times)
PawGo (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
May 05, 2022, 09:46:21 AM
 #1

Hello

Is there any known problem with running electrs on WSL 2?
I have Debian WSL 1 and all works, after migration to WSL2 server does not start (cannot connect to daemon or has RPC problem, dunno).
When I migrated back to WSL1, all works.
I do not need WSL2, but I am curious what's going on. Any ideas?
NeuroticFish
Legendary
*
Offline Offline

Activity: 3682
Merit: 6416


Looking for campaign manager? Contact icopress!


View Profile
May 05, 2022, 12:17:58 PM
Merited by ABCbits (1), PawGo (1)
 #2

One thing that could be (but I may be totally off) may be an IP address problem.

For example my bitcoin.conf contains

Code: (bitcoin.conf)
rpcbind=127.0.0.1
rpcallow=127.0.0.1

and I've read that

If you rely on a Linux distribution to have an IP address in the same network as your host machine, you may need to set up a workaround in order to run WSL 2.

That same page also tells about "strict memory requirements" which may or may not be a problem.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
PawGo (OP)
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
May 05, 2022, 12:21:02 PM
 #3

Thank you.

Later I will check what it the IP assignment, maybe indeed that is the problem. But in general I may live on wsl1, as I have a dedicated instance just for electrs. What worries me is that one day there will be an automatic (forced) update to wsl2.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!