SFTP connection issues

Thanks. I really appreciate how actively you participate in the forums and respond to users issues.

I’ve tried troubleshooting my setup to see if it is the SFTP making the background checking take so long.

I have two SFTP servers. One is debian running on a VirtualBox. That one seems to work fine.

The other SFTP server is a raspberry pi running raspbian. This one gives errors in the browser when attempting to view the contents. “Cannot browse. SFTP server error.” I turned on verbose logging for ssh and here’s what I see:

May 13 17:28:21 rpi sshd[25545]: Connection from 107.178.205.0 port 48096 on MY-IP port MY-PORT
May 13 17:28:21 rpi sshd[25545]: Connection closed by 107.178.205.0 [preauth]
May 13 17:28:33 rpi sshd[25550]: Set /proc/self/oom_score_adj to 0
May 13 17:28:33 rpi sshd[25550]: Connection from 107.178.205.8 port 34758 on  MY-IP port MY-PORT
May 13 17:28:33 rpi sshd[25550]: fatal: Read from socket failed: Connection reset by peer [preauth]
May 13 17:28:47 rpi sshd[25593]: Set /proc/self/oom_score_adj to 0
May 13 17:28:47 rpi sshd[25593]: Connection from 107.178.205.16 port 38548 on  MY-IP port MY-PORT
May 13 17:28:48 rpi sshd[25593]: Accepted password for MYUSER from 107.178.205.16 port 38548 ssh2
May 13 17:28:48 rpi sshd[25593]: pam_unix(sshd:session): session opened for user MYUSER by (uid=0)
May 13 17:28:48 rpi sshd[25593]: User child is on pid 25599
May 13 17:28:48 rpi sshd[25599]: Starting session: subsystem 'sftp' for odrive from 107.178.205.16 port 38548
May 13 17:28:49 rpi sshd[25599]: Read error from remote host 107.178.205.16: Connection reset by peer
May 13 17:28:49 rpi sshd[25593]: pam_unix(sshd:session): session closed for user MYUSER 

The above log entries are 3 page refreshes trying to view that SFTP server on my odrive account. The third one listed the files successfully. The first two said: “Cannot browse. SFTP server error” in the browser.

I assume the 107.178.205.16 ip address is odrive, but it reverses to google cloud. Is that correct?

The two SFTP servers have identical sshd_config and are, so I’m not sure what to look at next. Any suggestions? Do the log entries above expose any clues that I’m not paying attention to? I don’t really know what “connection reset by peer” means in terms of what to troubleshoot on my end.

Thanks.

Hi @dan,
I moved this to a new topic to track it properly.

Are you seeing errors when browsing this SFTP server via the desktop client, or is it only via the web client? Is it possible to create a test account for me to try myself?

Yes. The odrive web services are run from the Google App Engine service