Cloak
                                
                                
                                
                                    Cloak copied to clipboard
                            
                            
                            
                        "UID does not correspond to a user"
I set up everything according to the guide (master branch).
However, when I try to connect, the server errors out:
WARN[0011] +1 unauthorised UID    UID="..............=="
error="UID does not correspond to a user" remoteAddr="..........:11175"
I'm positive the AdminUID is correct.
oops sorry I forgot to delete some info from README that's not longer relevant in v2.x. I'll update it
ATM you'll have to manually add new users through https://cbeuw.github.io/Cloak-panel/ (yes it's a bit crude. All numbers you type in are in the units of byte or byte/s). In the future though I'll add the feature of adding unlimited users in the config file directly without having to go through the api
That's cool, however I can't even use the panel - I get the same unauthorized message :(
Indeed some code are wrong way round. The latest commit should have fixed it. Also I added unit symbols to the panel so it's less confusing
@cbeuw I tested your source code patched two hours ago. still exist the above problem.
WARN[0347] +1 unauthorised UID UID="...." error="UID does not correspond to a user" remoteAddr="....:48898"
Indeed some code are wrong way round. The latest commit should have fixed it. Also I added unit symbols to the panel so it's less confusing
Tested, it works! Shadowsocks is very fast, but OpenVPN performance is significantly worse, are you getting a similar experience?
I just compiled and tested latest cloak2 source
Still can not connect to server.
using ck-server -k generated private key and public key. using ck-server -u generated user ID. then set it into config file.
I can not find anything wrong.
@alexkatanda Did you try to connect with the AdminUID? ATM you'll have to manually add a user through https://cbeuw.github.io/Cloak-panel/. I'm working on a feature to let you add an arbitrary amount of UID in the config file directly without going through the web page. It should be done in a couple of hours
Thanks for the hard work man, much appreciated!