Created attachment 128254 [details] Check the "You're not connected to a WiFi" message SUMMARY Android and Plasma is not communicating on phone's portable WiFi HOTSPOT STEPS TO REPRODUCE 1. Turn on portable WiFi hotspot feature on your android device. 2. Connect your KDE Plasma device to the android's WiFi hotspot. 3. Open up kde Connect on android device and you will see the message. "You're not connected to a WiFi network, so you may not be able to see any devices. Click here to enable Wi-Fi" OBSERVED RESULT Linux host and android client do not communicate on portable WiFi hotspot but instead work on WiFi. EXPECTED RESULT Both should communicate on external WiFi device as well as using portable WiFi hotspot just like in previous version of KDE Connect Android. Android Versions: KDE Connect: 1.14.2 Android: 8.1.0 (Oreo) Kernel: 3.10.73-g309d642 Device: Nexus 6P SOFTWARE/OS VERSIONS Kernel: 5.3.0-51-generic Linux/KDE neon: 5.18 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.69.0 Qt Version: 5.14.2 ADDITIONAL INFORMATION
(In reply to Durrani from comment #0) > Created attachment 128254 [details] > Check the "You're not connected to a WiFi" message > > SUMMARY > Android and Plasma is not communicating on phone's portable WiFi HOTSPOT > > STEPS TO REPRODUCE > 1. Turn on portable WiFi hotspot feature on your android device. > 2. Connect your KDE Plasma device to the android's WiFi hotspot. > 3. Open up kde Connect on android device and you will see the message. > "You're not connected to a WiFi network, so you may not be able to see any > devices. Click here to enable Wi-Fi" > > > OBSERVED RESULT > Linux host and android client do not communicate on portable WiFi hotspot > but instead work on WiFi. > > EXPECTED RESULT > Both should communicate on external WiFi device as well as using portable > WiFi hotspot just like in previous version of KDE Connect Android. > > Android Versions: > KDE Connect: 1.14.2 > Android: 8.1.0 (Oreo) > Kernel: 3.10.73-g309d642 > Device: Nexus 6P > > SOFTWARE/OS VERSIONS > Kernel: 5.3.0-51-generic > Linux/KDE neon: 5.18 > KDE Plasma Version: 5.18.5 > KDE Frameworks Version: 5.69.0 > Qt Version: 5.14.2 > > > ADDITIONAL INFORMATION What happens on the desktop side? Can you see your device from the kdeconnect desktop app? This seems weird. KDEConnect works from phone hotspot as well.
On desktop it says, no paired devices available.
(In reply to Durrani from comment #2) > On desktop it says, no paired devices available. Can you add your desktop IP in phone manually? Does it work?
Okay, For some reason it started working. May be the plasma or the app got updated. I didn't noticed when did this happen as my systems are daily auto updated.
"You're not connected to a WiFi network" also happens to me on the KDE Connect application. This does _not_ happen when the Android is connected using USB tethering, only on WiFi tethering. Another KDE Connect Android can connect to the desktop, but the KDE Connect on the WiFi broadcasting / hotspotting phone cannot connect, showing the aforementioned error message. Tried adding desktop IP address to the mobile app, it's on the custom device list, it still doesn't not work after refreshing (same "you're not connected to a WiFi network" message. Issue is replicated when the WiFi broadcasting phone is switched. KDE Connect version: 1.4.0 (desktop client) KDE Connect Android version: 1.14.2 (Android 9, Xiaomi Mi6 and Android 10, Samsung Note 20)
I've checked the source code at https://invent.kde.org/network/kdeconnect-android Upon quick text search, I didn't found any reference to WIFI_AP_STATE string, and the manifest does not include <action android:name="android.net.wifi.WIFI_AP_STATE_CHANGED" /> receiver. This almost certainly tells that the android app isn't detecting status of WiFi hotspot, thus disabling the service as if the phone is not connected to wifi at all. Sorry I have no Android/Java background, I wish I can help further... (just a flutter beginner here)
On my side I have no success with any type of thertering/hotspot - Wi-Fi, Bluetooth or USB MIUI version 12.0.5.0 (Android 10) KDE connect: 1.29.0 (android app); kdeconnect-kde-23.04.1-1.mga9
Seems the same issue as in bug 450101
And also seems the same issue as in 451154
Now, really, this is a major usability impairment, since it makes it impossible to make the PC and mobile phone communicate when your only option to connect the PC to the internet is the mobile phone! In this context, KDE connect would also be useful to display the quality of the mobile phone connection to the network.
*** Bug 450101 has been marked as a duplicate of this bug. ***
*** Bug 476359 has been marked as a duplicate of this bug. ***
*** Bug 462790 has been marked as a duplicate of this bug. ***
*** Bug 451154 has been marked as a duplicate of this bug. ***