# Tryton desktop on Ubuntu handshake operation timed out

**URL:** https://discuss.tryton.org/t/tryton-desktop-on-ubuntu-handshake-operation-timed-out/3776
**Category:** System Administrator
**Created:** [February 6, 2021, 11:15pm UTC](https://discuss.tryton.org/t/tryton-desktop-on-ubuntu-handshake-operation-timed-out/3776 "2021-02-06T23:15:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![raul](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/raul/32/1276_2.png) [@raul](https://discuss.tryton.org/u/raul)
#### Post date: [February 6, 2021, 11:15pm UTC](https://discuss.tryton.org/t/tryton-desktop-on-ubuntu-handshake-operation-timed-out/3776/1 "2021-02-06T23:15:18Z")

</div>

In Tryton desktop on Ubuntu, for a connection with SSL. After being the session open for a day, the application does not respond and I get the following error in the console:

ERROR: tryton.rpc: \_ssl.c: 1106: The handshake operation timed out

To fix I have to restart the tryton server every time this happens.

What can I do to avoid having to restart the tryton server?

---

<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: [February 7, 2021, 7:21am UTC](https://discuss.tryton.org/t/tryton-desktop-on-ubuntu-handshake-operation-timed-out/3776/2 "2021-02-07T07:21:17Z")

</div>

It seems the server is blocked on some resources. If you are using the embedded web server, you should consider [running trytond from a WSGI server](https://docs.tryton.org/projects/server/en/latest/topics/start_server.html#wsgi-server). The embedded server is not really for production deployment but more for development.  
Also it is better to delegate the SSL to a reverse-proxy.
