Bad Gateway / scadaweb6.service

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

Viewing 5 posts - 46 through 50 (of 50 total)
  • Author
    Posts
  • #14890
    hendra_allo
    Participant

    When I open http://localhost:10008, now comes the message “The connection was reset”. Still can’t open openscada interface yet.

    #14891
    Mikhail
    Moderator

    What do you get in ScadaWeb.log?

    #14898
    hendra_allo
    Participant

    hi Mikhail, I just sorted out the issue by observing file /var/log/scada/ScadaWeb/log/ScadaWeb.log, it said the address 0.0.0.0:10008 already used. Then I run

    sudo lsof -i tcp:10008

    and I found it was used by php. Then I killed the php process, and now ScadaWeb is running well and I can access rapidscada via the browser. Thanks for your help.

    #14899
    hendra_allo
    Participant

    024-07-05 22:12:22 [hendra-ThinkPad-X220][root][ACT] Webstation is stopped
    ——————————————————————————–
    ——————————————————————————–
    2024-07-05 22:12:32 [hendra-ThinkPad-X220][root][ACT] Webstation 6.2.0.1 started
    2024-07-05 22:12:32 [hendra-ThinkPad-X220][root][ACT] Storage FileStorage 6.2.0.0 loaded from file /opt/scada/ScadaWeb/FileStorage.dll
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Plugin PlgChart 6.0.2.0 loaded from file /opt/scada/ScadaWeb/PlgChart.dll
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Plugin PlgMain 6.0.3.1 loaded from file /opt/scada/ScadaWeb/PlgMain.dll
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Plugin PlgScheme 6.0.2.0 loaded from file /opt/scada/ScadaWeb/PlgScheme.dll
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Plugin PlgSchBasicComp 6.0.2.0 loaded from file /opt/scada/ScadaWeb/PlgSchBasicComp.dll
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Plugin PlgStore 6.0.0.0 loaded from file /opt/scada/ScadaWeb/PlgStore.dll
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Plugin PlgWebPage 6.0.2.0 loaded from file /opt/scada/ScadaWeb/PlgWebPage.dll
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Plugin PlgScheme: Retrieve scheme components from the installed plugins
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Plugin PlgScheme: Added components from the PlgSchBasicComp plugin
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] Receive the configuration database
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ACT] The configuration database has been received successfully
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][INF] The application is ready for operating
    2024-07-05 22:12:33 [hendra-ThinkPad-X220][root][ERR] Web host failed to start:
    System.IO.IOException: Failed to bind to address http://0.0.0.0:10008: address already in use.
    —> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use
    —> System.Net.Sockets.SocketException (98): Address already in use
    at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
    at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
    at System.Net.Sockets.Socket.Bind(EndPoint localEP)
    at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
    at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
    — End of inner exception stack trace —
    at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
    at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
    at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
    — End of stack trace from previous location —
    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
    — End of inner exception stack trace —
    @

    #14907
    Mikhail
    Moderator

    Thank you for providing a solution.

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