Ubuntu – How to fix a “Software caused connection abort” error in Ubuntu 14.04


I just performed a clean install (not an upgrade) to Ubuntu 14.04 (64-bit, PC desktop ISO) on a PC that previously had Ubuntu 12.04 installed. Upon trying to restore my \home directory from a Samba server via Deja Dup, I got the error message:

Restore Failed: Software caused connection abort

Further investigation lead me to find that this is just a symptom of a larger problem. On my home network I have three Samba servers. Any attempt to use Nautilus to copy and paste any content between shared folders on those machines and local folders results in the same error message.

There have been two other threads exploring this same error message, plus one additional post with no replies.

The first thread – limited to SSH problems – was resolved by eliminating redundant IPs on the network. That is not my problem. It's a small home network, all IPs are accounted for. And this problem began immediately upon installation of Trusty Tahr. Minutes before it all worked well under Precise Pangolin. Also, my router reserves IPs by MAC address, so though I'm using DHCP on my Trusty PC, it's getting the same IP. No conflicts there. Finally, I reinstalled 12.04 as a test, and the problem went away. So IMO it's not an IP problem.

The other thread deals with file access issues. To test that possible problem I created a new local folder and chmod'ed 777 permission to myself. Then attempting to copy files between that folder and the SMB servers, I got the same error. So I assume the problem I'm seeing is not an access issue either.

Anyone have any idea what's causing this error? And how to fix it? Thanks.

Best Answer

I found something quite similar. Only I can access some files and not others. In my case the problem is limited to the connection with gvfs (and here SMB only - it works well using AFP to another server). I used a workaround by mounting the shares manually or via fstab. Both worked for me.


Related Question