Skip to content

Commit 525adef

Browse files
authored
Merge pull request #1286 from mark-i-m/patch-2
Add a quick troubleshooting tip to the README
2 parents 444983e + cba695a commit 525adef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,12 @@ If you need a more complex setup, rustup supports the convention used by
500500
the __curl__ program, documented in the ENVIRONMENT section of
501501
[its manual page][curlman].
502502

503+
Note that some versions of `libcurl` apparently require you to drop the
504+
`http://` or `https://` prefix in environment variables. For example,
505+
`export http_proxy=proxy.example.com:1080` (and likewise for HTTPS).
506+
If you are getting an SSL `unknown protocol` error from `rustup` via `libcurl`
507+
but the command-line `curl` command works fine, this may be the problem.
508+
503509
[curlman]: https://curl.haxx.se/docs/manpage.html
504510

505511

0 commit comments

Comments
 (0)