Forum Home › Forums › Uncategorized Issues › Error Uploading Configuration
- This topic has 13 replies, 2 voices, and was last updated 3 years, 2 months ago by
Mikhail.
-
AuthorPosts
-
June 12, 2022 at 5:49 pm #10341
tom040264
ParticipantHi guys,
from time to time I got an error during the uploading the configuration:
“Error Uploading Configuration
The operation has timed out.”It takes a minute and then appears this message. When it works, it takes a couple of seconds.
It runs on a raspberry pi.
What could be the reason?
Regards
T.-
This topic was modified 3 years, 2 months ago by
Mikhail.
June 14, 2022 at 7:27 am #10342Mikhail
ModeratorHi,
The ScadaAgent service works on Raspberry, keeps the TCP port 10002 open, and waits for connections.
Probably, when you get an error, the ScadaAgent service is not available.
If the problem repeats, check the Agent’s log file in the directory /opt/scada/ScadaAgent/LogJune 14, 2022 at 7:59 am #10343tom040264
ParticipantHello Mikhail,
This is a part of the logfile after an error. A minute later worked everything without any changes in the meantime. Is this a problem of raspberry?
Regards
T.********************************
2022-06-14 09:54:16 <raspberrypi><root><ACT> Session with ID -3803335764762174100 created
2022-06-14 09:54:16 <raspberrypi><root><ACT> User ScadaAdmin connected to Default
2022-06-14 09:54:17 <raspberrypi><root><EXC> Error controlling service:
System.ComponentModel.Win32Exception (0x80004005): ApplicationName=’/opt/scada/ScadaServer/svc_restart.sh’, CommandLine=”, CurrentDirectory=”, Native error= Access denied
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x0029f] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at System.Diagnostics.Process.Start () [0x0003a] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at Scada.Agent.Engine.ScadaInstance.ControlService (Scada.Agent.ServiceApp serviceApp, Scada.Agent.ServiceCommand command) [0x00039] in <d8148ef5f8474bc49c943117e9a7575a>:0
2022-06-14 09:54:17 <raspberrypi><root><EXC> Error controlling service:
System.ComponentModel.Win32Exception (0x80004005): ApplicationName=’/opt/scada/ScadaComm/svc_restart.sh’, CommandLine=”, CurrentDirectory=”, Native error= Access denied
at System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) [0x0029f] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at System.Diagnostics.Process.Start () [0x0003a] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start (System.Diagnostics.ProcessStartInfo startInfo) [0x0001b] in <9c6e2cb7ddd8473fa420642ddcf7ce48>:0
at Scada.Agent.Engine.ScadaInstance.ControlService (Scada.Agent.ServiceApp serviceApp, Scada.Agent.ServiceCommand command) [0x00039] in <d8148ef5f8474bc49c943117e9a7575a>:0
****************************June 14, 2022 at 3:38 pm #10347Mikhail
ModeratorHello,
Check Linux attributes of the file /opt/scada/ScadaServer/svc_restart.sh
Is it executable?June 14, 2022 at 3:40 pm #10348Mikhail
ModeratorIs there 100% correlation between long waiting for response in Administrator and the “Error controlling service” message?
June 15, 2022 at 12:32 pm #10349tom040264
Participant1. /opt/scada/ScadaServer/svc_restart.sh is not executable.
2. Yes, there is 100% correlation between long waiting for response in Administrator and the “Error controlling service” message.
June 15, 2022 at 12:39 pm #10350Mikhail
ModeratorAll *.sh files inside the scada directory must be executable.
You could run make_executable.sh to make them executable.June 15, 2022 at 4:08 pm #10353tom040264
ParticipantI did it but nothing changed.
It doesn’t matter, it’s just a matter of patience. Sometimes it takes a few minutes and sometimes seconds.Thank you Mikhail
June 16, 2022 at 9:38 am #10354Mikhail
ModeratorCould you provide a screenshot of *.sh file attributes?
It would be better to solve it.June 16, 2022 at 10:15 am #10356tom040264
ParticipantCould you try please to open this link:
https://drive.google.com/file/d/19GyHLXJTDAB_COHXx_9WjG5SU20Wv-FY/view?usp=sharing
I am not shure whether it will work.
June 17, 2022 at 11:07 am #10359Mikhail
ModeratorAll *.sh files should be executable. Not only svc_restart.sh
I suggest to run make_executable.shJune 19, 2022 at 10:22 am #10363tom040264
ParticipantI did it and will report accordingly.
June 21, 2022 at 8:00 am #10369tom040264
ParticipantHi Mikhail,
Nothing has changed. It can happen that everything works 5 times in a row and then suddenly everything gets stuck again. Then I have to start uploading 2-3 times and wait for the timeout until it works again. I haven’t noticed any regularity. Maybe it’s my Raspberry and I should get a new device.
Let’s close this topic. Thanks for the support.
Regards
T.June 22, 2022 at 7:06 am #10374Mikhail
ModeratorLet’s close this topic.
OK.
The issue is weird. In version 6 we’ve made uploading configuration more clear, and I expect that such problem will not appear. -
This topic was modified 3 years, 2 months ago by
-
AuthorPosts
- The topic ‘Error Uploading Configuration’ is closed to new replies.