-
Notifications
You must be signed in to change notification settings - Fork 332
Open
Description
I do everything according to the instructions and get an error at the very beginning, in the most unexpected place.
root@v649741077:/usr/local/bin# ck-server -key
Your PUBLIC key is: aWrIpK151cW4NSRbvSobvmRkcnUcmXynws9voOUypXk=
Your PRIVATE key is (keep it secret): GG6m6QU+L5iQ3R7tUMTle6YjeJxG3yyF63yaFSGbX38=After generating the keys, I compile a standard config for the server and check its syntax.
root@v649741077:/usr/local/bin# python3 -m json.tool /etc/cloak/ck-server.json
{
"ProxyBook": {
"shadowsocks": [
"tcp",
"127.0.0.1:8388"
]
},
"BindAddr": [
"0.0.0.0:8443"
],
"RedirAddr": "tile.openstreetmap.org",
"PrivateKey": "GG6m6QU+L5iQ3R7tUMTle6YjeJxG3yyF63yaFSGbX38=",
"AdminUID": "00000000-0000-0000-0000-000000000000",
"EncryptionMethod": "aes-gcm",
"NumConn": 4,
"Transport": "direct",
"BrowserSig": "chrome"
}and when I try to start the server, I get a syntax error
root@v649741077:/usr/local/bin# /usr/local/bin/ck-server -c /etc/cloak/ck-server.json
INFO[2025-11-17T23:17:47Z] Starting standalone mode
FATA[2025-11-17T23:17:47Z] Configuration file error: failed to read configuration file: illegal base64 data at input byte 8I tried decoding the key in base64 and still get a similar error, but the symbol in the configuration is not valid.
Metadata
Metadata
Assignees
Labels
No labels