KeePassRPC could not start listening for connections

  • Keepass 2.48.1
  • Kee Firefox 3.9.5
  • Firefox 88.0.1
  • Windows 10 Pro 20H2 19042.985 x64
  • KeePassRPC 1.14.0

Today after a Windows update and Keepass update Kee starting giving me this error on launch of Keepass:
image
Note the port is different from the standard port as I was changing it in the KeePass.config.xml in AppData/Roaming to see if it was simply a port in use issue but I guess it isn’t.
I’ve tried restarting Windows, reinstalling the plugin (clearing cache, cleared xml custom fields), adding a firewall rule, and am still getting the error.

Exact same problem here… any solution ?

The port has to be changed on 2 places, no need to fiddle around in files).

  1. in KeePass / Tools / KeePassRPC (KeeOptions)
  2. In Firefox in the Kee addon options under Advanced

I’m sorry to excavate this thread. I have a similar issue… I am using KeePass - KeePassPRC won’t load. I cleared my plugins cache, got the plugin-file from another PC (same versions, same setup). But the plugin won’t load. The error is pretty the same. Other plugins are beeing loaded correctly. Not KeePassRPC - so there’s even no chance to go to any settings.
The port is set correctly on the browsers end.


Any idea?

edit: it just stopped working out of nowhere. I am not aware of any updates/changes.

Make sure there is only one KeePassRPC.plgx file being loaded; make sure only one instance of KeePass running; maybe restart Windows as an easy way to clear out any listening ports.

Failing that, look into what process is listening on the required port and experiment with changing the configured port for KeePassRPC.

thanks for the quick reply. I doublechecked, but I already restarted my PC and checked if there are the correct plugin-files and checked for processes.
There is only that single KeePassRPC.plgx (no renamed variations available). Only one session logged in and no more KeePass-processes running.

Not sure how I should play with the plugins port settings since I cannot load it.
(I tried to change just in Firefox, but as expected, no change)

how should I watch out for listening ports? netstat doesn’t show anything on 12546.

This is a windows issue with hyper-v. On boot, hyper-v will reserve a whole bunch of ports and it will change that list on boot. WSL uses hyper-v.

that doesn’t solve it for me. We’ve disabled/removed Hyper-V completely (for other reasons) and there is no other hypervisor running on my pc.
I just checked my software install history, features and running services - must be something else.