Reolink Cams not working with FTP Server in Scale

Hi all,

I have several Reolink Cams that refuse to work with SCALES proftpd Server.
On Core they are working just fine. Verified by installing a Core VM and Setting up the FTP there.
My Hikvision cams are working just fine. So it is not generally broken, but now I have 8 cams that are unable to write their stuff to the network share…

Do you have any idea how to troubleshoot further?

Scale
ProFTPD Version 1.3.8
Core
ProFTPD Version 1.3.7c

Log from SCALE

Oct 31 15:39:31 truenas.athome proftpd[26173]: truenas.athome (reo-duo-1.cctv[10.xxx.xxx.xxx]) - FTP session opened.
Oct 31 15:39:31 truenas.athome proftpd[26173]: truenas.athome (reo-duo-1.cctv[10.xxx.xxx.xxx]) - USER reolink1: Login successful.
Oct 31 15:39:31 truenas.athome proftpd[26173]: truenas.athome (reo-duo-1.cctv[10.xxx.xxx.xxx]) - FTP session closed.

tcpdump from scale

14:59:57.610886 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [.], ack 1, win 4015, options [nop,nop,TS val 3115573702 ecr 167964166], length 0
14:59:57.614897 IP 10.xxx.xxx.xxx.ftp > REOLINKCAM.38156: Flags [P.], seq 1:63, ack 1, win 510, options [nop,nop,TS val 167964177 ecr 3115573702], length 62: FTP: 220 ProFTPD Server (truenas FTP Server) [::ffff:10.xxx.xxx.xxx]
14:59:57.617848 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [.], ack 63, win 4012, options [nop,nop,TS val 3115573710 ecr 167964177], length 0
14:59:57.673852 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [P.], seq 1:11, ack 63, win 4012, options [nop,nop,TS val 3115573765 ecr 167964177], length 10: FTP: AUTH TLS
14:59:57.673898 IP 10.xxx.xxx.xxx.ftp > REOLINKCAM.38156: Flags [.], ack 11, win 510, options [nop,nop,TS val 167964236 ecr 3115573765], length 0
14:59:57.674257 IP 10.xxx.xxx.xxx.ftp > REOLINKCAM.38156: Flags [P.], seq 63:88, ack 11, win 510, options [nop,nop,TS val 167964236 ecr 3115573765], length 25: FTP: 500 AUTH not understood
14:59:57.676952 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [.], ack 88, win 4011, options [nop,nop,TS val 3115573768 ecr 167964236], length 0
14:59:57.765399 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [P.], seq 11:26, ack 88, win 4011, options [nop,nop,TS val 3115573857 ecr 167964236], length 15: FTP: USER USER1
14:59:57.766233 IP 10.xxx.xxx.xxx.ftp > REOLINKCAM.38156: Flags [P.], seq 88:124, ack 26, win 510, options [nop,nop,TS val 167964328 ecr 3115573857], length 36: FTP: 331 Password required for USER1
14:59:57.774028 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [.], ack 124, win 4009, options [nop,nop,TS val 3115573866 ecr 167964328], length 0
14:59:57.888413 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [P.], seq 26:49, ack 124, win 4009, options [nop,nop,TS val 3115573980 ecr 167964328], length 23: FTP: PASS XXXXXXXXXXXXXXXX
14:59:57.908004 IP 10.xxx.xxx.xxx.ftp > REOLINKCAM.38156: Flags [P.], seq 124:130, ack 49, win 510, options [nop,nop,TS val 167964470 ecr 3115573980], length 6: FTP: 230-
14:59:57.908038 IP 10.xxx.xxx.xxx.ftp > REOLINKCAM.38156: Flags [P.], seq 130:162, ack 49, win 510, options [nop,nop,TS val 167964470 ecr 3115573980], length 32: FTP:  Welcome to TrueNAS FTP Server
14:59:57.908061 IP 10.xxx.xxx.xxx.ftp > REOLINKCAM.38156: Flags [P.], seq 162:165, ack 49, win 510, options [nop,nop,TS val 167964470 ecr 3115573980], length 3: FTP:
14:59:57.908082 IP 10.xxx.xxx.xxx.ftp > REOLINKCAM.38156: Flags [P.], seq 165:194, ack 49, win 510, options [nop,nop,TS val 167964470 ecr 3115573980], length 29: FTP: 230 User USER1 logged in
14:59:57.913883 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [.], ack 130, win 4009, options [nop,nop,TS val 3115574005 ecr 167964470], length 0
14:59:57.914083 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [.], ack 162, win 4007, options [nop,nop,TS val 3115574006 ecr 167964470], length 0
14:59:57.914084 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [.], ack 165, win 4007, options [nop,nop,TS val 3115574006 ecr 167964470], length 0
14:59:57.914249 IP REOLINKCAM.38156 > 10.xxx.xxx.xxx.ftp: Flags [.], ack 194, win 4006, options [nop,nop,TS val 3115574006 ecr 167964470], length 0
1 Like

I’ve found the same issue. For info, ftp from reolink camera worked fine on dragonfish, but failed to connect as soon as I upgraded to electric eel.
Like you, my other cameras (foscam, in my case) are still connecting ok.

1 Like

I’m having the same issue.

Upgraded to Scale 24.10 (EE) from Core 13.0-U6.2 and now keep getting 451 login errors on my reolink cameras via FTP.

Reverted back to Core and they still work. Confirmed user is setup the same, added to FTP group etc, on both Scale and Core.

1 Like

I’ve been playing around with this and found that if I enable anonymous login on TrueNAS and set the reolink camera to use anonymous login, it works!
No idea what this really means - obviously it points to a user/account issue, but I’m 100% certain that the credentials are correct (as it work ok on other cameras)

P.S. this has been raised as a bug, but was closed due to lack of info/logs being available.
See here: Issue log

2 Likes

Oh thanks for pointing that out.
I guess we need to get in contact with reolink, maybe they can help us getting this fixed. It is really complicated with some clients working and others not. This is always hard to troubleshoot.

I will try to gather more logs and information so that we can open a new issue with ixSystems.

1 Like

I too discovered the work-around of using anonymous mode, not too keen on that being the solution though.

I’ve been emailing Reolink support, no luck yet.

I tried the anonymous workaround and it did not work for me
I get Error 450 Unknown Error. But I see the same behavior as you in the TrueNAS Logs.

I ran into the same issue. I don’t have a comparison, since I got the Reolink camera after I updated to 24.10.
Anonymous access from the camera works for me.