GTK Client crash after "Pay" customer invoice after a period of inactivity on 6.4
tryton 6.4.3, trytond 6.4.2
GTK Client crashes when I press "Pay" on customer invoice, after a period of inactivity.
The logs show where the problem starts:
[Wed Oct 05 09:29:48 2022] ERROR:trytond.security:session failed for '3' from '2a02:a58:6000:3::7' on database 'lampero'
I tested with 9 minutes inactivity, and with 6 minutes inactivity, it happens every time.
It happens even if I have other activity on other views/models.
Logs:
```
[Wed Oct 05 09:29:48 2022] INFO:werkzeug:2a02:a58:6000:3::7 - - [05/Oct/2022 09:29:48] "POST /lampero/ HTTP/1.1" 200 -
[Wed Oct 05 09:29:48 2022] INFO:trytond.wsgi:<JSONRequest 3@2a02:a58:6000:3::7 'http://dot.dotbit.ro:8000/lampero/' [POST] wizard.account.invoice.pay.create>
[Wed Oct 05 09:29:48 2022] INFO:trytond.wsgi:<JSONRequest 3@2a02:a58:6000:3::7 'http://dot.dotbit.ro:8000/lampero/' [POST] model.account.invoice.line.read>
[Wed Oct 05 09:29:48 2022] INFO:trytond.security:session timeout for '3' from '2a02:a58:6000:3::7' on database 'lampero'
[Wed Oct 05 09:29:48 2022] INFO:werkzeug:2a02:a58:6000:3::7 - - [05/Oct/2022 09:29:48] "ESC[31mESC[1mPOST /lampero/ HTTP/1.1ESC[0m" 401 -
[Wed Oct 05 09:29:48 2022] INFO:werkzeug:2a02:a58:6000:3::7 - - [05/Oct/2022 09:29:48] "POST /lampero/ HTTP/1.1" 200 -
[Wed Oct 05 09:29:48 2022] INFO:trytond.wsgi:<JSONRequest 3@2a02:a58:6000:3::7 'http://dot.dotbit.ro:8000/lampero/' [POST] model.account.invoice.tax.read>
[Wed Oct 05 09:29:48 2022] ERROR:trytond.security:session failed for '3' from '2a02:a58:6000:3::7' on database 'lampero'
[Wed Oct 05 09:29:48 2022] INFO:werkzeug:2a02:a58:6000:3::7 - - [05/Oct/2022 09:29:48] "ESC[31mESC[1mPOST /lampero/ HTTP/1.1ESC[0m" 401 -
[Wed Oct 05 09:29:48 2022] INFO:trytond.wsgi:<JSONRequest 2a02:a58:6000:3::7 'http://dot.dotbit.ro:8000/lampero/' [POST] common.db.login>
[Wed Oct 05 09:29:48 2022] INFO:werkzeug:2a02:a58:6000:3::7 - - [05/Oct/2022 09:29:48] "POST /lampero/ HTTP/1.1" 200 -
[Wed Oct 05 09:29:48 2022] INFO:trytond.wsgi:<JSONRequest 3@2a02:a58:6000:3::7 'http://dot.dotbit.ro:8000/lampero/' [POST] model.account.invoice.tax.read>
[Wed Oct 05 09:29:48 2022] ERROR:trytond.security:session failed for '3' from '2a02:a58:6000:3::7' on database 'lampero'
[Wed Oct 05 09:29:48 2022] INFO:werkzeug:2a02:a58:6000:3::7 - - [05/Oct/2022 09:29:48] "ESC[31mESC[1mPOST /lampero/ HTTP/1.1ESC[0m" 401 -
[Wed Oct 05 09:29:48 2022] INFO:trytond.wsgi:<JSONRequest 3@2a02:a58:6000:3::7 'http://dot.dotbit.ro:8000/lampero/' [POST] model.account.invoice.read>
[Wed Oct 05 09:29:48 2022] ERROR:trytond.security:session failed for '3' from '2a02:a58:6000:3::7' on database 'lampero'
[Wed Oct 05 09:29:48 2022] INFO:werkzeug:2a02:a58:6000:3::7 - - [05/Oct/2022 09:29:48] "ESC[31mESC[1mPOST /lampero/ HTTP/1.1ESC[0m" 401 -
[Wed Oct 05 09:29:48 2022] INFO:trytond.wsgi:<JSONRequest 3@2a02:a58:6000:3::7 'http://dot.dotbit.ro:8000/lampero/' [POST] model.account.invoice.read>
[Wed Oct 05 09:29:48 2022] ERROR:trytond.security:session failed for '3' from '2a02:a58:6000:3::7' on database 'lampero'
```
## Files
Download|Creator|Timestamp|Type
---|---|---|---
[sc2.png](/uploads/ec7390656e43868e3cdf729f71de4bca/sc2.png)|@dotbit|2022-10-13 12:59:30.382000 UTC|image/png
[sc1.png](/uploads/47238a345a343236df4a3a561904ac9c/sc1.png)|@dotbit|2022-10-13 12:59:51.877000 UTC|image/png
[tryton.patch](/uploads/b510eeacb3b95cc33a7c336a6f06fc0b/tryton.patch)|@ced|2022-10-23 16:14:04.265000 UTC|text/plain
[screenshot.png](/uploads/4484173c03fbbb83cc8ce9ebdc216bed/screenshot.png)|@dotbit|2022-10-28 07:41:49.256000 UTC|image/png
issue