Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage does not close gracefully #103

Open
Zykino opened this issue Aug 15, 2022 · 0 comments
Open

AppImage does not close gracefully #103

Zykino opened this issue Aug 15, 2022 · 0 comments

Comments

@Zykino
Copy link

Zykino commented Aug 15, 2022

Start the AppImage from a cli in your terminal.
Close the server’s AppImage, get this log

août 15, 2022 4:28:11 PM com.stream_pi.server.connection.ClientConnection sendMessage
INFOS: ... Done!
[WebSocketClient@2063271242-125] INFO net.twasi.obsremotejava.OBSCommunicator - Connection closed: 1001 - Server stopping

août 15, 2022 8:34:43 PM com.stream_pi.server.controller.Controller onQuitApp
INFOS: Shutting down ...
août 15, 2022 8:34:43 PM com.stream_pi.server.config.Config save
INFOS: Saving config ...
août 15, 2022 8:34:43 PM com.stream_pi.server.config.Config save
INFOS: ... Done!
août 15, 2022 8:34:43 PM com.stream_pi.server.connection.MainServer stopListeningForConnections
INFOS: Stopping listening for connections ...
août 15, 2022 8:34:43 PM com.stream_pi.server.connection.MainServer stopListeningForConnections
INFOS: ... Done!
java.net.SocketException: Socket closed
        at java.base/sun.nio.ch.NioSocketImpl.endAccept(Unknown Source)
        at java.base/sun.nio.ch.NioSocketImpl.accept(Unknown Source)
        at java.base/java.net.ServerSocket.implAccept(Unknown Source)
        at java.base/java.net.ServerSocket.platformImplAccept(Unknown Source)
        at java.base/java.net.ServerSocket.implAccept(Unknown Source)
        at java.base/java.net.ServerSocket.implAccept(Unknown Source)
        at java.base/java.net.ServerSocket.accept(Unknown Source)
        at com.stream_pi.server.connection.MainServer.run(MainServer.java:113)
août 15, 2022 8:34:43 PM com.stream_pi.server.connection.ClientConnection exit
INFOS: Stopping ...
août 15, 2022 8:34:43 PM com.stream_pi.server.connection.ClientConnection exit
INFOS: Stopping connection /192.168.1.52:40428
août 15, 2022 8:34:43 PM com.stream_pi.server.connection.ClientConnection disconnect
INFOS: Sending client disconnect message ...
août 15, 2022 8:34:43 PM com.stream_pi.server.connection.ClientConnection sendMessage
INFOS: Sending message with heading disconnect ...
août 15, 2022 8:34:43 PM com.stream_pi.server.connection.ClientConnection sendMessage
INFOS: ... Done!
août 15, 2022 8:34:43 PM com.stream_pi.server.connection.ClientConnection run
GRAVE: Socket closed
java.net.SocketException: Socket closed
        at java.base/sun.nio.ch.NioSocketImpl.endRead(Unknown Source)
        at java.base/sun.nio.ch.NioSocketImpl.implRead(Unknown Source)
        at java.base/sun.nio.ch.NioSocketImpl.read(Unknown Source)
        at java.base/sun.nio.ch.NioSocketImpl$1.read(Unknown Source)
        at java.base/java.net.Socket$SocketInputStream.read(Unknown Source)
        at java.base/java.net.Socket$SocketInputStream.read(Unknown Source)
        at java.base/java.io.ObjectInputStream$PeekInputStream.peek(Unknown Source)
        at java.base/java.io.ObjectInputStream$BlockDataInputStream.peek(Unknown Source)
        at java.base/java.io.ObjectInputStream$BlockDataInputStream.peekByte(Unknown Source)
        at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)
        at java.base/java.io.ObjectInputStream.readObject(Unknown Source)
        at java.base/java.io.ObjectInputStream.readObject(Unknown Source)
        at com.stream_pi.server.connection.ClientConnection.run(ClientConnection.java:277)
août 15, 2022 8:34:43 PM com.stream_pi.server.window.dashboard.DashboardBase newSelectedClientConnection
INFOS: Remove action grid
août 15, 2022 8:34:43 PM com.stream_pi.server.window.settings.ClientsSettings loadData
INFOS: Loading client data into ClientsSettings ...
août 15, 2022 8:34:43 PM com.stream_pi.server.window.settings.ClientsSettings loadData
INFOS: ... Done!
QuantumRenderer: shutdown

After the last lines, I do not have my terminal back. I need to Ctrl + C to send a sigint and get my shell back.

On Pop-Os, with alacritty 0.10.1-rc1 and fish, version 3.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant