Issue
When the end user attempts to download a project from the Git repository using the download button from Studio Pro button in Sprintr, the error below might appear:
LibGit2Sharp.LibGit2SharpException: failed to send request: The server name or server address could not be processed.Environment
Applications hosted in any deployment type
Cause
Studio Pro communicates to Git repositories by two means: LibGit2 library or Git command line interface (Git CLI).
LibGit2Sharp is a managed .NET wrapper for the native LibGit2 library, which allows interaction between Studio Pro and Git repositories.
The error above indicates that something is wrong with network communication, possibly due to incorrect proxy settings. This could happen for various reasons, such as changing network environments or residual proxy configurations from a VPN or other software.
Solution/Workaround
Check if the end-user is working behind a proxy setting, you can run the below command in the command prompt (it requires administrator access in the system)
netsh.exe winhttp show proxy It will show the proxy details if the system has one, or Direct access(no proxy server) if the system has no proxy setting configured.
If there is a proxy setting configured (this could happen if a proxy is being used in company network, but not in a home network), then the proxy settings can be reset in the system by running the command below:
netsh.exe winhttp reset proxyThis command effectively removes any system-wide proxy settings that might be interfering with network requests, allowing applications to access the internet directly without being routed through a proxy.
If a proxy is being used, check if the proxy settings are configured as per this documentation Proxy Support.
Internal information related
- 226869
Additional information
- Mendix documentation: Proxy Support
- Other documentation: Libgit2 - Git
0 Comments