Bug 447318 - KDEconnect v1.18.0 on Android12: TCP connection closing on TCPport 1716 stuck in TCP state FIN_WAIT2
Summary: KDEconnect v1.18.0 on Android12: TCP connection closing on TCPport 1716 stuck...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Android 11.x
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-21 07:07 UTC by Riegler Bernhard
Modified: 2021-12-21 07:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screenshot of wireshark and "netstat -anct" (161.18 KB, image/png)
2021-12-21 07:07 UTC, Riegler Bernhard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Riegler Bernhard 2021-12-21 07:07:47 UTC
Created attachment 144740 [details]
screenshot of wireshark and "netstat -anct"

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. on Linux side: start server process listening on TCPport 1716 (GSconnect package)
2. a valid TCP connection is established, wait for TCP-keep-alive.
3. on Linux side: stop server process on TCPport 1716

OBSERVED RESULT with wireshark and netstat (on Linux side)
  Linux side: server is sending TLS Alert
  Linux side: server is sending TCP FIN, ACK
  Android side: client just sends ACK, but no FIN (this is the BUG reported)
  Linux side: TCP state is stuck in "FIN_WAIT2"

EXPECTED RESULT
  Android side: client process should send a TCP FIN and terminate its direction.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 20.04LTS with GSconnect
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
the Android side is IPv4 address 10.0.0.4
see attached file for wireshark and "netstat -anct" in Linux