GnuTLS error -54: Error in the pull function

We have a hosting setup where we allow ftp using ftps. On one of our server while connecting over ftp we encounter following error.

This problem has not been encountered on any other server and we have many of them having same ftp setup/configuration.

This problem occurs with version 3.6, and on archlinux.but on downgrading to version 3.5.3 there was no such problem.

I also found that one of our user on windows xp using version also encountered this error.

This error was not encountered when using other ftp clients namely fireftp and coreftp.

I also tried downgrading gnutls but it didnt helped the problem persisted.