Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

"Local Address" and "Local Port" are left empty by default for items imported from json #387

Closed
ghost opened this issue Oct 8, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Oct 8, 2016

"The connection's profile is invalid" is prompted. Connection can not be established.
Would be better to set 127.0.0.1:1080 as default or be able to customize.
Really annoying to set each connection respectively : )

@librehat
Copy link
Contributor

What kind of json config? Is it from shadowsocks-libev or shadowsocks for windows?

@ghost
Copy link
Author

ghost commented Oct 14, 2016

@librehat It's downloaded from my ss provider, like this (I mask something) :

{
    "configs": [
        {
            "server": "xxx.xxx.net",
            "server_port": "11111",
            "local_port": 1080,
            "password": "xxxxxxxxxxxxxxx",
            "method": "aes-256-cfb"
        },
        {
            "server": "xxx.xxx.net",
            "server_port": "11111",
            "local_port": 1080,
            "password": "xxxxxxxxxxxxxxx",
            "method": "aes-256-cfb"
        }
    ],
    "localPort": 1080,
    "index": 0,
    "global": false,
    "enabled": true,
    "isDefault": false
}

So this file varies between different implementations? This is the only gui-config.json file provided by my ss provider and it notes that this is for "Windows Client".
I ignore it because they share the same filename "gui-config.json".

@librehat
Copy link
Contributor

Yes this is for "Shadowsocks for Windows" (C#). I'll take a look later

@ghost ghost closed this as completed Nov 4, 2016
@ghost
Copy link
Author

ghost commented Nov 4, 2016

Solved

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant