Filezilla error: GnuTLS error -50 in gnutls_priority_set_direct

Last updated on March 13th, 2021

Over the last few months, I’ve been getting this error in Ubuntu when I try to connect to an FTP site with Filezilla. I wanted to share a quick guide on how to run Filezilla in the meanwhile (until the Ubuntu repository version is updated)

The error itself:

GnuTLS error -50 in gnutls_priority_set_direct: The request is invalid.
Error: Failed to initialize TLS.

I’ve recorded a brief video below to talk you through the steps I use, or you can just scroll down and read the post.. whatever works best for you!

My view is that, adding other repositories slows Ubuntu installs, makes things messy and can create security or stability issues. So my guide is focused on running the latest version of Filezilla in Ubuntu without installing it. This way, you get to use the latest version, while awaiting the main repository to update your currently installed version.

If you only ever use applications from the Ubuntu Software Centre, then this is a good technique to be aware of, as it opens the door to many more applications, or to simply running software in a more portable way, rather than installing applications you only plan to use a few times.

For Filezilla:

1. Goto Filezilla’s website, and download the latest client version of the software.

2. Open the downloaded tarball file, and extracted the folder structure to somewhere easy to access from the terminal (I recommend your Documents area).

3. Open a terminal window, and go to the relevant folder, then drill down into the Filezilla “bin” folder

beachyuk@ub-desktop:~$ cd Doc*
beachyuk@ub-desktop:~/Documents$ cd File*
beachyuk@ub-desktop:~/Documents/FileZilla3$ cd bin

4. Now just execute the filezilla file. This should already have the execute as program flag, so you just need to type “./filezilla” to launch the program

And that’s it. It isn’t as nice as installing the update, but gives you flexibility on the version of Filezilla that you run, and doesn’t involve any installation.

Hopefully the main Ubuntu repository will be updated to avoid the current GnuTLS error -50 soon. In the meanwhile, I hope helps you avoid the constant “Failed to initialize TLS” error.

Adblocker detected

Please bear in mind that ad blockers prevent this website covering its costs.

If you find this site useful, please consider supporting me by whitelisting this site, or making a £1 / $1 donation.