[GH-ISSUE #6368] Please add socks5 proxy func to download models !Because the internet in China is not accessible #3999

Closed
opened 2026-04-12 14:52:24 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @icetech233 on GitHub (Aug 15, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6368

Please add socks5 proxy func to download models !Because the internet in China is not accessible

Originally created by @icetech233 on GitHub (Aug 15, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6368 Please add socks5 proxy func to download models !Because the internet in China is not accessible
GiteaMirror added the feature request label 2026-04-12 14:52:24 -05:00
Author
Owner

@mxyng commented on GitHub (Aug 15, 2024):

Ollama uses any proxy setting set in the environment, specifically HTTPS_PROXY. For socks5, use something like this HTTPS_PROXY=socks5://proxy_address:proxy_ort

<!-- gh-comment-id:2292161492 --> @mxyng commented on GitHub (Aug 15, 2024): Ollama uses any proxy setting set in the environment, specifically `HTTPS_PROXY`. For socks5, use something like this `HTTPS_PROXY=socks5://proxy_address:proxy_ort`
Author
Owner

@icetech233 commented on GitHub (Aug 21, 2024):

thanks

<!-- gh-comment-id:2300635283 --> @icetech233 commented on GitHub (Aug 21, 2024): thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#3999