zotxt icon indicating copy to clipboard operation
zotxt copied to clipboard

endpoint not found(6.0.2)

Open cntommy opened this issue 2 years ago • 1 comments

When I use "C-c " i" command in emacs, an error occur Caught error: (error http 500) [error] request--callback: peculiar error: 500 [error] request-default-error-callback: http://127.0.0.1:23119/zotxt/version error deferred error : (error "Zotxt version endpoint not found; is Zotero running and zotxt installed?") After using zotero debugging and searching the logs for zotxt, I only found zotero(5)(+0089958): GET /zotxt/version HTTP/1.1 Host: 127.0.0.1:23119 User-Agent: curl/7.78.0 Accept: */* Besides, when I execute "C-c " i" in emacs, there is no response in the zotero [debugging] terminal, but "$ curl http://127.0.0.1:23119/zotxt/version" get response: { "version": "6.0.2" }% "$curl 'http://localhost:23119/zotxt/search?q={word_for_query}&format=bibliography'" also get a correct response. I wonder how to solve this, thanks!

environment: macos Monterey 12.6 (21G115)=> Emacs Version 28.2 (9.0)=> zotero 6.0.15

cntommy avatar Oct 18 '22 06:10 cntommy

I think I should have found the reason, I turn on proxy before opening emacs $export http_proxy=http://127.0.0.1:1087;export https_proxy=http://127.0.0.1:1087; $emacs but I still don't know why this can affect zotxt

cntommy avatar Oct 18 '22 07:10 cntommy