Page 1 of 1

Cannot access a disposed object. Object name: 'System.Net.Sockets.Socket'.

Posted: 29 Jan 2024, 10:59
by NebNedra
Hello everyone,

Each night, we perform numerous backups on our SFTP server. However, in the past fortnight, we've encountered an error, as indicated in the Cobian logs. Attempts to rectify the issue by adjusting the keep alive settings have been unsuccessful.

The backup process is generally operational, yet there are a few individual files experiencing issues. These files include a variety of formats, from CSV to PDF and others.

Below are the specific errors we're experiencing:

ERR 2024-01-28 00:11:51 An error occurred while uploading the file "C:\*******\USER\****" to "/BACKUP DESTINATION": Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
2024-01-28 00:11:51 The server has disconnected. Reconnecting...
2024-01-28 00:11:51 Connecting to **.***.*.*:22...
2024-01-28 00:11:52 Logged in into the remote server.
2024-01-28 00:11:52 Connected to **.***.*.*:22....
2024-01-28 00:13:53 The server has disconnected. Reconnecting...
2024-01-28 00:13:53 Connecting to **.***.*.*:22...
2024-01-28 00:13:55 Logged in into the remote server.
2024-01-28 00:13:55 Connected to **.***.*.*:22....
2024-01-28 00:19:00 The server has disconnected. Reconnecting...
2024-01-28 00:19:00 Connecting to **.***.*.*:22...
2024-01-28 00:19:02 Logged in into the remote server.
2024-01-28 00:19:02 Connected to **.***.*.*:22....

Our backup destination is a Synologoy external to the clients.

Re: Cannot access a disposed object. Object name: 'System.Net.Sockets.Socket'.

Posted: 29 Jan 2024, 15:17
by cobian
Nothing has changed in the sftp logic, so if it has been working until now , something has been hapening on the server side (my guessing). Could you check the logs on the NAS to see if you fin some clue there?