# Can not login using tryton or sao

**URL:** https://discuss.tryton.org/t/can-not-login-using-tryton-or-sao/6107
**Category:** User
**Created:** [April 27, 2023, 5:12pm UTC](https://discuss.tryton.org/t/can-not-login-using-tryton-or-sao/6107 "2023-04-27T17:12:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![iehoshia](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/iehoshia/32/243_2.png) [@iehoshia](https://discuss.tryton.org/u/iehoshia)
#### Post date: [April 27, 2023, 5:12pm UTC](https://discuss.tryton.org/t/can-not-login-using-tryton-or-sao/6107/1 "2023-04-27T17:12:15Z")

</div>

Hi,

I can not login using tryton or sao, I receive the follow message:  
ERROR trytond.security session failed for ‘None’ from ‘192.168.1.21’ on database ‘mydb’

But I’m using my user and password correctly.

I already updated the database with trytond but without success. I’m using 6.6.3.

Thanks.

---

<div class="post-metadata">

### Author: ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)
#### Post date: [April 27, 2023, 5:19pm UTC](https://discuss.tryton.org/t/can-not-login-using-tryton-or-sao/6107/2 "2023-04-27T17:19:35Z")

</div>

It’s linked to this issue: [Cannot login with Werkzeug==2.3.0 (#12234) · Issues · Tryton / Tryton · GitLab](https://foss.heptapod.net/tryton/tryton/-/issues/12234)

You should install Werkzeug \< 2.3.0 :

```auto
pip install Werkzeug==2.2.3

```

---

<div class="post-metadata">

### Author: ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)
#### Post date: [May 27, 2023, 5:20pm UTC](https://discuss.tryton.org/t/can-not-login-using-tryton-or-sao/6107/3 "2023-05-27T17:20:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
