Bad Gateway / scadaweb6.service

Forum Home Forums Installation Issues SCADA-Web Installation Bad Gateway / scadaweb6.service

Viewing 15 posts - 16 through 30 (of 50 total)
  • Author
    Posts
  • #14803
    hendra_allo
    Participant

    sorry, scadaweb6.service seems still doesn’t work

    ● scadaweb6.service – Rapid SCADA Webstation
    Loaded: loaded (/etc/systemd/system/scadaweb6.service; enabled; vendor pre>
    Active: activating (auto-restart) since Fri 2024-06-28 22:10:22 NZST; 2s a>
    Process: 5152 ExecStart=/usr/bin/dotnet /opt/scada/ScadaWeb/ScadaWeb.dll –>
    Main PID: 5152 (code=exited, status=0/SUCCESS)
    CPU: 864ms

    #14805
    manjey73
    Participant

    Judging by the fact that you haven’t installed dotnet, maybe you haven’t installed nginx either?

    systemctl status nginx

    #14806
    hendra_allo
    Participant

    ● nginx.service – A high performance web server and a reverse proxy server
    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset:>
    Active: active (running) since Fri 2024-06-28 22:03:29 NZST; 13min ago
    Docs: man:nginx(8)

    #14807
    manjey73
    Participant

    Have you made a self-signed certificate for nginx as described in the readme?

    and copying the configuration for the available site ?

    #14808
    manjey73
    Participant

    5.2.
    sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crt
    5.3. Copy the nginx/default file from the distribution directory to the /etc/nginx/sites-available directory,
    after saving a backup copy of an existing file.

    #14809
    hendra_allo
    Participant

    where is nginx default file located?

    #14810
    manjey73
    Participant

    /etc/nginx/sites-available

    #14811
    manjey73
    Participant

    rapidscada_6.2.1_linux_ru\nginx\

    from the installation folder
    You will have a folder with a different language indication – en

    • This reply was modified 3 months, 2 weeks ago by manjey73.
    #14813
    Mikhail
    Moderator

    Do ScadaServer and ScadaComm work well according to their log files?

    #14814
    hendra_allo
    Participant

    I have copied the file, still bad gateway appear

    #14815
    manjey73
    Participant

    @hendra_allo It is probably necessary to look at the logs of nginx itself, Since nginx itself does not start
    /var/log/nginx/error.log

    As well as the ScadaWeb logs /var/log/scada/ScadaWeb/log/ after you solve the nginx startup problem

    #14816
    manjey73
    Participant

    Have you overloaded nginx services?

    #14817
    hendra_allo
    Participant

    Session with ID -7665733298275766740 created
    2024-06-28 23:31:02 [hendra-ThinkPad-X220][root][ACT] Client 127.0.0.1 connected
    2024-06-28 23:31:02 [hendra-ThinkPad-X220][root][ACT] User ScadaWeb is successfully authenticated
    2024-06-28 23:31:04 [hendra-ThinkPad-X220][root][ACT] Client 127.0.0.1 disconnected

    #14818
    hendra_allo
    Participant

    nginx error log (last line)

    2024/06/28 23:28:08 [error] 1235#1235: *14 recv() failed (104: Unknown error) while reading response header from upstream, client: 127.0.0.1, server: _, request: “GET /Scada/ HTTP/1.1”, upstream: “http://127.0.0.1:10008/Scada/”, host: “127.0.0.1”

    #14819
    hendra_allo
    Participant

    ScadaComm.log:

    2024-06-28 22:03:31 [hendra-ThinkPad-X220][root][ACT] Communicator 6.2.0.0 started
    2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Storage FileStorage 6.2.0.0 loaded from file /opt/scada/ScadaComm/FileStorage.dll
    2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Start logic processing
    2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Driver DrvDsScadaServer 6.0.1.1 loaded from file /opt/scada/ScadaComm/Drv/DrvDsScadaServer.Logic.dll
    2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Driver DrvSimulator 6.0.0.0 loaded from file /opt/scada/ScadaComm/Drv/DrvSimulator.Logic.dll
    2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer initialized successfully
    2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer: Receive the configuration database
    2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ERR] Data source ScadaServer: Error checking server connection:
    Connection refused [::ffff:127.0.0.1]:10000
    2024-06-28 22:03:33 [hendra-ThinkPad-X220][root][ERR] Unable to start communication lines because the configuration database is not received
    2024-06-28 22:03:43 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer: Receive the configuration database
    2024-06-28 22:03:44 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer: The configuration database has been received successfully
    2024-06-28 22:03:44 [hendra-ThinkPad-X220][root][ACT] Start communication lines
    2024-06-28 22:03:44 [hendra-ThinkPad-X220][root][ACT] Start reading commands from files
    2024-06-28 22:03:44 [hendra-ThinkPad-X220][root][ACT] Data source ScadaServer: Connection state is Logged In

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