Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

straight.el cannot download packages using http proxy. #1957

Closed
nasoundead opened this issue Oct 26, 2019 · 3 comments
Closed

straight.el cannot download packages using http proxy. #1957

nasoundead opened this issue Oct 26, 2019 · 3 comments
Labels
is:support A request for user support: questions, how-to's, and discussions re:packages Pertains to package & dependency management status:resolved Issue was addressed internally

Comments

@nasoundead
Copy link

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
@hlissner
Copy link
Member

hlissner commented Oct 26, 2019

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

[url "ssh://git@github.com/"]
    insteadOf = https://github.com/
[url "ssh://git@gitlab.com/"]
    insteadOf = https://gitlab.com/

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

@hlissner hlissner added the status:unconfirmed Still under investigation. label Oct 26, 2019
@hlissner hlissner changed the title straint.el cannot download packages using http proxy. straight.el cannot download packages using http proxy. Oct 26, 2019
@hlissner hlissner added the re:packages Pertains to package & dependency management label Oct 26, 2019
@hlissner
Copy link
Member

hlissner commented Oct 26, 2019

Oh, straight itself is installed through https. I'll look into fixing that. For now, you'll have to install straight directly: #1766 (comment), then the packages should install fine.

@nasoundead
Copy link
Author

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

@hlissner hlissner added is:support A request for user support: questions, how-to's, and discussions status:resolved Issue was addressed internally and removed status:unconfirmed Still under investigation. labels Oct 26, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
is:support A request for user support: questions, how-to's, and discussions re:packages Pertains to package & dependency management status:resolved Issue was addressed internally
Projects
None yet
Development

No branches or pull requests

2 participants