Subject: Re: bug#48905: 28.0.50; list-packages fails trying to contact an internal server

From: Lars Ingebrigtsen <[email-masked]>
Date: Tue, 08 Jun 2021 14:07:33 +0200

Steingold <[email-masked]> writes:

> I get this error on M-x list-packages:
>
> Debugger entered--Lisp error: (error "ip-10-0-37-237.ec2.internal/8081 nodename nor serv...")
>   signal(error ("ip-10-0-37-237.ec2.internal/8081 nodename nor serv..."))
>   package--with-response-buffer-1("https://elpa.gnu.org/packages/" #f(compiled-function () #<bytecode 0x185414f4e5c4fd07>) :file "archive-contents" :async t :error-function #f(compiled-function () #<bytecode -0x1a9d4fb09851cb13>) :noerror nil)

[...]

> ip-10-0-37-237.ec2.internal is an internal server that is not available
> ATM and has nothing to do with emacs packages (it's a jupyter server
> accessed by ein).

Very odd -- it sounds like `package--with-response-buffer-1' is possibly
working in the wrong buffer or something along those lines?

To debug, could you try `e (current-buffer) RET' to see what the buffer
is at this point?  And could you also try loading and uncompiled
package.el to get a more detailed backtrace?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no