Closed mrpalide closed 4 months ago
we shouldn't need flag.Parse. The flag is parsed into the variable by cobra.
The flag should be called with a double hyphen --addr
or with -a
shorthand flag.
Please check that the config is generated with a double hyphen for --addr on skychat.
Then, make sure that is actually what is passed to skychat. It might not be because of some erroneous code.
"launcher": {
"service_discovery": "http://sd.skycoin.com",
"apps": [
{
"name": "vpn-client",
"binary": "vpn-client",
"args": [
"--dns",
"1.1.1.1"
],
"auto_start": false,
"port": 43
},
{
"name": "skychat",
"binary": "skychat",
"args": [
"--addr",
":8001"
],
"auto_start": true,
"port": 1
},
{
"name": "skysocks",
"binary": "skysocks",
"auto_start": true,
"port": 3
},
{
"name": "skysocks-client",
"binary": "skysocks-client",
"args": [
"--addr",
":1080"
],
"auto_start": false,
"port": 13
},
it's the double hyphen flag in the config. I can't say I'm experiencing the same issue on develop either, hmm
Did you run
make format && make check
? YesFixes #_
Changes:
How to test this PR: _