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

Auto detect system proxy. #362

Closed
BullOnMars opened this issue Aug 27, 2022 · 2 comments
Closed

Auto detect system proxy. #362

BullOnMars opened this issue Aug 27, 2022 · 2 comments

Comments

@BullOnMars
Copy link

BullOnMars commented Aug 27, 2022

The app won't connect to internet if system proxy is set, I can't properly use this app because I have to use proxy.

@Noggog
Copy link
Member

Noggog commented Aug 27, 2022

I'm not totally sure if it's a burden of Synthesis' coding to handle an issue like that or not yet. There are two big things that Synthesis does to hit the internet:

  1. calling the DotNet SDK with calls like dotnet restore or similar nuget related calls that within themselves hit the internet (by downloading nuget packages to be used for building the code, etc). https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-restore
  2. Downloading git repositories via https://github.com/libgit2/libgit2sharp

Doing limited googling, both suggest it's stuff that you have to set up in your ecosystem before running the commands. Perhaps you have to do something similar when running Synthesis. I'm not too sure.
https://stackoverflow.com/questions/39907956/git-network-operations-behind-corporate-firewall-using-libgit2sharp-throws
NuGet/Home#6981

@Noggog
Copy link
Member

Noggog commented Aug 29, 2022

Let me know if after any research, there's something on Synthesis' side that can be improved. From my limited knowledge of this topic, I think most of the work is outside the Synthesis' code itself? Let me know if you research otherwise, though

@Noggog Noggog closed this as completed Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants