Forum Home › Forums › Installation Issues › SCADA-Web Installation › Bad Gateway / scadaweb6.service
- This topic has 49 replies, 5 voices, and was last updated 3 months, 1 week ago by Mikhail.
-
AuthorPosts
-
July 5, 2024 at 7:42 am #14890hendra_alloParticipant
When I open http://localhost:10008, now comes the message “The connection was reset”. Still can’t open openscada interface yet.
July 5, 2024 at 10:09 am #14891MikhailModeratorWhat do you get in ScadaWeb.log?
July 5, 2024 at 10:45 am #14898hendra_alloParticipanthi 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.
July 5, 2024 at 11:09 am #14899hendra_alloParticipant024-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 —
@July 8, 2024 at 9:21 am #14907MikhailModeratorThank you for providing a solution.
-
AuthorPosts
- You must be logged in to reply to this topic.