Open mitohund opened 2 years ago
Update to KeePassXC 2.7.4 and try again.
With 2.7.4 the situation is slightly better, but not solved: KeePassXC-Browser still does not offer login details, but at least the connection to KeePassXC does not seem to be broken anymore (I can still log into other website without having to restart Firefox).
Make sure your urls are correct with the right port numbers. You might also need to define custom fields through the extension.
All URLs/IPs and port numbers were correct. I also defined custom fields. Still didn't work. I ended up setting up URLs (subdomain.domain.tld) for all my self-hosted services and only exposed them within my private network. KeePassXC works fine now. The underlying issue however is not resolved.
I could not reproduce this. I used a local Python HTTP and HTTPS server. With HTTP the URL was http://127.0.0.1:8000
and the credentials worked normally. Same with the HTTPS server with URL https://127.0.0.1:8443
.
Maybe it helps, maybe not related but I just tried with a connection to the local IP (without port suffix) of my "FritzBox" DSL router:
For me, if the URL entry in KeePass XC is ...
@mitohund Is it possible that your site does not work with https but it does with http? I found out with (using your IP now): curl -I https://192.168.1.50:1234/ and curl -I http://192.168.1.50:1234/
(In my case the curl command successfully returned response 200 OK for HTTP but for HTTPS I got curl: (60) SSL certificate problem: self-signed certificate.)
Expected Behavior
I selfhost various services that I access via their IP addresses & ports, e.g. 192.168.1.50:1234. I just switched to KeePassXC on Debian Linux from KeePass on Windows, where IP addresses worked flawlessly.
Current Behavior
I see some regularities, but not entirely. If the URL field contains an IP address including https:// prefix, then this always leads to a broken connection. -> tl;dr: https://192.168.1.50:1234 never seems to work
If it's just the IP address including port, this works most of the time (even though it still leads to an https connection), but not always. Selfhosted Portainer and Adguard Home work fine, Nginx Proxy Manager does not. -> tl;dr: 192.168.1.50:1234 works with some services
Possible Solution
Steps to Reproduce (for bugs)
Debug info
KeePassXC - 2.7.3 KeePassXC-Browser - 1.8.3.1 Operating system: Debian Linux Unstable / Sid Browser: Firefox