ement fails to connect with pantalaimon: error running timer 'plz--respond'
bug
### OS/platform
Gentoo GNU/Linux amd64
### Emacs version and provenance
GNU Emacs 30.1, installed with Portage
### Emacs command
emacs
### Emacs frame type
GUI
### Ement package version and provenance
ement 0.16, installed with M-x package-install
### Actions taken
First I connected to the server without using pantalaimon:
`M-x ement-connect RET @user:server.org <etc...>`
and the connection was successful, but naturally I could not access encrypted rooms, so I installed and started pantalaimon according to their official instructions.
### Observed results
When executing `M-: (ement-connect :uri-prefix "http://localhost:8009") RET @user:server.org` to connect to pantalaimon according to the instructions, I get this error: `Error running timer ‘plz--respond’: (ement-api-error "500: nil")`. Pantalaimon is running on port 8009.
### Expected results
The ement-connect command with the :uri-prefix argument successfully connects to pantalaimon.
### Backtrace
```elisp
Debugger entered--Lisp error: (ement-api-error "500: nil")
signal(ement-api-error ("500: nil"))
ement-api-error(#s(plz-error :curl-error nil :response #s(plz-response :version 1.1 :status 500 :headers ((content-type . "text/plain; charset=utf-8") (content-length . "174") (date . "Tue, 05 Aug 2025 17:48:19 GMT") (server . "Python/3.13 aiohttp/3.12.15")) :body "Cannot connect to host localhost:443 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 443, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 443)]") :message nil))
plz--respond(#<process plz-request-curl> #<buffer *plz-request-curl*> "finished\n")
apply(plz--respond (#<process plz-request-curl> #<buffer *plz-request-curl*> "finished\n"))
timer-event-handler([t 26770 17379 628728 nil plz--respond (#<process plz-request-curl> #<buffer *plz-request-curl*> "finished\n") nil 988000 nil])
read-from-minibuffer("Eval: " nil (keymap (10 . read--expression-try-read) (13 . read--expression-try-read) keymap (9 . completion-at-point) (27 keymap (103 keymap (27 keymap (99 . read-expression-switch-to-completions))) (9 . completion-at-point)) keymap (menu-bar keymap (minibuf "Minibuf" keymap (previous menu-item "Previous History Item" previous-history-element :help "Put previous minibuffer history element in the minibuffer") (next menu-item "Next History Item" next-history-element :help "Put next minibuffer history element in the minibuffer") (isearch-backward menu-item "Isearch History Backward" isearch-backward :help "Incrementally search minibuffer history backward") (isearch-forward menu-item "Isearch History Forward" isearch-forward :help "Incrementally search minibuffer history forward") (return menu-item "Enter" exit-minibuffer :key-sequence "\15" :help "Terminate input and exit minibuffer") (quit menu-item "Quit" abort-recursive-edit :help "Abort input and exit minibuffer") "Minibuf")) (24 keymap (down . minibuffer-complete-defaults) (up . minibuffer-complete-history)) (13 . exit-minibuffer) (10 . exit-minibuffer) (7 . minibuffer-keyboard-quit) (C-tab . file-cache-minibuffer-complete) (9 . self-insert-command) (XF86Back . previous-history-element) (up . previous-line-or-history-element) (prior . previous-history-element) (XF86Forward . next-history-element) (down . next-line-or-history-element) (next . next-history-element) (27 keymap (60 . minibuffer-beginning-of-buffer) (114 . previous-matching-history-element) (115 . next-matching-history-element) (112 . previous-history-element) (110 . next-history-element))) t read-expression-history)
read--expression("Eval: ")
byte-code("\301\302!\303\10!B\207" [current-prefix-arg read--expression "Eval: " eval-expression-get-print-arguments] 3)
call-interactively(eval-expression nil nil)
command-execute(eval-expression)
```
### Etc.
Pantalaimon configuration (using suggested defaults)
```conf
[local-matrix]
Homeserver = https://localhost:443
ListenAddress = localhost
ListenPort = 8009
```
2 条评论