You are not logged in.

#1 2013-04-14 14:08:19

distronicon
Member
Registered: 2013-01-29
Posts: 3

FileZilla: Internal GnuTLS problem

Hello everybody,

I am using FileZilla and I wanted to upload a file to my webhoster with "explicit FTP over TLS", which does not work since a couple of weeks.
Unfortunately I have the same issue like here: http://trac.filezilla-project.org/ticket/8545

So what can I do? Replace the existing GnuTLS-Lib with an older one? Is that possible? Anything else?

Thank you very much for your help!

Offline

#2 2013-04-24 01:02:53

mattbarszcz
Member
Registered: 2012-06-25
Posts: 35

Re: FileZilla: Internal GnuTLS problem

I am getting the same error as distronicon, regarding error -59.  When I try to transfer a file, the transfer dies after 131,072 bytes and I see the following errors in filezilla:

Error:    GnuTLS error -59 in gnutls_record_send: GnuTLS internal error.
Error:    Could not write to transfer socket: ECONNABORTED - Connection aborted
Response:    226 Transfer complete.
Error:    File transfer failed

All versions I tried were 3.6.0.2.  Neither the pacman package, nor filezilla that I compiled myself was able to transfer the file correctly.  The binary package provided on the fileziIla site though was able to transfer files without issue.  The biggest difference I can see between the versions is like distronicon said, the GnuTLS version.

Below are the about dialogs from the various versions:

About dialog from the pacman package [NOT WORKING]:

FileZilla Client
----------------

Version:          3.6.0.2

Build information:
  Compiled for:   x86_64-unknown-linux-gnu
  Compiled on:    x86_64-unknown-linux-gnu
  Build date:     2012-11-30
  Compiled with:  gcc (GCC) 4.7.2
  Compiler flags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -g -fexceptions -std=gnu++11

Linked against:
  wxWidgets:      2.8.12
  GnuTLS:         3.1.10
  SQLite:         3.7.16.2

Operating system:
  Name:           Linux 3.8.8-1-ARCH x86_64
  Version:        3.8

About dialog from pre-compiled debian version [WORKING]:

FileZilla Client
----------------

Version:          3.6.0.2

Build information:
  Compiled for:   x86_64-pc-linux-gnu
  Compiled on:    x86_64-unknown-linux-gnu
  Build date:     2012-11-29
  Compiled with:  x86_64-linux-gnu-gcc (Debian 4.4.5-8) 4.4.5
  Compiler flags: -g -O2 -Wall -g -fexceptions -std=gnu++0x

Linked against:
  wxWidgets:      2.8.12
  GnuTLS:         3.1.4
  SQLite:         3.7.16.2

Operating system:
  Name:           Linux 3.8.8-1-ARCH x86_64
  Version:        3.8

About dialog from self-compiled version [NOT WORKING]:

FileZilla Client
----------------

Version:          3.6.0.2

Build information:
  Compiled for:   x86_64-unknown-linux-gnu
  Compiled on:    x86_64-unknown-linux-gnu
  Build date:     2013-04-23
  Compiled with:  gcc (GCC) 4.8.0 20130411 (prerelease)
  Compiler flags: -g -O2 -Wall -g -fexceptions -std=gnu++11

Linked against:
  wxWidgets:      2.8.12
  GnuTLS:         3.1.10
  SQLite:         3.7.16.2

Operating system:
  Name:           Linux 3.8.8-1-ARCH x86_64
  Version:        3.8

Last edited by mattbarszcz (2013-04-24 01:04:11)

Offline

#3 2013-04-24 01:08:55

mattbarszcz
Member
Registered: 2012-06-25
Posts: 35

Re: FileZilla: Internal GnuTLS problem

Interestingly enough, the Windows version (which works without issue) also uses GnuTLS 3.1.4.

About dialog from the pre-compiled Windows version [WORKING]:

FileZilla Client
----------------

Version:          3.6.0.2

Build information:
  Compiled for:   i586-pc-mingw32msvc
  Compiled on:    x86_64-unknown-linux-gnu
  Build date:     2012-11-29
  Compiled with:  i586-mingw32msvc-gcc (GCC) 4.2.1-sjlj (mingw32-2)
  Compiler flags: -g -O2 -Wall -g -fexceptions

Linked against:
  wxWidgets:      2.8.12
  GnuTLS:         3.1.4
  SQLite:         3.7.6.2

Operating system:
  Name:           Windows NT 6.1 (build 7601, Service Pack 1)
  Version:        6.1
  Platform:       64 bit system

Last edited by mattbarszcz (2013-04-24 01:09:15)

Offline

#4 2013-04-24 07:44:43

SidK
Member
Registered: 2011-03-03
Posts: 116

Re: FileZilla: Internal GnuTLS problem

For now I suggest you downgrade the packages. If it's an upstream bug then you should be reporting these things upstream. Note that it'll really help the person writing a patch if you go into the settings and enable as much debugging as possible.

Offline

#5 2013-05-04 22:25:32

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: FileZilla: Internal GnuTLS problem

please test this package

this install gnutls 3.1.8 in /opt and include a bash wrapper to use LD_LIBRARY_PATH="/opt/filezilla-gnutls-fix/lib"

+include .desktop launcher

the executable is named "filezilla-fix" and the .desktop launcher is named "Filezilla GnuTLS Fix" in network menu

now filezilla runs wit good version of gnutls (tested in my FTPES (tls over explicit))

plasma-desktopm32456.png

upload in AUR

Last edited by sl1pkn07 (2013-05-08 01:09:08)

Offline

#6 2013-05-07 15:27:32

distronicon
Member
Registered: 2013-01-29
Posts: 3

Re: FileZilla: Internal GnuTLS problem

Hi everybody,

thanks sl1pkn07 for that package and that nice piece of work. It runs absolutely perfect! So it is definitely the GnuTLS lib which causes the problem. With GnuTLS v3.1.8 everything is fine.

distronicon

Offline

#7 2013-05-08 00:37:49

mattbarszcz
Member
Registered: 2012-06-25
Posts: 35

Re: FileZilla: Internal GnuTLS problem

edit:

I compiled and installed gnutls 3.1.8 to /opt/filezilla-gnutls-fix, but I don't understand what I'm supposed to do with the wrapper.

Last edited by mattbarszcz (2013-05-08 01:01:47)

Offline

#8 2013-05-08 01:05:57

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: FileZilla: Internal GnuTLS problem

execute "filezilla-fix" or clik in "Filezilla GnuTLS Fix" in your menu launcher (in internet/network section)

Offline

#9 2013-05-08 01:16:04

mattbarszcz
Member
Registered: 2012-06-25
Posts: 35

Re: FileZilla: Internal GnuTLS problem

sl1pkn07 wrote:

execute "filezilla-fix" or clik in "Filezilla GnuTLS Fix" in your menu launcher (in internet/network section)

<lightbulb> Oh, I see how this works now...

I could either download/compile gnutls manually and run the wrapper or just install the dependencies and build the package/install it.

Sorry for being a little dense.

Thanks for the help.

Offline

#10 2013-05-09 23:25:21

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: FileZilla: Internal GnuTLS problem

Filezilla 3.7.0 release today, still fail with GnuTLS 3.1.10

EDIT: Filezilla 3.7.0.1 still fail

Last edited by sl1pkn07 (2013-05-10 22:17:15)

Offline

#11 2013-10-06 12:27:41

Slowdive
Member
Registered: 2013-10-06
Posts: 1

Re: FileZilla: Internal GnuTLS problem

I'm sorry but i cannot seem to be able to download that filezilla-fix wrapper. Also tried compiling filezilla with export LD_LIBRARY_PATH="/usr/local/lib" after compiling nettle gmp and gnutls 3.1.8. Please can you upload the wrapper somewhere ? Also, a quick question, can I use the fix with a normal installation (.deb) of filezilla or do I have to compile from source ?

Offline

Board footer

Powered by FluxBB