On 2016-06-08 04:00, Михаил Савушкин wrote:
> Hello!
> I'm having this responce from server when trying to login to tryton 4.0 via 
> SAO:
> {"id": 0, "error": ["Invalid salt", "None\n"]}
> 
> Trytond is running inside docker container with all the pip packages 
> installed "globally" inside it, no virtualenvs. 
> Same Trytond server but with pre-runned command
> trytond-admin -c $TRYTOND_CONFIG -d $DATABASE_NAME -v --all
> works absolutely fine. 
> 
> Password hashes for working and not working cases are similar:
> bcrypt$2a$12$Lsg7t0E.MtCiv9qZfkJwNeL/9xGnd.DfXXTX6JTbdP81EO..oJZSu <-- this 
> is from not working instance
> bcrypt$2a$12$w9nYLlF39hAXh2S3JT53JuqMuMjvLvfXM7cDXTLbNjJha4Sw4OkpO <-- this 
> is from working one
> 
> And the other confusing thing is that this error pops up with any password 
> specified, valid or not.
> The request hits the right DB, as far as i can tell, since it looks this 
> way in the logs:
> [2016-06-08 10:42:54,822] INFO werkzeug 172.31.24.247 - - [08/Jun/2016 10:42
> :54] "POST /i5b7446a6d09e498/ HTTP/1.1" 200 -
>                                                                             
>                   ^-- my DB name

It looks like something similar to
https://stackoverflow.com/questions/34548846/flask-bcrypt-valueerror-invalid-salt/36465345#36465345

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/20160608120221.GA23431%40tetsuo.

Reply via email to