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

[Feature] Add socks5 or http proxy support #3475

Open
villivateur opened this issue Nov 11, 2021 · 2 comments
Open

[Feature] Add socks5 or http proxy support #3475

villivateur opened this issue Nov 11, 2021 · 2 comments
Labels
Core (ckan.dll) Issues affecting the core part of CKAN Enhancement New features or functionality i18n Issues regarding the internationalization of CKAN and PRs that need translating Network Issues affecting internet connections of CKAN

Comments

@villivateur
Copy link

Problem

Sometimes we have no Internet access and need proxy to download from GitHub or mod providers. Especially in China.

Suggestions

Please allow us to add proxy settings in ckan setting. So we can use proxy to download files.

Thank you.

@DasSkelett DasSkelett added Core (ckan.dll) Issues affecting the core part of CKAN Enhancement New features or functionality Network Issues affecting internet connections of CKAN labels Nov 11, 2021
@DasSkelett
Copy link
Member

DasSkelett commented Nov 11, 2021

Did you already try setting a proxy through the system settings? According to the .NET docs, the WebClient class, which we use for downloads, should automatically make use of it:

The proxy is set by the system using configuration files and the Internet Explorer Local Area Network settings.
For information on automatic proxy detection, see Automatic Proxy Detection.

https://docs.microsoft.com/en-us/dotnet/api/system.net.webclient.proxy?view=netframework-4.5#System_Net_WebClient_Proxy

I assume you are on Windows?

@villivateur
Copy link
Author

Did you already try setting a proxy through the system settings? According to the .NET docs, the WebClient class, which we use for downloads, should automatically make use of it:

The proxy is set by the system using configuration files and the Internet Explorer Local Area Network settings.
For information on automatic proxy detection, see Automatic Proxy Detection.

https://docs.microsoft.com/en-us/dotnet/api/system.net.webclient.proxy?view=netframework-4.5#System_Net_WebClient_Proxy

I assume you are on Windows?

Thank you for your reply. But I only want ckan to use proxy, not all applications on my Windows.

@HebaruSan HebaruSan added the i18n Issues regarding the internationalization of CKAN and PRs that need translating label Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core (ckan.dll) Issues affecting the core part of CKAN Enhancement New features or functionality i18n Issues regarding the internationalization of CKAN and PRs that need translating Network Issues affecting internet connections of CKAN
Projects
None yet
Development

No branches or pull requests

3 participants