Sergei

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Error upon uploading Interface to server #15257
    Sergei
    Participant

    I 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.
    Sergei
    Participant

    or 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?

    in reply to: Error upon uploading Interface to server #15248
    Sergei
    Participant

    https://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)

    • This reply was modified 11 months, 3 weeks ago by Sergei.
    • This reply was modified 11 months, 3 weeks ago by Sergei.
    • This reply was modified 11 months, 3 weeks ago by Mikhail.
    in reply to: Error upon uploading Interface to server #15245
    Sergei
    Participant

    This is the error:
    error msg

    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 ---
    • This reply was modified 11 months, 3 weeks ago by Sergei.
    • This reply was modified 11 months, 3 weeks ago by Sergei.
    • This reply was modified 11 months, 3 weeks ago by Mikhail.
    Sergei
    Participant

    Do 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).

    in reply to: how to send a modbus value #10424
    Sergei
    Participant

    Thanks. It worked ok with 0x10 (Multiple). Tried this yesterday although didn’t know why Single didn’t work.

    Thanks for replying.

    in reply to: how to send a modbus value #10422
    Sergei
    Participant

    Yes. 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.

    in reply to: Export data module manual exist? #9309
    Sergei
    Participant

    Which pdf manual? Is it the same as the online documentation available today? (as of 2021.07.28)

    in reply to: RapidGate v5.1.1.0 doesn’t work #8174
    Sergei
    Participant

    Update:

    Got this error dialogue after trying to ‘Save’ the options in the RapidGate settings GUI.

    RapidGate 5.1.1.0 error

    • This reply was modified 4 years, 6 months ago by Sergei.
    in reply to: RapidGate v5.1.1.0 doesn’t work #8172
    Sergei
    Participant

    Tried on another server (Windows Server 2019) to no avail.

    Scada Server v5.1.4.0
    RapidGate v5.1.1.0

    ScadaServer.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.
    in reply to: HTTPS endpoint #7717
    Sergei
    Participant

    Also, 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.

    in reply to: HTTPS endpoint #7716
    Sergei
    Participant

    Please 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)

    in reply to: Can’t get Computer Code for module registration #7639
    Sergei
    Participant

    We 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.

    in reply to: Can’t get Computer Code for module registration #7637
    Sergei
    Participant

    I 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?

    in reply to: Can’t get Computer Code for module registration #7628
    Sergei
    Participant

    I’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.

    https://prnt.sc/vtjwks

    • This reply was modified 4 years, 8 months ago by Mikhail.
Viewing 15 posts - 1 through 15 (of 15 total)