# Connection issue to smb share "connection error: EOF"

**URL:** <https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855>\
**Category:** Help and Support\
**Created:** [February 4, 2025, 12:04pm UTC](https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855 "2025-02-04T12:04:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexVal0](https://forum.rclone.org/user_avatar/forum.rclone.org/alexval0/32/19303_2.png) [@AlexVal0](https://forum.rclone.org/u/AlexVal0)\
**Post date:** [February 4, 2025, 12:04pm UTC](https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855/1 "2025-02-04T12:04:55Z")

</div>

**STOP and READ**  **USE THIS TEMPLATE**  **NO EXCEPTIONS** - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.

#### What is the problem you are having with rclone?

Rclone can't connect to a samba share, with error "ERROR : : error listing: couldn't connect SMB: connection error: EOF"

#### Run the command 'rclone version' and share the full output of the command.

rclone v1.68.2

- os/version: fedora 41 (64 bit)
- os/kernel: 6.11.4-301.fc41.x86\_64 (x86\_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.23.4
- go/linking: dynamic
- go/tags: none

#### Which cloud storage system are you using? (eg Google Drive)

smb

#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)

```auto
Paste command here

```

rclone ls SAN1:/ -vv

#### Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

```auto
Paste config here

```

[GDrive]  
type = drive  
scope = drive  
token = XXX  
team\_drive =

[GoogleDrivePerso]  
type = drive  
scope = drive  
token = XXX  
team\_drive =

[SAN1]  
type = smb  
host = XXX  
user = XXX  
pass = XXX

#### A log from the command that you were trying to run with the `-vv` flag

```auto
Paste log here

```

2025/02/04 12:39:07 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "ls" "SAN1:/" "-vv"]  
2025/02/04 12:39:07 DEBUG : Creating backend with remote "SAN1:/"  
2025/02/04 12:39:07 DEBUG : Using config file from "/home/\*\*\*\*/.config/rclone/rclone.conf"  
2025/02/04 12:39:07 DEBUG : fs cache: renaming cache item "SAN1:/" to be canonical "SAN1:"  
2025/02/04 12:39:07 DEBUG : pacer: low level retry 1/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:07 DEBUG : pacer: Rate limited, increasing sleep to 200ms  
2025/02/04 12:39:08 DEBUG : pacer: low level retry 2/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:08 DEBUG : pacer: Rate limited, increasing sleep to 400ms  
2025/02/04 12:39:08 DEBUG : pacer: low level retry 3/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:08 DEBUG : pacer: Rate limited, increasing sleep to 800ms  
2025/02/04 12:39:08 DEBUG : pacer: low level retry 4/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:08 DEBUG : pacer: Rate limited, increasing sleep to 1.6s  
2025/02/04 12:39:09 DEBUG : pacer: low level retry 5/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:09 DEBUG : pacer: Rate limited, increasing sleep to 2s  
2025/02/04 12:39:11 DEBUG : pacer: low level retry 6/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:13 DEBUG : pacer: low level retry 7/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:15 DEBUG : pacer: low level retry 8/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:17 DEBUG : pacer: low level retry 9/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:19 DEBUG : pacer: low level retry 10/10 (error couldn't connect SMB: connection error: EOF)  
2025/02/04 12:39:19 ERROR : : error listing: couldn't connect SMB: connection error: EOF  
2025/02/04 12:39:19 DEBUG : 5 go routines active  
2025/02/04 12:39:19 NOTICE: Failed to ls with 2 errors: last error was: couldn't connect SMB: connection error: EOF

---

<div class="post-metadata">

**Author:** ![AlexVal0](https://forum.rclone.org/user_avatar/forum.rclone.org/alexval0/32/19303_2.png) [@AlexVal0](https://forum.rclone.org/u/AlexVal0)\
**Post date:** [February 4, 2025, 12:16pm UTC](https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855/2 "2025-02-04T12:16:49Z")

</div>

There may have been a recent change as I was able to connect rclone with the same samba nas 2 weeks ago. Issue also affects also my set-up on ubunto 24.04LTS.

The issue may be related with samba version. (I usually have to adjust  
client min protocol in smbclient config file, but Rclone doen't seem to case with this config file as no change if I comment or not the line)

---

<div class="post-metadata">

**Author:** ![kapitainsky](https://forum.rclone.org/user_avatar/forum.rclone.org/kapitainsky/32/14450_2.png) [@kapitainsky](https://forum.rclone.org/u/kapitainsky)\
**Post date:** [February 4, 2025, 12:55pm UTC](https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855/3 "2025-02-04T12:55:36Z")

</div>

Unlikely (but maybe…) it will make difference here but could you try the latest rclone? Also maybe the latest beta?

---

<div class="post-metadata">

**Author:** ![AlexVal0](https://forum.rclone.org/user_avatar/forum.rclone.org/alexval0/32/19303_2.png) [@AlexVal0](https://forum.rclone.org/u/AlexVal0)\
**Post date:** [February 5, 2025, 6:52pm UTC](https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855/4 "2025-02-05T18:52:54Z")

</div>

Unfortunatly, latest rclone is not solving the issue: on Ubuntu the Rclone version is 1.69 and I have same error.

Not sure what happened, as both Ubuntu and Fedora were able to connect a couple of weeks ago but not now... I had to reboot the NAS after power shortage but I did not change the firmware nor the parameters.

---

<div class="post-metadata">

**Author:** ![asdffdsa](https://forum.rclone.org/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@asdffdsa](https://forum.rclone.org/u/asdffdsa)\
**Post date:** [February 5, 2025, 7:06pm UTC](https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855/5 "2025-02-05T19:06:57Z")

</div>

> [@AlexVal0](#):
>
> The issue may be related with samba version. (I usually have to adjust  
> client min protocol in smbclient config file  
> I had to reboot the NAS after power shortage but I did not change the firmware nor the parameters.

fwiw, test the samba share, without using rclone.

check out my handy, dandy howto guide  
[https://forum.rclone.org/t/how-to-access-smb-samba-with-rclone/42754](https://forum.rclone.org/t/how-to-access-smb-samba-with-rclone/42754)

---

<div class="post-metadata">

**Author:** ![AlexVal0](https://forum.rclone.org/user_avatar/forum.rclone.org/alexval0/32/19303_2.png) [@AlexVal0](https://forum.rclone.org/u/AlexVal0)\
**Post date:** [February 6, 2025, 6:22pm UTC](https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855/6 "2025-02-06T18:22:43Z")

</div>

Yes, I can connect to the share without Rclone.

I can connect with the gnome file gui, with smbclient and also with mount.cifs although I need to adjust the SMB version.

Using mount would be a workaround. I'd rather have Rclone work as before

---

<div class="post-metadata">

**Author:** ![system](https://forum.rclone.org/uploads/default/original/2X/3/39ad3235f6ffec76ccd0c81616bd55697b4c300d.png) [@system](https://forum.rclone.org/u/system)\
**Post date:** [March 8, 2025, 6:23pm UTC](https://forum.rclone.org/t/connection-issue-to-smb-share-connection-error-eof/49855/7 "2025-03-08T18:23:29Z")

</div>

Closed on March 8, 2025, 6:23pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
