Forum Replies Created
-
AuthorPosts
-
Sergei
ParticipantI suggest to upgrade to the version 6.
I’m afraid it’s not possible without extensive work and testing. These are production servers and I understand migration to v6 isn’t straightforward, especially in the case of remote SCADA’s connected to the central server.
We need to keep v5 as the production version for the time being.
Besides this, what aspects related these issues does v6 solve? Or is it more of a support issue?
-
This reply was modified 11 months, 3 weeks ago by
Sergei.
August 28, 2024 at 3:42 pm in reply to: RS5 Interface and Config db must be common for all deployed Instances? #15256Sergei
Participantor create separate projects and then merge into the main project in order to hide other client’s configuration.
How is this carried out? Haven’t even thought this was possible. The different projects reside in the central server?
Sergei
Participanthttps://ibb.co/rQY0gY4 Error message
(note: Couldn’t edit the message to fix image link. It simply isn’t shown or displayed. Here it goes.. again)
Sergei
ParticipantThis is the error:
ScadaAdmin.err
Server stack trace: at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.WebRequestOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count) at System.Xml.XmlStreamNodeWriter.FlushBuffer() at System.Xml.XmlUTF8NodeWriter.InternalWriteBase64Text(Byte[] buffer, Int32 offset, Int32 count) at System.Xml.XmlUTF8NodeWriter.WriteBase64Text(Byte[] trailBytes, Int32 trailByteCount, Byte[] buffer, Int32 offset, Int32 count) at System.Xml.XmlBaseWriter.WriteBase64(Byte[] buffer, Int32 offset, Int32 count) at System.Xml.XmlDictionaryWriter.WriteValue(IStreamProvider value) at System.ServiceModel.Dispatcher.StreamFormatter.Serialize(XmlDictionaryWriter writer, Object[] parameters, Object returnValue) at System.ServiceModel.Dispatcher.OperationFormatter.SerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, Object[] parameters, Object returnValue, Boolean isRequest) at System.ServiceModel.Dispatcher.OperationFormatter.OperationFormatterMessage.OperationFormatterBodyWriter.OnWriteBodyContents(XmlDictionaryWriter writer) at System.ServiceModel.Channels.BodyWriterMessage.OnWriteBodyContents(XmlDictionaryWriter writer) at System.ServiceModel.Channels.Message.OnWriteMessage(XmlDictionaryWriter writer) at System.ServiceModel.Channels.TextMessageEncoderFactory.TextMessageEncoder.WriteMessage(Message message, Stream stream) at System.ServiceModel.Channels.HttpOutput.WriteStreamedMessage(TimeSpan timeout) at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout) at System.ServiceModel.Channels.HttpChannelFactory` 1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Scada.Agent.Connector.AgentSvcRef.AgentSvc.UploadConfig(ConfigUploadMessage request) at Scada.Agent.Connector.AgentSvcRef.AgentSvcClient.Scada.Agent.Connector.AgentSvcRef.AgentSvc.UploadConfig(ConfigUploadMessage request) at Scada.Agent.Connector.AgentWcfClient.UploadConfig(String srcFileName, ConfigOptions configOptions) at Scada.Admin.App.Forms.Deployment.FrmUploadConfig.UploadConfig(DeploymentProfile profile) 2024-08-22 02:45:43 <WIN-4UEM89ID0AB><Administrator><EXC> Error uploading configuration: System.ServiceModel.CommunicationException: An error (The request was aborted: The request was canceled.) occurred while transmitting data over the HTTP channel. ---> System.Net.WebException: The request was aborted: The request was canceled. at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.ServiceModel.Channels.BytesReadPositionStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.WebRequestOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.WebRequestOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.IO.BufferedStream.Write(Byte[] array, Int32 offset, Int32 count) at System.Xml.XmlStreamNodeWriter.FlushBuffer() at System.Xml.XmlUTF8NodeWriter.InternalWriteBase64Text(Byte[] buffer, Int32 offset, Int32 count) at System.Xml.XmlUTF8NodeWriter.WriteBase64Text(Byte[] trailBytes, Int32 trailByteCount, Byte[] buffer, Int32 offset, Int32 count) at System.Xml.XmlBaseWriter.WriteBase64(Byte[] buffer, Int32 offset, Int32 count) at System.Xml.XmlDictionaryWriter.WriteValue(IStreamProvider value) at System.ServiceModel.Dispatcher.StreamFormatter.Serialize(XmlDictionaryWriter writer, Object[] parameters, Object returnValue) at System.ServiceModel.Dispatcher.OperationFormatter.SerializeBodyContents(XmlDictionaryWriter writer, MessageVersion version, Object[] parameters, Object returnValue, Boolean isRequest) at System.ServiceModel.Dispatcher.OperationFormatter.OperationFormatterMessage.OperationFormatterBodyWriter.OnWriteBodyContents(XmlDictionaryWriter writer) at System.ServiceModel.Channels.BodyWriterMessage.OnWriteBodyContents(XmlDictionaryWriter writer) at System.ServiceModel.Channels.Message.OnWriteMessage(XmlDictionaryWriter writer) at System.ServiceModel.Channels.TextMessageEncoderFactory.TextMessageEncoder.WriteMessage(Message message, Stream stream) at System.ServiceModel.Channels.HttpOutput.WriteStreamedMessage(TimeSpan timeout) at System.ServiceModel.Channels.HttpOutput.Send(TimeSpan timeout) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.SendRequest(Message message, TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Scada.Agent.Connector.AgentSvcRef.AgentSvc.UploadConfig(ConfigUploadMessage request) at Scada.Agent.Connector.AgentSvcRef.AgentSvcClient.Scada.Agent.Connector.AgentSvcRef.AgentSvc.UploadConfig(ConfigUploadMessage request) at Scada.Agent.Connector.AgentWcfClient.UploadConfig(String srcFileName, ConfigOptions configOptions) at Scada.Admin.App.Forms.Deployment.FrmUploadConfig.UploadConfig(DeploymentProfile profile) 2024-08-22 12:42:40 <WIN-4UEM89ID0AB><Administrator><EXC> Error uploading configuration: Scada.ScadaException: Unable to unpack the configuration archive. at Scada.Agent.Connector.AgentWcfClient.UploadConfig(String srcFileName, ConfigOptions configOptions) at Scada.Admin.App.Forms.Deployment.FrmUploadConfig.UploadConfig(DeploymentProfile profile) 2024-08-22 12:43:06 <WIN-4UEM89ID0AB><Administrator><EXC> Error uploading configuration: Scada.ScadaException: Unable to unpack the configuration archive. at Scada.Agent.Connector.AgentWcfClient.UploadConfig(String srcFileName, ConfigOptions configOptions) at Scada.Admin.App.Forms.Deployment.FrmUploadConfig.UploadConfig(DeploymentProfile profile) 2024-08-22 12:45:39 <WIN-4UEM89ID0AB><Administrator><EXC> Error uploading configuration: Scada.ScadaException: Unable to unpack the configuration archive. at Scada.Agent.Connector.AgentWcfClient.UploadConfig(String srcFileName, ConfigOptions configOptions) at Scada.Admin.App.Forms.Deployment.FrmUploadConfig.UploadConfig(DeploymentProfile profile) 2024-08-23 19:08:30 <WIN-4UEM89ID0AB><Administrator><EXC> Error uploading configuration: System.ServiceModel.CommunicationException: An error (The request was aborted: The request was canceled.) occurred while transmitting data over the HTTP channel. ---> System.Net.WebException: The request was aborted: The request was canceled. at System.Net.ConnectStream.InternalWrite(Boolean async, Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state) at System.Net.ConnectStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.ServiceModel.Channels.BytesReadPositionStream.Write(Byte[] buffer, Int32 offset, Int32 count) at System.ServiceModel.Channels.HttpOutput.WebRequestHttpOutput.WebRequestOutputStream.Write(Byte[] buffer, Int32 offset, Int32 count) --- End of inner exception stack trace ---
August 27, 2024 at 5:56 pm in reply to: RS5 Interface and Config db must be common for all deployed Instances? #15244Sergei
ParticipantDo remote users connect to their local and the main servers?
Indeed yes. For our and our clients’ OT networks security and efficiency on the use of bandwidth and machine resources, our remote Scada machines are mostly intended for data collecion and transmission to the central server. In fact in most of our architectures, these remote Scadas are located within an OT infrastructure, behind segregated VLAN’s and isolated from TI infrastructure (safe from the VPN tunnels that connect RapidGates and the central server). Users cannot access these remote machines, which are mostly Raspberry Linux servers without WebStation or interface hosting and connected to cloud server via limited bandwidth available on the field (3G or even microwave links).
Sergei
ParticipantThanks. It worked ok with 0x10 (Multiple). Tried this yesterday although didn’t know why Single didn’t work.
Thanks for replying.
Sergei
ParticipantYes. You need:
1. Create an output channel.
2. Specify this channel in a scheme or a table view.
3. Configure a command in your Modbus template.The available Command values are just binary/discrete (On/Off, Arm/Disarm, Run/Stop). How do I send a float value to the device?
Do I have to set a formula to write to the Modbus device using an output channel?Using the Communicator Command window and the interface both reset the register to zero (a pulse-driven flow-meter counter that needs to be manually synchronized to a physical value in the field), but no one actually write the desired value to the register.
As a side note, I tried a modbus utility and the value is correctly written.
Sergei
ParticipantWhich pdf manual? Is it the same as the online documentation available today? (as of 2021.07.28)
Sergei
ParticipantUpdate:
Got this error dialogue after trying to ‘Save’ the options in the RapidGate settings GUI.
-
This reply was modified 4 years, 6 months ago by
Sergei.
Sergei
ParticipantTried on another server (Windows Server 2019) to no avail.
Scada Server v5.1.4.0
RapidGate v5.1.1.0ScadaServer.log
——————————————————————————–
2021-01-26 19:16:18 <EC2AMAZ-4OFICL4><SYSTEM><ACT> ScadaServerService 5.1.4.0 is started
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Module is loaded from the file C:\SCADA\ScadaServer\Mod\ModDBExport.dll
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Module is loaded from the file C:\SCADA\ScadaServer\Mod\ModAutoControl.dll
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Module is loaded from the file C:\SCADA\ScadaServer\Mod\ModRapidGate.dll
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Check the existence of the data directories is completed successfully
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Check the existence of the configuration database files is completed successfully
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ERR> No active input channels in the configuration database
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Ouput channels are read from the configuration database
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Users are read from the configuration database
2021-01-26 19:16:19 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Formulas are read from the configuration database
2021-01-26 19:16:21 <EC2AMAZ-4OFICL4><SYSTEM><ACT> The formulas source code has been compiled
2021-01-26 19:16:21 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Connection listener is started
2021-01-26 19:16:21 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Start server
2021-01-26 19:16:22 <EC2AMAZ-4OFICL4><SYSTEM><EXC> Error executing actions on server start in module ModRapidGate: Value cannot be null.
Parameter name: format
2021-01-26 19:16:22 <EC2AMAZ-4OFICL4><SYSTEM><ACT> Current data are loaded-
This reply was modified 4 years, 6 months ago by
Sergei.
Sergei
ParticipantAlso, please note that after enabling HTTPS in IIS, https://localhost will not work (and should not) because the SSL certificate is for the public domain name and most probably doesn’t include the localhost domain.
Sergei
ParticipantPlease note the web.config file in ScadaWeb\plugins\Scheme also needs to be edited for HTTPS to work corectly. Else the schemes cannot be grabbed by the plugin. (The console -F12- shows “404 not found” errors)
Sergei
ParticipantWe have solved the issue.
At first we followed the procedure for installation of the module and then activating it, uploading the config and then restarting the server and Administrator.
The problem was the module was blocked by Windows Server (WS2012R2) and we had to “Unblock” it from the .dll file Properties dialogue.
After that was done, there was no indication the module was running because the config had to be uploaded again to the Scada server.
After that was done, we got the module to write to the log file, return the computer ID and running as expected.
Just to note: We tried this procedure in a new machine with Windows Server 2019 and it worked too, but in this case the ModAutoControl.dll file wasn’t blocked by the OS and the procedure was more straightforward.
Sergei
ParticipantI have scanned the ScadaServerSvc.log file and found no indication whatsoever of a problem. There’s also no mention to the ModAutoControl module in it.
¿Could this be a permissions or a .NET runtime lib issue?
Sergei
ParticipantI’m afraid this didn’t work. The ModAutoControl.log file is empty.
Just to note I had to “Unblock” the module’s DLL (Win Server 2012 R2) to allow the module to be activated, but even after that the ‘Computer code’ text box appears grayed out.
I have tried Deactivating and re-Activating the module several times (restarting server service and even rebooting the machine), to no avail.
-
This reply was modified 4 years, 8 months ago by
Mikhail.
-
This reply was modified 11 months, 3 weeks ago by
-
AuthorPosts