Server is unavailable

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #6535
    colin60
    Participant

    Hi
    I have installed RapidScada on Raspberry pi 3.
    Using Raspbian9 and Mono 6.8.0.105
    When trying to connect on Chromium using localhost/scada, using admin / 12345 the RapidScada message box returns “Server is unavailable”
    The ScadaServerSvc.log shows:
    ——————————————————————————–
    2020-02-17 20:29:35 <raspberrypi><root><ACT> ScadaServerService 5.1.3.0 is started
    2020-02-17 20:29:36 <raspberrypi><root><ACT> Check the existence of the data directories is completed successfully
    2020-02-17 20:29:36 <raspberrypi><root><ACT> Check the existence of the configuration database files is completed successfully
    2020-02-17 20:29:37 <raspberrypi><root><ACT> Input channels are read from the configuration database. Active channel count: 5
    2020-02-17 20:29:37 <raspberrypi><root><ACT> Ouput channels are read from the configuration database
    2020-02-17 20:29:37 <raspberrypi><root><ACT> Users are read from the configuration database
    2020-02-17 20:29:37 <raspberrypi><root><ACT> Formulas are read from the configuration database
    2020-02-17 20:29:41 <raspberrypi><root><ACT> The formulas source code has been compiled
    2020-02-17 20:29:41 <raspberrypi><root><ACT> Connection listener is started
    2020-02-17 20:29:41 <raspberrypi><root><ACT> Start server
    2020-02-17 20:29:41 <raspberrypi><root><ACT> Current data are not loaded
    2020-02-17 20:29:48 <raspberrypi><root><ACT> Connect to client 127.0.0.1
    2020-02-17 20:29:48 <raspberrypi><root><ACT> The user ScadaComm is successfully authenticated
    2020-02-17 20:34:54 <raspberrypi><root><ACT> Connect to client 127.0.0.1
    2020-02-17 20:34:54 <raspberrypi><root><ACT> Unsuccessful attempt to authenticate the user
    2020-02-17 20:34:54 <raspberrypi><root><ACT> Disconnect client 127.0.0.1
    2020-02-17 20:35:05 <raspberrypi><root><ACT> Connect to client 127.0.0.1
    2020-02-17 20:35:05 <raspberrypi><root><ACT> Unsuccessful attempt to authenticate the user
    2020-02-17 20:35:05 <raspberrypi><root><ACT> Disconnect client 127.0.0.1

    It looks like it cannot authenticate.
    Any suggestions on further tests or solutions?
    Thanks.

    #6538
    Mikhail
    Moderator

    Hi,
    There should be 2 connections to SCADA-Server, by the users ScadaComm and ScadaWeb.
    Please check what is written in ScadaServerSvc.txt about active connections.
    Also check ScadaCommSvc.log and ScadaWeb.log

    #6539
    colin60
    Participant

    Hi Mikhail
    I found an error in the log:
    error loading web application settings: File/var/www/html/scada/config/websetting.xml

    There was no /config/.

    Also noticed that /opt/scada/ScadaWeb had infinite directories, that is:
    /opt/scada/ScadaWeb/ScadaWeb/ScadaWeb on so on.
    I removed the ScadaWeb directories (first used sudo umount -l as the directories were locked)
    Then copied the files into the /opt/scada folder again and re-installed.
    Now everything works…

    Thank you for your help.

    #6540
    Mikhail
    Moderator

    Hi,

    Also noticed that /opt/scada/ScadaWeb had infinite directories

    Haven’t faced this before.

    #6543
    hethongscada62
    Participant

    Dear Mr.Mikhail,
    My Demo project was working very very well. I can login to Web every where by Username: admin, password: 12345. That seems is unsafe so the password:12345 was changed by another but i can not upload. Returns to old password 12345, can not upload. And now i can not login to Web too. Some screenshots here:
    https://ibb.co/tMYW4rp
    https://ibb.co/VM1QyML
    https://ibb.co/t3BPq6P
    How will i do now, could you help me?
    Thanks and best regards
    Han hoang

    #6544
    Mikhail
    Moderator

    Hello,
    Please check what user name and password are specified in the deployment profile options.

    #6545
    hethongscada62
    Participant

    Dear Mr. Mikhail,
    My Demo project was repaired but not completely. I can login to web, every thing that seems is running OK except processing a upload configuration. I can not upload configuration. I checked an Instance Status that shows: “Unable to login – Invalid username or password”, “Unable to create session”.
    What is wrong with Instance Default?
    https://ibb.co/hm0Pp72
    Could you show me again how i have to do?
    Thanks and best regards
    Han Hoang

    #6546
    hethongscada62
    Participant

    Dear Mr. Mikhail,
    I want to notice that i created many projects in “Demo Project”.
    https://ibb.co/CQLm2tP
    The only one project that was changed password and the “secret key” Button was clicked can not upload configuration. The remain projects can upload normally.
    Why, i don’t understand?
    Pls help me.
    Thanks and best regards
    Han Hoang

    #6550
    Mikhail
    Moderator

    You should provide screenshots of the Interface table and of the deployment profile.

    #8329
    percy011
    Participant

    error uploading configuration : unable to login – Error validating user

    #8335
    Mikhail
    Moderator
Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.