We have a SolidCP 1.4.2 Multi Server infrastructure. We have been using Gene6 since WSP and until now didn’t have any between Control Panel and Gene6

Right now without any apparent changes that we know of SolidCP can’t fully connect to 2 of 4 FTP Servers. The connectivity issue happens when we view/add/edit FTP service in SolidCP > Servers > XXX server > FTP

The error says: “FTP Site should be selected” and when we try to select one from “FTP Accounts Site:” there isn’t any site in it. However these 2 were working in past and aren’t new servers. Currently the old FTP accounts are working without any issue. The problem is with creating new ones.

When we look in Event Viewer to see what cuases SolidCP to not see/get Accounts Sites of Gene6 we see below error:

[11/22/2019 11:16:20 AM] ERROR: ‘Gene6 FTP Server 3.x’ GetSites
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SolidCP.Providers.FTP.Gene6.ReadSettingsFile(String path)
at SolidCP.Providers.FTP.Gene6.LoadDomain(String domainName, ServerState& siteState)
at SolidCP.Providers.FTP.Gene6.GetSite(String siteId)
at SolidCP.Providers.FTP.Gene6.GetSites()
at SolidCP.Server.FTPServer.GetSites()

We have recetnly added new FTP server in our multi server setup and it connected without any issue. Also one of our older servers doesn’t have above issue.

We want to know what have caused this issue to appear and how can we solve the “Index was outside the bounds of the array.” error.

P.S: We have already tried updating server node to 1.4.4 and it didn’t solve the connectivity issue.

Answered question