# Login error in tryton 8.0

**URL:** https://discuss.tryton.org/t/login-error-in-tryton-8-0/9263
**Category:** System Administrator
**Created:** [June 15, 2026, 8:24pm UTC](https://discuss.tryton.org/t/login-error-in-tryton-8-0/9263 "2026-06-15T20:24:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![david\_auto](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/d/c77e96/32.png) [@david\_auto](https://discuss.tryton.org/u/david_auto)
#### Post date: [June 15, 2026, 8:24pm UTC](https://discuss.tryton.org/t/login-error-in-tryton-8-0/9263/1 "2026-06-15T20:24:40Z")

</div>

Hello: I’m testing version 8.0 and after much investigation into why the admin user doesn’t authenticate in the SAO after installation but does work in the GTK desktop client, I see in the log:

40146 61056257904656 [2026-06-03 21:18:08,618] INFO werkzeug 192.168.1.20 - - [03/Jun/2026 21:18:08] “POST /tryton\_db/session/login HTTP/1.1” 200 -  
40146 61056257906704 [2026-06-03 21:18:12,960] INFO werkzeug 192.168.1.20 - - [03/Jun/2026 21:18:12] “POST /tryton\_db/session/login HTTP/1.1” 200 -  
40146 61056156563472 [2026-06-03 21:18:12,965] INFO werkzeug 192.168.1.20 - - [03/Jun/2026 21:18:12] “POST /tryton\_db/rpc/ HTTP/1.1” 401 -  
40146 61056156514320 [2026-06-03 21:18:12,967] INFO werkzeug 192.168.1.20 - - [03/Jun/2026 21:18:12] “POST /tryton\_db/rpc/ HTTP/1.1” 401"

Error 401, but when testing things, if I enable SSL with a self-signed certificate it works correctly. This never happened to me before. Can anyone shed some light on this? Of course, using a self-signed certificate locally is very annoying.I tried several versions of werkzeug and psycopg as well. Thank you very much.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [June 15, 2026, 9:46pm UTC](https://discuss.tryton.org/t/login-error-in-tryton-8-0/9263/2 "2026-06-15T21:46:12Z")

</div>

See [tryton\_session cookie is rejected (#14813) · Issues · Tryton / Tryton · GitLab](https://bugs.tryton.org/14813)
