Try ERPNext Buy Support Partners Foundation

TLSv1.3 error nginx

When I do a bench setup nginx,

the file in /etc/nginx/conf.d/frappe-bench.conf contain on the ssl_protocols TLSv1.3 and this cause an error when trying to start nging with sudo service nginx reload

Job for nginx.service failed because the control process exited with error code. See “systemctl status nginx.service” and “journalctl -xe” for details.

nginx: [warn] invalid value “TLSv1.3” in /etc/nginx/conf.d/frappe-bench.conf:

If I manually remove the TLSv1.3 and reload nginx it’s ok.

Any idea why? I’m using let’s encrypt

1 Like

@Samuel_Gervais - Thank you very much for sharing your experience.

Just to add- there are two references to TLSv1.3 that must be removed and its perhaps easier to locate the nginx.conf file here: frappe/frappe-bench/config .

I too experienced the same challenge after upgrading to ERPNext v11.1.72 (version-11) : Frappe Framework: v11.1.64 (version-11) and had to resort to this workaround.

I hope this will help someone else in the future!

1 Like

Encountered same issue yesterday! Had to use this workaround…