status-im / status-console-client

Status messaging console user interface
Mozilla Public License 2.0
10 stars 2 forks source link

Starting client failed #66

Closed decanus closed 5 years ago

decanus commented 5 years ago

./bin/status-term-client -keyhex omittedlol -data-dir=../status-data -ds 2>/tmp/status-term-client.log

Contact address: 0x0476f302773631d356502f557ecf7884778b8e5b8cce5cd70114a1952e17c4e35950a55bc846b39b1c48b450e429d2e0a145f98c730cdb04f39010981500bfe07b
Starting in ../status-data/0476f302773631d356502f557ecf7884778b8e5b
failed to start node: listen unix /Users/deaneigenmann/go/src/github.com/status-im/status-data/0476f302773631d356502f557ecf7884778b8e5b/geth.ipc: bind: invalid argument
adambabik commented 5 years ago

The path is too long. Not sure why go-ethereum limits it so heavily. Please try with -no-namespace option but remember to remove the whole dir if you use different key.

adambabik commented 5 years ago

Actually, it's unix thing: https://unix.stackexchange.com/questions/367008/why-is-socket-path-length-limited-to-a-hundred-chars

decanus commented 5 years ago

@adambabik any way we can hack that by creating a symlink?

mandrigin commented 5 years ago

theoretically you should be able to workaround that by not using the absolute path for a socket. or by putting the socket to /var/run or to /tmp (usual practices).

decanus commented 5 years ago

@mandrigin sounds simple enough

adambabik commented 5 years ago

@decanus or just start with -data-dir=/tmp/test-dir. It will fit into the 108 char bufor for sure.