Bug 501372 - Cannot add device manually by IPv6 address
Summary: Cannot add device manually by IPv6 address
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Android 14.x
: NOR major
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
: 503574 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-03-11 18:45 UTC by Anna Aurora
Modified: 2025-10-04 07:14 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anna Aurora 2025-03-11 18:45:29 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Adding devices manually via their IPv6 address is not possible whereas via IPv4 address, it is possible.
Neither the bare IPv6 address, not the address surrounded by square brackets work. 

STEPS TO REPRODUCE
1. Tap hamburger menu
2. Tap "Pair new device"
3. Tap 3 dots button
4. Tap "Add devices by IP"
5. Tap plus button
6. enter an IPv6 address
7. press "OK"

OBSERVED RESULT
Application reports "Host is invalid. Use a valid Hostname, IPv4 or IPv6" via toast message.

EXPECTED RESULT
A device is added with the given IPv6 address.

SOFTWARE/OS VERSIONS
Android App version is actually 1.33.1

ADDITIONAL INFORMATION
Comment 1 Anna Aurora 2025-03-11 18:47:57 UTC
This makes me unable to use KDE Connect because my home network does not allow my devices to connect to each other. Therefore i am using a Wireguard network. The wiki says if you are using a tunnel, you have to enter the IP manually, but that doesn't work because i can't enter an IPv6 and on my other device, kde connect is only listening on IPv6, not IPv4.
Comment 2 luna_kde 2025-06-20 04:54:37 UTC
*** Bug 503574 has been marked as a duplicate of this bug. ***
Comment 3 luna_kde 2025-06-20 04:57:10 UTC
I can reproduce this in Version 1.33.4
Comment 4 BryanLiang 2025-07-23 13:16:17 UTC
I can reproduce this issue in 1.33.4.
Comment 5 BryanLiang 2025-10-02 02:37:13 UTC
It seems that it is able to add ipv6 address in the latest release 1.33.5.
Comment 6 Albert Vaca Cintora 2025-10-04 07:14:12 UTC
Should be fixed indeed in 1.33.5