Hello,
Here is the error we are facing:
Disk Space
=========
System.Net.WebException: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.PooledStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.Net.Connection.SyncRead(HttpWebRequest request, Boolean userRetrievedStream, Boolean probeRead)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at Microsoft.Web.Services3.WebServicesClientProtocol.GetResponse(WebRequest request, IAsyncResult result)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.ServiceProvider.GetServiceItemsDiskSpace(SoapServiceProviderItem[] items)
at SolidCP.EnterpriseServer.CalculatePackagesDiskspaceTask.CalculateItems(Int32 serviceId, List`1 items)
Bandwidth
=============
[00:00:03] Packages to calculate: 1871
[00:02:48] Error in Service ID: {1} Error: {0}
[00:04:19] Error in Service ID: {1} Error: {0}
[00:05:49] Error in Service ID: {1} Error: {0}
[00:05:49] Error calculating bandwidth for 'P4-2016C' space of user 'ihinternal': System.Exception: The number of attemtps has been reached. The package calculation has been aborted. at SolidCP.EnterpriseServer.CalculatePackagesBandwidthTask.CalculateItems(Int32 serviceId, List`1 items, DateTime since) at SolidCP.EnterpriseServer.CalculatePackagesBandwidthTask.CalculatePackage(Int32 packageId)
[00:25:15] Error in Service ID: {1} Error: {0}
It summs it up to:
The underlying connection was closed: A connection that was expected to be kept alive was closed by the server.
It usually means a SolidCP Server is not functioning or obtained an error.
The next step would be checking out which server it falls over, if you only have one SolidCP server setup it's easy.. if you have multiple you will need to check each event logs (windows mmc) and see if there's any errors logged in the SolidCP log or the application log.
Hello,
We have a Multi Server enviroment so it's a little tricky for us.
We found below error in our web server. It seems like a broken SolidCP installation. How can we resolve this issue?
[12/9/2018 7:32:47 PM] ERROR: Error on GetServiceItemsDiskSpace() in 'Internet Information Services 10.0' provider
System.IO.FileLoadException: Could not load file or assembly 'SolidCP.Providers.Base, Version=1.3.0.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
File name: 'SolidCP.Providers.Base, Version=1.3.0.0, Culture=neutral, PublicKeyToken=da8782a6fc4d0081'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName)
at SolidCP.Providers.SoapServiceProviderItem.Unwrap(SoapServiceProviderItem sobj)
at SolidCP.Server.ServiceProvider.UnwrapServiceProviderItems(SoapServiceProviderItem[] soapItems)
at SolidCP.Server.ServiceProvider.GetServiceItemsDiskSpace(SoapServiceProviderItem[] items)
That looks indeed like it hasn't been updated for a while.
You can try the manual update.zip from http://installer.solidcp.com/Files/stable/SolidCP-Server-Update.zip
We have made the upgrade. Now we don't get any error but the issue still persists.
It's worth to mention that after running the task when we check audit log it says below text and says that the task was finished in 4sec:
" Packages to calculate: 0 "