Doom-emacs: straight.el cannot download packages using http proxy.

Created on 26 Oct 2019  ·  3Comments  ·  Source: hlissner/doom-emacs

Only http/https proxy configed in my company's office environment.
Straint.el using git:// or ssh:// protocal to interact with github?
Is there a way to config to use http:// protocal ? I don't want to config another proxy like ssh.

System information


~/.emacs.d/bin/doom quickstart info
Using a proxy for https...
Bootstrapping straight.el...
no other print here

question packages resolved

All 3 comments

Straight uses https, not http. Maybe you have something like this in ~/.git/config?

[url "ssh://[email protected]/"]
    insteadOf = https://github.com/
[url "ssh://[email protected]/"]
    insteadOf = https://gitlab.com/

Or have you changed straight-vc-git-default-protocol (default value: 'https)?

Oh, straight itself is installed through https. I'll look into fixing that. For now, you'll have to install straight directly: https://github.com/hlissner/doom-emacs/issues/1766#issuecomment-529272636, then the packages should install fine.

@hlissner Thanks! For now it works after cloned 'straint.el' manually.

Was this page helpful?
0 / 5 - 0 ratings