Brave browser: Zotero Connector cannot contact Zotero desktop app
[Edit: This is now is fixed in Brave 1.21.74. — D.S.]
Hello,
When I try to use Zotero connector in the Brave browser, I get the error message "Is Zotero running?"
I've completed the following debugging steps:
- Zotero desktop app is installed
- Can load "http://127.0.0.1:23119/connector/ping" -> I get "Zotero Connector Server is Available"
- Zotero connector works on a different browser (Firefox)
- Disabling all other extensions did not help
Furthermore, I've logged the errors via the Advanced Settings and saw
```
(3)(+0000001): HTTP POST http://127.0.0.1:23119/connector/ping
(3)(+0000016): Connector: Method ping failed with status 0
```
which seems weird to me since loading the URL worked.
The docs [1] mention "whitelist 127.0.0.1 port 23119 in the extension's settings" but I did not find any such option in the extension's settings.
Could you help me with figuring out where I went wrong? :)
Thanks much for your answer in advance.
[1] https://www.zotero.org/support/kb/connector_zotero_unavailable
Hello,
When I try to use Zotero connector in the Brave browser, I get the error message "Is Zotero running?"
I've completed the following debugging steps:
- Zotero desktop app is installed
- Can load "http://127.0.0.1:23119/connector/ping" -> I get "Zotero Connector Server is Available"
- Zotero connector works on a different browser (Firefox)
- Disabling all other extensions did not help
Furthermore, I've logged the errors via the Advanced Settings and saw
```
(3)(+0000001): HTTP POST http://127.0.0.1:23119/connector/ping
(3)(+0000016): Connector: Method ping failed with status 0
```
which seems weird to me since loading the URL worked.
The docs [1] mention "whitelist 127.0.0.1 port 23119 in the extension's settings" but I did not find any such option in the extension's settings.
Could you help me with figuring out where I went wrong? :)
Thanks much for your answer in advance.
[1] https://www.zotero.org/support/kb/connector_zotero_unavailable
Is Zotero Running?
The Zotero Connector was unable to communicate with the Zotero desktop application. Zotero must be open to use web-based citing.
I posted to the Brave forum here in case you want to watch or chime in: https://community.brave.com/t/zotero-connecter-broken/212410
[JavaScript Error: "TypeError: Cannot read property 'length' of undefined
at Object._updateExtensionUI (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:518:30)
at onNavigation (chrome-extension://ekhagklcjbdpajgpjgmbionohlpdbjgc/background.js:900:29)"]
(Disabling all of your other extensions would be the first thing to try, if you haven't yet.)
I am able to load the URL to port 23119 (as suggested on the Troubleshooting page) but wasn't able to actually connect to Zotero...
(I've tried disabling all other extensions, etc.)
https://a.cl.ly/E0u9OnDm
https://a.cl.ly/7KupNLYQ
https://a.cl.ly/rRukA74P
I disabled only one setting in the options and it worked again, it was this on
'Trackers & ads blocking' to 'Disabled'
IT IS WORKING AGAIN.
This seems to be a general problem with Brave and the simple following manip worked out wonderfully for me:
--> In options : TOGGLE 'Trackers & ads blocking' to 'Disabled'
IT IS WORKING AGAIN.
I found a solution! Go to brave://adblock and enter @@127.0.0.1:23119 into custom filters. This whitelists localhost port 23119, [which is the one Zotero uses](https://www.zotero.org/support/kb/connector_zotero_unavailable).
I adapted this solution from [here](https://community.brave.com/t/brave-shield-blocking-enpass-extension/212460), another extension had the same problem.
For others, you can also access the menu where you add the custom filter by clicking the right hamburger menu, and selecting "Brave Ad Block".