Server is unavailable

Forum Home Forums Installation Issues SCADA-Web Installation Server is unavailable

Tagged: 

Viewing 15 posts - 16 through 30 (of 39 total)
  • Author
    Posts
  • #3839
    tom040264
    Participant

    Hi,

    I tried to solve the problem by using of this tread but without any successes. For 20 minutes everything worked perfect and I did some changes in the ComServer (I tried to add a command). Then I tried to load the SCADA-Page as usual, but I got the message “Server is unavailable.”

    This is the WebSettings file:

    <?xml version=”1.0″ encoding=”utf-8″?>
    <WebSettings>
    <CommSettings>
    <Param name=”ServerHost” value=”localhost” descr=”SCADA-Server host or IP address” />
    <Param name=”ServerPort” value=”10000″ descr=”SCADA-Server TCP port number” />
    <Param name=”ServerUser” value=”ScadaWeb” descr=”User name for the connection” />
    <Param name=”ServerPwd” value=”12345″ descr=”User password for the connection” />
    <Param name=”ServerTimeout” value=”10000″ descr=”Response timeout, ms” />
    </CommSettings>
    <CommonParams>
    <Param name=”Culture” value=”” descr=”Web application culture” />
    <Param name=”DataRefrRate” value=”1000″ descr=”Current data and events refresh rate, ms” />
    <Param name=”ArcRefrRate” value=”10000″ descr=”Archive data refresh rate, ms” />
    <Param name=”DispEventCnt” value=”100″ descr=”Display events count” />
    <Param name=”ChartGap” value=”90″ descr=”Distance between chart points to make a gap, sec” />
    <Param name=”StartPage” value=”” descr=”Start page after login” />
    <Param name=”CmdEnabled” value=”true” descr=”Enable commands” />
    <Param name=”CmdPassword” value=”true” descr=”Require password to send command” />
    <Param name=”RemEnabled” value=”true” descr=”Allow to remember logged on user” />
    <Param name=”ViewsFromBase” value=”true” descr=”Load view settings from the database” />
    <Param name=”ShareStats” value=”true” descr=”Share depersonalized stats with the developers” />
    </CommonParams>
    <ScriptPaths>
    <Script name=”ChartScript” path=”~/plugins/ChartPro/js/chartdialog.js” />
    <Script name=”CmdScript” path=”~/plugins/Table/js/cmddialog.js” />
    <Script name=”EventAckScript” path=”~/plugins/Table/js/eventackdialog.js” />
    </ScriptPaths>
    <Plugins>
    <Plugin fileName=”PlgChart.dll” />
    <Plugin fileName=”PlgChartPro.dll” />
    <Plugin fileName=”PlgConfig.dll” />
    <Plugin fileName=”PlgRegistration.dll” />
    <Plugin fileName=”PlgSchBasicComp.dll” />
    <Plugin fileName=”PlgScheme.dll” />
    <Plugin fileName=”PlgStore.dll” />
    <Plugin fileName=”PlgTable.dll” />
    <Plugin fileName=”PlgWebPage.dll” />
    </Plugins>
    </WebSettings>

    The CPU load of ScadaServerSvc.exe is 0.
    Any idea?

    #3841
    Mikhail
    Moderator

    See the log of the Server
    C:\SCADA\ScadaServer\Log\ScadaServerSvc.log

    and the log of the web app
    C:\SCADA\ScadaWeb\log\ScadaWeb.log

    #3843
    tom040264
    Participant

    ScadaServerSvc.log:

    2018-06-15 16:43:17 <HP-SERVER><SYSTEM><ACT> ScadaServerService 5.1.0.3 is started
    2018-06-15 16:43:19 <HP-SERVER><SYSTEM><ACT> Check the existence of the data directories is completed successfully
    2018-06-15 16:43:19 <HP-SERVER><SYSTEM><ACT> Check the existence of the configuration database files is completed successfully
    2018-06-15 16:43:22 <HP-SERVER><SYSTEM><ACT> Input channels are read from the configuration database. Active channel count: 10
    2018-06-15 16:43:22 <HP-SERVER><SYSTEM><ACT> Ouput channels are read from the configuration database
    2018-06-15 16:43:22 <HP-SERVER><SYSTEM><ACT> Users are read from the configuration database
    2018-06-15 16:43:22 <HP-SERVER><SYSTEM><ACT> Formulas are read from the configuration database
    2018-06-15 16:43:23 <HP-SERVER><SYSTEM><ERR> Error compiling the source code of the formulas:
    Line 523, column 55: error CS1501: Keine Überladung für die Methode ‘GetBit’ nimmt 1-Argumente an.
    Line 526, column 55: error CS1501: Keine Überladung für die Methode ‘GetBit’ nimmt 1-Argumente an.
    Line 529, column 56: error CS1501: Keine Überladung für die Methode ‘GetBit’ nimmt 1-Argumente an.
    See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code
    2018-06-15 16:43:23 <HP-SERVER><SYSTEM><ERR> Normal program execution is impossible.
    2018-06-15 18:44:08 <HP-SERVER><SYSTEM><ACT> ScadaServerService is stopped
    ——————————————————————————–
    ——————————————————————————–
    2018-06-15 18:44:08 <HP-SERVER><SYSTEM><ACT> ScadaServerService 5.1.0.3 is started
    2018-06-15 18:44:09 <HP-SERVER><SYSTEM><ACT> Check the existence of the data directories is completed successfully
    2018-06-15 18:44:09 <HP-SERVER><SYSTEM><ACT> Check the existence of the configuration database files is completed successfully
    2018-06-15 18:44:09 <HP-SERVER><SYSTEM><ACT> Input channels are read from the configuration database. Active channel count: 10
    2018-06-15 18:44:09 <HP-SERVER><SYSTEM><ACT> Ouput channels are read from the configuration database
    2018-06-15 18:44:09 <HP-SERVER><SYSTEM><ACT> Users are read from the configuration database
    2018-06-15 18:44:09 <HP-SERVER><SYSTEM><ACT> Formulas are read from the configuration database
    2018-06-15 18:44:09 <HP-SERVER><SYSTEM><ERR> Error compiling the source code of the formulas:
    Line 523, column 56: error CS1501: Keine Überladung für die Methode ‘GetBit’ nimmt 1-Argumente an.
    See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code
    2018-06-15 18:44:09 <HP-SERVER><SYSTEM><ERR> Normal program execution is impossible.

    ScadaWeb.log

    2018-06-15 18:17:11 <HP-SERVER><DefaultAppPool><ACT> Initialize common web application data
    2018-06-15 18:17:11 <HP-SERVER><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
    2018-06-15 18:17:12 <HP-SERVER><DefaultAppPool><EXC> Error connecting to SCADA-Server: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 127.0.0.1:10000
    2018-06-15 18:17:12 <HP-SERVER><DefaultAppPool><ACT> Disconnect from SCADA-Server
    2018-06-15 18:17:12 <HP-SERVER><DefaultAppPool><EXC> Error refreshing the tables of the configuration database:
    Scada.ScadaException: Unable to receive the configuration database modification time.
    bei Scada.Client.DataCache.RefreshBaseTables()
    2018-06-15 18:17:12 <HP-SERVER><DefaultAppPool><ACT> User information has been added. IP address: 91.113.32.125. Session: fmn4stqwwpvgopgm52hkwfpw
    2018-06-15 18:17:12 <HP-SERVER><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-06-15 18:17:12 <HP-SERVER><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: 91.113.32.125
    2018-06-15 18:17:14 <HP-SERVER><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-06-15 18:17:14 <HP-SERVER><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: 91.113.32.125
    2018-06-15 18:17:14 <HP-SERVER><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-06-15 18:17:14 <HP-SERVER><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: 91.113.32.125
    2018-06-15 18:37:20 <HP-SERVER><DefaultAppPool><ACT> User information has been removed. IP address: 91.113.32.125. Session: fmn4stqwwpvgopgm52hkwfpw
    2018-06-15 18:38:24 <HP-SERVER><DefaultAppPool><ACT> Connect to SCADA-Server “localhost”
    2018-06-15 18:38:25 <HP-SERVER><DefaultAppPool><EXC> Error connecting to SCADA-Server: Es konnte keine Verbindung hergestellt werden, da der Zielcomputer die Verbindung verweigerte 127.0.0.1:10000
    2018-06-15 18:38:25 <HP-SERVER><DefaultAppPool><ACT> Disconnect from SCADA-Server
    2018-06-15 18:38:25 <HP-SERVER><DefaultAppPool><EXC> Error refreshing the tables of the configuration database:
    Scada.ScadaException: Unable to receive the configuration database modification time.
    bei Scada.Client.DataCache.RefreshBaseTables()
    2018-06-15 18:38:25 <HP-SERVER><DefaultAppPool><ACT> User information has been added. IP address: 127.0.0.1. Session: 5h2nvzvuesmbbumghftk20vm
    2018-06-15 18:38:33 <HP-SERVER><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-06-15 18:38:33 <HP-SERVER><DefaultAppPool><EXC> Error refreshing the tables of the configuration database:
    Scada.ScadaException: Unable to receive the configuration database modification time.
    bei Scada.Client.DataCache.RefreshBaseTables()
    2018-06-15 18:38:33 <HP-SERVER><DefaultAppPool><ERR> Unable to connect to SCADA-Server. Try again.
    2018-06-15 18:38:33 <HP-SERVER><DefaultAppPool><ERR> Unsuccessful login attempt: admin – Server is unavailable. IP address: 127.0.0.1

    “Unable to connect because the destination computer refused the connection 127.0.0.1:10000”

    #3849
    Mikhail
    Moderator

    Line 523, column 56: error CS1501: Keine Überladung für die Methode ‘GetBit’ nimmt 1-Argumente an.
    See the file C:\SCADA\ScadaServer\Log\CalcEngine.cs with the source code

    Open CalcEngine.cs and go to Line 523, column 56
    Probably you inccorctly use GetBit function.
    All the formulas from Administrator are included in CalcEngine.cs. You should fix the formula in Administrator.

    #3850
    Mikhail
    Moderator

    Server cannot start correctly, that’s why the web app doesn’t connect to it.

    #3855
    tom040264
    Participant

    I fixed the formula, and it works now. Thank you!

    #7678
    mark9966
    Participant

    Good morning,

    I have installed rapid scada on my win10 local machine and everything works. Then to have it accessible via internet i installe it on a windows server 2019 google cloud VM. When i try to login –> server is unavailable. No log file on the agent.

    How can i fix this?

    #7679
    mark9966
    Participant
    #7681
    Mikhail
    Moderator

    The Agent service doesn’t work. If you need more info, create a new topic.

    #12321
    TDE
    Participant
    #12324
    Mikhail
    Moderator

    Hi,
    The above link is not public.

    #14012
    KeanoC
    Participant

    Im experiencing a similar issue where when I try logging in to the websation it says server unavailable and the instance manager is showing that the status is not supported but I receantly migrated from 5.4.1 to v6

    #14013
    Mikhail
    Moderator

    The web app does not show its status, therefore it’s written that it is not supported. To fix the issue, check log files of the applications.

    #14017
    KeanoC
    Participant

    Error connecting to SCADA-Server: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

    This is the error I find in the logs how do I fix this?

    #14020
    Mikhail
    Moderator

    Restart SCADA-Server, then check ScadaServer.log. Copy start messages from the log here.

Viewing 15 posts - 16 through 30 (of 39 total)
  • You must be logged in to reply to this topic.