The Zotero Connector was unable to communicate with the Zotero desktop

edited September 5, 2024
I couldn't get the connector connect to the main application.


I have tried the troubleshooting.
- http://127.0.0.1:23119/connector/ping is not available.

>(1)(+0000001): NS_ERROR_CONNECTION_REFUSED Exception: Component returned failure code: 0x804b000d (NS_ERROR_CONNECTION_REFUSED) [nsIServerSocket.init] Zotero.Server(3)(+0000001): Not initializing HTTP server

Debug ID D759244355

Any help please?
  • edited September 5, 2024
    I just created a new user account for my mac; and run the connector on the new account, on empty Zotero library. The same problem.
  • Restart your computer and make sure you don't have a copy of Zotero running in another user account.
  • edited September 6, 2024
    Thank you for the reply dear @dstillman.

    I restarted it a couple of times; and no other instance is running.
    I have no idea about networking. It looks like no local port is open in my mac. Or some kind of permission rule of Ventura is blocking the connector.
    This is very strange.
  • Are you running any sort of non-standard security software on your computer? This suggests that something on your computer is preventing Zotero from (to use the technical terms) binding its HTTP server to port 23119. That would almost always just mean that something else was running on port 23119, and that would almost always be another copy of Zotero.

    You should also make sure you've tried with all plugins disabled. BBT in particular can have an effect on this.

    Also, though:
    /Users/[…]/Documents/AppData/Zotero
    It looks like you've moved your Zotero data directory into Documents. If you have Desktop and Documents syncing with iCloud Drive, you have your Zotero database in a cloud storage folder, which you absolutely can't do. While that's unlikely to be causing this particular problem, we can't provide any support here as long as you have Zotero set up that way. If you have Desktop and Documents syncing on, you'll need to move the data directory back to the default location.
  • edited September 6, 2024
    >If you have Desktop and Documents syncing with iCloud Drive
    Thank you for warning me. I am not syncing my data to the cloud.

    I tried different commands to see if any app is using the port.

    lsof -n -i4TCP:23119
    lsof -n -i TCP:23119 | grep LISTEN
    lsof -n -i:23119 | grep LISTEN
    netstat -ap tcp | grep -i "23119"

    But, i get no return. There is also a mac application known as PortMonitor which shows all the ports in use. But, port 23119 nowhere listed or occupied. Disabling the plugins doesn't also seem to work.
  • There are actually two different servers involved here (the other one being for LibreOffice integration), and both are failing to bind. I'm afraid you'll need to debug this on your end — this would have to be something on your system interfering with Zotero's ability to open these ports.

    You can try a different port number by searching for "httpserver" in the Config Editor in the Advanced pane of the settings, just to see if it actually binds on a different (high) port, but I'd guess that there's some more general problem on your system.
  • Thank you for the insight dear.
    >I'd guess that there's some more general problem on your system

    I agree. I am also suspecting that.
Sign In or Register to comment.