I’m puzzled. Whenever I do a package-refresh-contents or whenever I try to launch mastodon.el (M-x mastodon) my #emacs hangs. package-refresh-contents only shows ‘Contacting host: elpa.gnu.org:443’ and doesn’t do much more. I have to ctlr-g to break out or wait a couple of minutes before emacs says that the package refresh is done. mastodon.el is a different beast. After a wait I get ‘Wrong type argument: stringp, nil’.

Thing is, this does not happen when I’m on the vpn for work!

My two other computers at home experience the exact same issue. These two don’t have any vpn software installed, just plain debian. The computer with the vpn is a Windows 10 with WSL2 running debian as well. I use cntlm when on the vpn and I set my proxy accordingly. On my plain debian home boxes I don’t use any proxy. I use the same .emacs file on all three machines.

Was it a debian apt-get update that did this to me? I have no idea. Anyone here with a similar issue?

  • johlaeOPB
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    No error messages during start up, that’s the confusing thing. I have been using this configuration for months without any trouble at all. I set mastodon-instance-url and mastodon-active-user in my .emacs file. As I said before, when on my companies vpn it works without a glitch. Without the vpn I get a ‘Wrong type argument: stringp, nil’.