outline-apps icon indicating copy to clipboard operation
outline-apps copied to clipboard

Support multi-server in ssconf (Dynamic Access Keys)

Open moranno opened this issue 1 year ago • 3 comments

I tried to use the following json config for my Dynamic Access Keys

[
    {
        "server": "127.0.0.1",
        "server_port": 4444,
        "password": "98cb61c8-76dc-4d0e-939c-3ed9e11327b5",
        "method": "chacha20-ietf-poly1305",
        "remarks": "sstest"
    },
    {
        "server": "127.0.0.1",
        "server_port": 4443,
        "password": "98cb61c8-76dc-4d0e-939c-3ed9e11327b5",
        "method": "chacha20-ietf-poly1305",
        "remarks": "sstest1"
    }
]

But the Outline client pops an error:

Outline
ServerAccessKeyInvalid: Failed to parse VPN information fetched from dynamic access key.
Cause: TypeError: Missing JSON fields: method, password, server, server_port.

What did I do wrong? Thanks

moranno avatar Dec 29 '23 01:12 moranno

Thank you for flagging this! We desperately want to support this, but currently don't. Changing to a feature request.

daniellacosse avatar Jan 08 '24 16:01 daniellacosse

Actually, this functionality is already defined in original ShadowSocks' standard for online configuration delivery - SIP008

rorosin avatar Aug 23 '24 06:08 rorosin

Following up the implementation / the way things done on some other VPN systems, it would be nice to add some simple ping test - to let client connect to the servers that are alive / closer

alexander-potemkin avatar May 09 '25 09:05 alexander-potemkin