“The ServicePointManager does not support proxies with the https scheme” problem

Posted on

Chodzi o Nuget ‘NuGet official package source’ z adresu https://nuget.org/api/v2/. Już drugi raz wrócił do mnie ten problem. Kiedyś jakoś rozwiązałem, ale teraz nie potrafiłem trafić na tamto rozwiązanie, więc opiszę nowsze (może lepsze).

I’m not behind a corporate proxy, so the error message made absolutely no sense to me. What helped, though, was to replace the default NuGet package source. I did this by:

  1. Going into NuGet settings and adding a new package source pointing to http://nuget.org/api/v2/ (no ‘s’ in the scheme)
  2. Disabled the default source
  3. Enabled my newly added source


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s