Уважаемый РомикМ. Следуя Вашей драгоценной логике, лично Вам голова дана исключительно, чтобы в неё есть? Судя по всему, использовать ее в другом амплуа Вам никогда не приходилось.
И кстати, благодарен Вам, что вы не забыли написать моё второе имя с Большой буквы. Берегите себя, такие как Вы просто необходимы таким как я. Чтобы мы не забывали, что в колодце человеческой тупости, наглости и хамства ДНА НЕТ. Благодарю за приятную беседу, обтекайте.
Когда пытаюсь войти в ксс, выдает ошибку:
Error!
Unable to load c:program filessteamsteamapps*user_name*counter-strike soursebinfilesystem_steam.dll
Что это?
Изменено: Anton Sartov., 27 июня 2011 — 10:26
-
0
- Наверх
26 июня 2011 — 08:54
-
Пользователь
С нами с 13 января 11 -
358
0
0
anton.red
-
0
- Наверх
26 июня 2011 — 08:57
-
Заблокированные
С нами с 26 июня 11 -
23
0
0
SexyBoyz
Ты пробовал перезапустить стим?
-
0
- Наверх
26 июня 2011 — 09:45
-
Пользователь
С нами с 9 сентября 10 -
1175
0
0
azat2012
проверь целостность кэша
-> R332380971217
-> Z401067074716
-
0
- Наверх
26 июня 2011 — 09:49
-
Заблокированные
С нами с 6 декабря 10 -
1128
0
0
goosey
предположу: место на диске есть?
knoch
goosey271
204819
-
0
- Наверх
26 июня 2011 — 10:06
-
Пользователь
С нами с 16 февраля 11 -
3503
0
6
Anton Sartov.
[quote name=’SexyBoyz’]Ты пробовал перезапустить стим?[/quote]
да
Добавлено через 22 секунды
[quote name=’goosey’]предположу: место на диске есть?[/quote]
да, еще 16гб
-
0
- Наверх
26 июня 2011 — 10:11
-
Пользователь
С нами с 30 декабря 10 -
686
0
0
Scalpel
Поищи файлы filesystem_steam.dll или steam.dll C:WINDOWS.
Если нашел удали. На всякий случай только в корзину.
-
0
- Наверх
26 июня 2011 — 10:12
-
Пользователь
С нами с 16 февраля 11 -
3503
0
6
Anton Sartov.
[quote name=’Skalpel’]Поищи файлы filesystem_steam.dll или steam.dll C:WINDOWS.
Если нашел удали. На всякий случай только в корзину.[/quote]
я их не нашел, тем более у меня ксс переустанавливается
-
0
- Наверх
26 июня 2011 — 10:13
-
Пользователь
С нами с 30 декабря 10 -
686
0
0
Scalpel
-
0
- Наверх
26 июня 2011 — 10:15
-
Пользователь
С нами с 12 ноября 09 -
1109
0
3
Niki
Переустановить.
Накатить DirectX последний
-
0
- Наверх
26 июня 2011 — 10:20
-
Пользователь
С нами с 16 февраля 11 -
3503
0
6
Anton Sartov.
-
0
- Наверх
26 июня 2011 — 10:20
-
Пользователь
С нами с 12 ноября 09 -
1109
0
3
Niki
Потом напиши, в чем причина та была
-
0
- Наверх
26 июня 2011 — 10:29
-
Пользователь
С нами с 16 февраля 11 -
3503
0
6
Anton Sartov.
ну ща, переустановлю, кэш проверю, думаю будет норм работать
-
0
- Наверх
26 июня 2011 — 10:37
-
Пользователь
С нами с 15 декабря 09 -
1262
0
4
DoSs.eXe
Если не поможет, то тебе придеться искать этот файл или просить у друзей у меня тоже самое было с сорс сдк файл по формату подходит…
Связь!
Skype-mapbynoy
Мой ник DoSs_+
-
0
- Наверх
26 июня 2011 — 11:16
-
Пользователь
С нами с 5 марта 10 -
2904
0
0
fast
у меня такое было…я просто ксс перезапускал и все)
Ребята, берегите хип-хоп.
-
0
- Наверх
26 июня 2011 — 11:22
-
Пользователь
С нами с 29 мая 11 -
21
0
0
AHHKY
у меня ана вопше англ стала и хз что делать через настройки стим не помогает в игре русский стоит
-
0
- Наверх
26 июня 2011 — 11:30
-
Пользователь
С нами с 16 февраля 11 -
3503
0
6
Anton Sartov.
AHHKY,
Открой библиотеку игр, потом нажми на иконке ксс правой кнопкой и выбери свойства, а там уже язык поменяй.
И я вообще не пойму к чему ты это сюда написал.
-
1
- Наверх
26 июня 2011 — 11:39
-
Пользователь
С нами с 12 ноября 09 -
1109
0
3
Niki
-
0
- Наверх
27 июня 2011 — 12:08
-
Пользователь
С нами с 16 февраля 11 -
3503
0
6
Anton Sartov.
Так, ну в общем помогла дефрагментация кэша, пока что думаю все норм..
Всем спасибо, всем «+»
-
0
- Наверх
27 июня 2011 — 12:51
-
Пользователь
С нами с 16 февраля 11 -
3503
0
6
Anton Sartov.
Открыл тему еще для одного вопроса..
что то ксс в последнее время у меня лагать начала переодически, возможно это из за обновления..
пытался прописывать рейты ничего не помогает..
знает кто в чем проблема?
-
0
- Наверх
27 июня 2011 — 09:56
-
Пользователь
С нами с 10 июня 11 -
921
0
5
Zown1day #
Да из за Обновлений , в DOD е тоже так Было потом Исправили
А Звук Не Лагает???
Изменено: Zown1day #, 27 июня 2011 — 10:21
-
0
- Наверх
27 июня 2011 — 10:15
-
Пользователь
С нами с 16 февраля 11 -
3503
0
6
Anton Sartov.
бывает и звук лагает, да
Добавлено через 42 секунды
Спасает только rr компа, но не на долго(
-
0
- Наверх
27 июня 2011 — 10:28
While trying to connect to Nuget, I’m getting the error below, and then I am unable to connect:
[nuget.org] Unable to load the service index for source
https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection
failed because connected host has failed to respond 68.232.34.200:443
I am able to access https://api.nuget.org/v3/index.json
on my browser.
bmike
9172 gold badges22 silver badges41 bronze badges
asked Dec 16, 2016 at 13:24
DarthVaderDarthVader
52.5k74 gold badges206 silver badges300 bronze badges
10
I was getting the same error while trying to browse the NuGet Package, to resolve the same followed below step:
1- go to %appdata%NuGetNuGet.config
2- Verify the urls mentioned in that config
3- Remove the url which is not required
4- Restart visual studio and check
John Smith
7,2036 gold badges48 silver badges61 bronze badges
answered Oct 3, 2018 at 10:47
2
A developer of the nuget-package manager suggested in 2019 to disable tls 1.3 as a workaround (see issue 7705).
Open Registry Editor by pressing Win + R and type regedit
Enter
Navigate to:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.3Client
Change the value of DisabledByDefault
key 0 to 1
Then restart the Visual Studio.
Read more about TLS on wikipedia
Read more about issue 7705 w.r.t. NuGet at github
3rd party edit
Be aware that this disables tls 1.3 for the os not just for nuget or dotnet.
Windows 10 version 1909 did contain an experimental implementation of TLS 1.3 but later versions should be fine. Based on one answer from Unable to browse nuget packages you can test if tls is the problem via a console programm
static async Task Main(string[] args)
{
var client = new HttpClient();
string uri = "https://apiint.nugettest.org/v3-index/index.json";
var response = await client.GetAsync(uri);
string msg = "If you see this, your machine has no TLS/SSL issues with nuget.org";
Console.WriteLine(msg);
}
surfmuggle
5,3647 gold badges47 silver badges75 bronze badges
answered Nov 14, 2019 at 7:43
HarshaHarsha
5494 silver badges10 bronze badges
9
Go to
Settings ( Global Settings of your PC ) > Network and Internet > Proxy > Automatic Proxy Setup > and set Automatically detect settings to off.
answered Sep 30, 2017 at 6:43
VISHAL TANKVISHAL TANK
2054 silver badges9 bronze badges
2
If you see error as follow, you may need to set up your Azure Artifacts Credential, see this Github link, you could either install the credential provider by running a powershell script or manually.
error : Response status code does not indicate success: 401 (Unauthorized).
answered Jul 1, 2020 at 15:15
Jonathan ChowJonathan Chow
1,1271 gold badge8 silver badges11 bronze badges
1
I have stumbled across this issue when trying to run nuget.exe via Jenkins (configured as a service, by default using Local System account). I have edited C:WindowsSystem32configsystemprofileAppDataRoamingNuGetNuGet.Config
file which looks like the following:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="http_proxy" value="http://proxy_hostname_or_ip:3128" />
<add key="https_proxy" value="http://proxy_hostname_or_ip:3128" />
</config>
<packageSources>
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
In order to test command prompt can be started via PSTools:
psexec -i -s CMD
and actual test run in the newly created cmd windows (runs as Local System):
path_to_nugetnuget.exe restore "path_to_solutiontheSolution.sln"
answered Dec 31, 2018 at 12:23
This can also happen due to authentication issues, so you may need to re-authenticate to Visual Studio.
In that case, you can simply run the following command from the folder where your package.config
file is located (usually you project’s root):
dotnet restore --interactive
You will be prompted to visit a pairing URL from your browser and enter a pairing code, for instance:
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code C2DEJ87H to
authenticate.
This requires the .NET CLI, which is included in the .NET Core SDK that can be installed from https://learn.microsoft.com/en-us/dotnet/core/install/windows
Furthermore, if no sign-in prompt appears upon running the nuget restore
command, your installation may be missing the artifacts-credprovider nuget plugin, which you can install with:
iex "& { $(irm https://aka.ms/install-artifacts-credprovider.ps1) }"
answered Oct 25, 2022 at 15:00
Pierre ThalamyPierre Thalamy
2711 gold badge3 silver badges14 bronze badges
2
In my case, it was that I was unknowingly logged out of my work account altogether. Logging back into my visual studio account resolved it.
answered Aug 30, 2022 at 12:48
DrDoomPDXDrDoomPDX
2323 silver badges12 bronze badges
3
Simple :
- Close VS2019
- Go to
C:UsersyouAppDataRoamingNuGet
- Delete the file
NuGet.Config
- Relaunch VS2019
You’re good to go !
answered Sep 22, 2021 at 14:20
HashkaHashka
3953 silver badges10 bronze badges
2
I had a similar issue trying to connect to my private TFS server instead of the public NuGet API server. For some reason I had an issue between the AD server and the TFS server so that it would always return a 401. The NuGet config article shows that you can add your AD username and password to the config file like so:
<packageSourceCredentials>
<vstsfeed>
<add key="Username" value="yourname@company.com" />
<add key="Password" value="this is an encrypted password" >
<!-- add key="ClearTextPassword" value="not recommended password" -->
</vstsfeed>
</packageSourceCredentials>
This is not quite an ideal solution, more of a temporary one until I can figure out what the problem is with the AD server, but this should do it.
answered Nov 8, 2019 at 16:10
HydromastHydromast
2803 silver badges10 bronze badges
4
In my case, the problem was that I was building on an older Win7 virtual machine.
I found this fix from https://github.com/NuGet/NuGetGallery/issues/8176#issuecomment-683923724 :
nuget.org started enforcing the use of TLS 1.2 (and dropped support
for TLS 1.1 and 1.0) earlier this year. Windows 7 has TLS 1.2 disabled
by default (check theDisabledByDefault
value under
HKLMSYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.2Client
in your registry). To enable the support, please make sure you have an update (*) installed and switch the support on:reg add HKLMSYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.2Client" /v DisabledByDefault /t REG_DWORD /d 0 /f /reg:32 reg add "HKLMSYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.2Client" /v DisabledByDefault /t REG_DWORD /d 0 /f /reg:64 reg add "HKLMSYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.2Client" /v Enabled /t REG_DWORD /d 1 /f /reg:32 reg add "HKLMSYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS 1.2Client" /v Enabled /t REG_DWORD /d 1 /f /reg:64
The (*) update referred to was Microsoft kb3140245:
Update for Windows 7 (KB3140245)
I installed the update, rebooted (as requested by the update), added those registry keys, and then Nuget worked fine.
answered Dec 23, 2020 at 13:13
StayOnTargetStayOnTarget
11.5k10 gold badges50 silver badges78 bronze badges
3
One of your nuget sources may be unreachable.
At the moment of writing, AspNetCore (https://dotnet.myget.org/F/aspnetcore-dev/api/v3/index.json) seems to have an expired certificate or have been removed entirely.
Simply removing the nuget source from your settings should solve this issue
answered Jun 20, 2021 at 7:16
Prince OwenPrince Owen
1,10510 silver badges19 bronze badges
The error can be caused by just temporary network issue, and disappear, if try again.
answered Nov 16, 2017 at 1:55
Michael FreidgeimMichael Freidgeim
26.1k16 gold badges149 silver badges169 bronze badges
Something may have change your proxy setting, like Fiddler. Close Fiddler, then close Visual Studio and open it again.
answered Jun 1, 2018 at 22:36
Sylvain RodrigueSylvain Rodrigue
4,6975 gold badges53 silver badges66 bronze badges
1
If you are getting this error, but you don’t have a proxy server, you can go to
%userprofile%AppDataRoamingNuGetNuGet.Config
And comment this lines:
<config>
<!-- Proxy settings -->
<add key="http_proxy" value="host" />
<add key="http_proxy.user" value="username" />
<add key="http_proxy.password" value="encrypted_password" />
</config>
It worked for me because I was getting that error, but I don’t have a proxy server.
RJFalconer
10.8k5 gold badges50 silver badges66 bronze badges
answered Mar 23, 2019 at 15:09
2
It is worth noting that there was a bug with .net core SSL authentication that could cause this. Disabling their latest networking stack implementation, solved this issue for me.
You can set this permanently or just launch your app using:
DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0 dotnet ...
answered Sep 11, 2019 at 17:59
firetiger77firetiger77
3413 silver badges8 bronze badges
In my case it is happened because I don’t have internet connection and it is trying to scaffolding
answered Oct 29, 2019 at 9:43
1
I was using an older version of Nuget on VS2010, where it defaults to TLS 1.0
here it can be fixed by changing the default TLS version used by .Net framework which is configured in Registry keys
reg add HKLMSOFTWAREMicrosoft.NETFrameworkv4.0.30319 /v SystemDefaultTlsVersions /t REG_DWORD /d 1 /f /reg:64
reg add HKLMSOFTWAREMicrosoft.NETFrameworkv4.0.30319 /v SystemDefaultTlsVersions /t REG_DWORD /d 1 /f /reg:32
FYI
NuGet.org will permanently remove support for TLS 1.0 and 1.1 on June 15th. Please ensure that your systems use TLS 1.2.
You can refer to this link for info on TLS 1.2 support
answered Jun 17, 2020 at 5:33
1
If you are a Windows user, you may either remove or update your credentials in Credential Manager.
In Windows 10, go to the below path:
Control Panel → All Control Panel Items → Credential Manager
Or search for «credential manager» in your «Search Windows» section in the Start menu.
Then from the Credential Manager, select «Windows Credentials».
Credential Manager will show many items including your outlook and GitHub repository under «Generic credentials»
You click on the drop down arrow on the right side of your Git: and it will show options to edit and remove. If you remove, the credential popup will come next time when you fetch or pull. Or you can directly edit the credentials there.
answered Jan 6, 2022 at 19:15
David CastroDavid Castro
1,74321 silver badges20 bronze badges
I spent a day on this and tried everything here.
For me it was that I didn’t update my password in Visual Studio!
I had changed my work Microsoft account password last week or so, I also use that account to login to visual studio, however I wasn’t prompted to update it and was not logged out of Visual Studio, it remained logged in. When I clicked on my initials in the top right of visual studio > Account settings > under All Accounts the work account had yellow exclamation triangle warning sign next to it, updated the new password, then updated some packages, dotnet restore, cleaned & rebuilt and the errors are gone.
answered Aug 19, 2022 at 16:35
imsanimsan
3493 silver badges15 bronze badges
Some development environment may not be using neither a browser nor a proxy.
One solution would downloading the package from nugget such as the https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
to a shared directory then execute the following:
dotnet add package Microsoft.AspNetCore.StaticFiles -s "shared drive:index.json"
I hope that works for you.
answered Sep 20, 2017 at 0:47
I had this error and then I realized I was logged in with my personal Microsoft account instead of my work account.
Hope this helps.
answered Jun 3, 2019 at 14:49
2
nuget restore
and
msbuild /t:restore
both didn’t work for me with same error. But
dotnet restore
worked perfect. Try that
answered Oct 2, 2020 at 5:54
1
In my case i lost the connection with Git. I just added the connection again and it worked!:
answered Jan 24, 2022 at 15:37
LemrajLemraj
2693 silver badges4 bronze badges
2
I have a couple Windows 2016 Servers where Visual Studio couldn’t connect to NuGet. After trying virtually every other suggested fix (registry changes, Visual Studio/NuGet related cache clearing or file/config changes), the below is what resolved it for us.
We have a Group Policy (GPO) with the ciphers set and I added these ciphers to our GPO cipher list for it to work.
TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
https://github.com/NuGet/Announcements/issues/60
answered Aug 9, 2022 at 21:00
OK I tried all the answers above and hope my registry is not now hosed. But this appears to have fixed it for me:
https://learn.microsoft.com/en-us/answers/questions/959588/visual-studio-2022-won39t-connect-to-nuget.html
Add this: TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
To the comma-separated string in this:
HKLMSOFTWAREPoliciesMicrosoftCryptographyConfigurationSSL0010002
I hope this helps the next person who hope to make a fun quick Saturday morning proof-of-concept, and then winds up spending 3 hours searching for a fix!!!
answered Aug 13, 2022 at 20:34
Daniel WilliamsDaniel Williams
8,80813 gold badges68 silver badges107 bronze badges
1
In support of the answer provided by @Eddie Chen (here) I had to add http_proxy setting to following file as well:
C:Windowssystem32configsystemprofileAppDataRoamingNuGetNuGet.Config
<add key="http_proxy" value="http://your_proxy_url:8080" />
answered Nov 17, 2017 at 2:43
0
In my case i had had Fiddler running which had changed my proxy settings
answered Feb 4, 2019 at 13:06
DooieDooie
1,6297 gold badges30 silver badges47 bronze badges
I’m using VSO/Azure DevOps.
You can also visit the feed url directly in your browser. You may end up with a response that contains a message like this, which may make your diagnosis a lot quicker:
The user does not have a license for the extension ms.feed.
answered Mar 4, 2019 at 18:07
ps2goatps2goat
8,0071 gold badge35 silver badges68 bronze badges
3
#1
Никола12345678
-
- Пользователь
-
- 31 сообщений
Новичок
Отправлено 03 Апрель 2022 — 20:39
При старте появляется данный вывод:
——————————————————————————
CSS server
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
AppFramework : Unable to load module bin/engine_i686.so!
Unable to load interface VEngineCvar003 from bin/engine_i686
——————————————————————————
Пробовал патчить с помощью ugsp и на 4-м пункте ловил данную ошибку:
——————————————————————————
4) Looking for client’s network Class check …
Not Found
Saving changes to file… DISABLED(Patching Failed)
——————————————————————————
Также качал другие готовые сборки и проблема аналогичная.
Много искал в интернете и куча всего попробовал, но к сожалению ничего не помогло. Тех. поддержка отправила на форум
Сообщение отредактировал Никола12345678: 03 Апрель 2022 — 20:41
- Наверх
#2
Kakoin
Отправлено 03 Апрель 2022 — 20:48
При старте появляется данный вывод:
——————————————————————————
CSS server
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
AppFramework : Unable to load module bin/engine_i686.so!
Unable to load interface VEngineCvar003 from bin/engine_i686
А какая ось стоит на машине? Библиотеки необходимые точно все установлены ?
- Наверх
#3
Никола12345678
Никола12345678
-
- Пользователь
-
- 31 сообщений
Новичок
Отправлено 03 Апрель 2022 — 21:13
А какая ось стоит на машине? Библиотеки необходимые точно все установлены ?
OC — Ubuntu 20, доустановил только что 2 библиотеки и сервер теперь просто виснет на:
————————————-—
CSS server
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Console initialized.
Game.dll loaded for «Counter-Strike: Source»
maxplayers set to 32
Unknown command «s»
Unknown command «ementt»
Unknown command «stuff»
Unknown command «/»
Unknown command «stuffcmdstuffcmds»
Unknown command «s»
Unknown command «cmds»
Unknown command «cmdcmds»
Unknown command «cmds»
Network: IP ***, mode MP, dedicated Yes, ports 27016 SV / 27005 CL
- Наверх
#4
Kakoin
Отправлено 03 Апрель 2022 — 21:18
OC — Ubuntu 20, доустановил только что 2 библиотеки и сервер теперь просто виснет на:
————————————-—
CSS server
Auto detecting CPU
Using SSE2 Optimised binary.
Server will auto-restart if there is a crash.
Можно попробовать версию ниже. 14 или 16 к примеру. М.б были обновлены какие то системные библиотеки и теперь они мешают запуску сервера.
- Наверх
#5
Никола12345678
Никола12345678
-
- Пользователь
-
- 31 сообщений
Новичок
Отправлено 03 Апрель 2022 — 22:55
Можно попробовать версию ниже. 14 или 16 к примеру. М.б были обновлены какие то системные библиотеки и теперь они мешают запуску сервера.
Переустановил. теперь вот такие ошибки…
-
Incorrect price blob version! Update your server!
ERROR: mp_dynamicpricing set to 1 but couldn’t download the price list!
Error: Material «sprites/bubble» : proxy «AnimatedTexture» not found!
Section [Scenes]: 0 resources total 0 bytes, 0.00 % of limit (2.10 MB)
Unable to load authentication library, Exiting…
Unable to load authentication library, Exiting…
Сообщение отредактировал Никола12345678: 03 Апрель 2022 — 22:59
- Наверх
#6
Никола12345678
Никола12345678
-
- Пользователь
-
- 31 сообщений
Новичок
Отправлено 04 Апрель 2022 — 12:27
Проблема решена, спасибо за помощь!
- Наверх
#7
Kakoin
Отправлено 04 Апрель 2022 — 13:55
Проблема решена, спасибо за помощь!
Ну так напиши что не так то было.
- Наверх
#8
x-myrza
x-myrza
-
- Пользователь
-
- 3 сообщений
Новичок
Отправлено 23 Июнь 2022 — 12:22
на debian 9, 10 и ubuntu 18, 20
- apt-get update
- apt-get install gdb
- apt-get install lib32z1
- apt-get install lib32ncurses5
- apt-get install lib32stdc++6
и файле cstrike/cfg/valve.rc надо добавить строку
map de_dust2
- Наверх
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
Closed
klaykuban opened this issue
Jun 1, 2016
· 72 comments
Comments
Following error received when searching for packages in the package manager
[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json.
Invalid URI: Invalid port specified.
What version of NuGet are you using in VS?
can you please send a fiddler trace to support@nuget.org
This is likely a bad proxy, or an older version of NuGet?
NuGet package Manager v 3.4.4.1321
How can I find the fiddler trace? I’m fairly new to visual studio and such.
Today I’m experimenting the same problem (in the past few days everything worked fine). If I run Fiddler I don’t see any HTTP call but I got the error. What can I do?
Thanks
I finally ran Fiddler and saw the same. No HTTP but have the error
Finally I found the issue, at least in my case: if no Windows HTTP proxy is specified, NuGet uses (if present) the HTTP Proxy specified in the environment variable http_proxy.
umstek, akolkarakhi, ajayjoseph06, gekas, marcaldo, kimdungoc, and jmevel reacted with heart emoji
Were you able to fix the issue?
Yes, removing the env var http_proxy fixed the issue (in my case).
Sorry i’m not too familiar with how to do that. How can i remove that env var?
Open «System Properties» > Advanced > Environment Variables. Find the http_proxy var (in System variables), select and delete it.
rifaterdemsahin, jamshidyarkamran, MaciejLisCK, KevinHu-au, slemvs, arashbahreini, mohsen2hasani, johnanderpalma, AbiolaShobande, kaanav1985-0410, and 7 more reacted with thumbs down emoji
georgemihaila and chuchosoi93 reacted with heart emoji
Incredible. It worked! Thanks big time. I’ve been stuck at this point for well over a month
rrelyea
changed the title
Package Manager Error: Unable to load the service index for source
Package Manager Error: Unable to load the service index for source (bad proxy settings)
Jun 28, 2016
In mac os x shell I typed
export ALL_PROXY=proxy ip address :port number
then typed
dotnet restore
It’s work fine
For me, a simple VS restart fixed the issue.
yhnavein, MyCuteGuineaPig, FamingHou, MaciejLisCK, username30, slemvs, woeterman94, arashbahreini, gtisolution, aeharake, and 3 more reacted with thumbs down emoji
YuriShporhun and JimmyBunny reacted with hooray emoji
yhnavein, Jarzamendia, akalcik, outlookcast, MarcusGoldschmidt, and ourdark reacted with confused emoji
makarovdmitrii reacted with eyes emoji
In my computer I should go to catalog:
C:UsersmyUserNameAppDataRoamingNuGet
And edit NuGet.xml file:
Working file looks like this:
Uploading NuGet.txt…
p4pramod, vmrocha, sppanday, TheFrogPrince, feitzi, OliverZ, rfabro, ThomsonTan, JstallBT, PorfireJ, and paulo-guimaraes reacted with thumbs down emoji
anehir, inaat, and feitzi reacted with laugh emoji
YuriShporhun, turbolego, Rakshithdb, sppanday, fad1203anees, and itsho reacted with confused emoji
- Copy Nuget.exe by any peer projects via copying .nuget folder to «NONWorking» project folder..
- In windows, IE has proxy settings, some times its gets checked for no great reason… uncheck, if you dont use proxy.
- restore the solution in VS 2015.. I got it resolved on my machine.
For me removing the .nuget
folder located in C:UsersYourNameHere fixed the problem.
mishrsud, lceames, armadillomx, giorgioursu, YuriShporhun, eddiepantoja, FabioFischer, vitoryugulis, and rsmartapps reacted with hooray emoji
Treycos, techkuz, sachinpanchasara, and paulo-guimaraes reacted with confused emoji
Tealons, giorgioursu, rekhakm, eddiepantoja, FabioFischer, vitoryugulis, and rsmartapps reacted with heart emoji
@vsg24 Thanks a ton! Removing .nuget from my profile (C:Users<username>.nuget) worked like a charm!
Environment:
Windows 10 Pro RTM x64
dotnet SDK version 1.0.0-rc4-004771
Shell: Native Windows Command Shell
My issue was simple… my virtual machine lost internet connectivity!
patdaman, lneninger, MarcusGoldschmidt, Skulblaka, and shrinaik reacted with laugh emoji
jonzfisher reacted with hooray emoji
Can somebody help me with this issue? I am not using any kind of proxy and I have a brand new install of VS 2017 ..
[nuget.org] Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
The remote name could not be resolved: 'api.nuget.org'
Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
The remote name could not be resolved: 'api.nuget.org'
Time Elapsed: 00:00:38.4173999
========== Finished ==========
``
![using package manager console](https://cloud.githubusercontent.com/assets/16449737/26712265/b29657ce-4783-11e7-9768-64c8d9849dfc.png)
`
Would be nice if the error message could say «cannot reach 93.184.221.200» or similar (basically tell me which host or IP that couldn’t be reached).
Today our IDS had blocked nuget, because it believed the nuget host had performed a port scan on us. I doubt that is likely (far more likely that our frequent builds trigger lots of traffic to the nuget servers and this confused a poorly configured IDS).
In any case..: A nicer error message would have sorted out our problem faster.
Restarting VS works for me too.
Had no environment variables mentioned here, was using new .Net IDE called Rider, on ubuntu, libcurl3 was already present.
Ended up setting the IDE to use a proxy and then saved and then set to no proxy and saved.
Solved.
Thought it was a versioning issue as I’m using an old vs2015 project, but even changing the version used by project didn’t help. Although it resolved a separate issue for me as mono supported .net >=4.5 and I had it targetting 4.5 but forgot I needed a nuget package thats linked to 4.6
Had the same issue today, removed .nuget folder from my profile folder and it started working again. The other things before (env var etc.) didn’t work.
Hi, i’ve the same problem.. I tryed to remove .nuget folder but it is still not working. In my environment variables i did not find any http_proxy var. I’ve this problem for days, please help me to solve it!
I have the same problem. Can I manually download and install the package in my project?
Actually, I have installed the same package( Which I want in a new project but this problem sucks) in another project, So is there any way to use it in another project directly?
Go for Settings ( Global Settings of your PC ) > Network and Internet > Proxy > Automatic Proxy Setup > and set Automatically detect settings to off. This Works for me…. Try this …
q00u, lneninger, mohsen2hasani, rlalance, LeeStevens318, paulo-guimaraes, and azhdarshirinzada reacted with thumbs down emoji
vagnercotrim, shinks21, and ramosjef reacted with laugh emoji
jmevel and ramosjef reacted with hooray emoji
LoremipsumSharp and ramosjef reacted with rocket emoji
If in Linux, I was able to get restore working on my Solus box by first running
export DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0
. Once I did that, dotnet restore worked.
export DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0
dotnet restore
@microsmith, thank you for the hint! In my case it was the firewall!
I tried to remove the .nuget folder located in C:UsersYourNameHere and the error continues, what can I do in that case?, I’m working in vs 2019
For me, open Fiddler 4 temporary fixed the problem but closing it causing error again.
This worked for me
- Close the visual studio
- delete .vs folder from the root of your project
- Re open the visual studio and compile.
@vsg24 Thanks a ton! Removing .nuget from my profile (C:Users<username>.nuget) worked like a charm!
d4nt
mentioned this issue
Apr 21, 2020
Just wanted to point out an additional tip. I have struggled as much as you guys, but the problem was that the docker image does not know my proxy server. It cannot resolve any dns entry, so I have added the HTTP_PROXY / HTTPS_PROXY to my dockerfile as arguments with the ip-address instead of the dns name.
ARG HTTP_PROXY=http://<ip>:<port>/
ARG HTTPS_PROXY=http://<ip>:<port>/
FROM […]
This worked for me
- Close the visual studio
- delete .vs folder from the root of your project
- Re open the visual studio and compile.
Worked for me
I have the same issue as you and I try all possible combination from internet bu my error is still active.
When I try to build I get error:
Error occurred while restoring NuGet packages: Unable to load the service index for source https://api.nuget.org/v3/index.json.
and on > dotnet restore I get error:
PM> dotnet restore
Determining projects to restore…
Restored C:Program Files (x86)Microsoft Visual Studio2019CommunityMyProjects2019sourcereposBankBankBank.csproj (in 348 ms).
C:Program Filesdotnetsdk5.0.103NuGet.targets(131,5): error : Unable to load the service index for source https://api.nuget.org/v3/index.json. [C:Program Files (x86)Microsoft V
isual Studio2019CommunityMyProjects2019sourcereposBankBank.sln]
C:Program Filesdotnetsdk5.0.103NuGet.targets(131,5): error : The SSL connection could not be established, see inner exception. [C:Program Files (x86)Microsoft Visual Studio
2019CommunityMyProjects2019sourcereposBankBank.sln]
C:Program Filesdotnetsdk5.0.103NuGet.targets(131,5): error : The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot [C:Program Files (x86
)Microsoft Visual Studio2019CommunityMyProjects2019sourcereposBankBank.sln]
PM>
What is strange I see in NuGet package all installed package that I need in VS2019 but yellow question mark is on all needed package.
I don’t know what more I can try, please any tips, help.
I use VS 2019 Community Edition.
Thanks & Regards
Finally I found the issue, at least in my case: if no Windows HTTP proxy is specified, NuGet uses (if present) the HTTP Proxy specified in the environment variable http_proxy.
You save my life bro.
If in Linux, I was able to get restore working on my Solus box by first running
export DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0
. Once I did that, dotnet restore worked.export DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0 dotnet restore
worked well with new ue5 early access on linux.
I tried a lot of things you guys said but that just works when I restart the pc.
I don’t know if it’s related but I was connected to a vpn just before the error started.
Using vscode in Ubuntu with Dev Container
MikaelMayer
added a commit
to dafny-lang/dafny
that referenced
this issue
Nov 8, 2021
Would appreciate if anyone could help me: https://serverfault.com/q/1101866/563885 seems I have the same setup as @Lecarvalho (Ubuntu in Dev Container) but his fix appears to be «it magically started working again». I’m on a company laptop but not on a VPN. Possible my company has some sort of redirect that’s messing up from within the container, but not sure how to figure that out.
@AlFalahTaieb no, I was not able to fix it. I have resorted to using a GitHub Codespace as it doesn’t have the same problem.
Still doesnt work with VS2019/VS2022
I had the same problem after upgrading to vs2022 17.4.0 preview 2.1. It can be accessed in the browser, and the dotnet restore command is also normal, but accessing the Nuget package manager and restore in VS fails.
What will be in case of Dockerfile for window image?
I am getting the following error while running MVC .Net Framework application while building docker images by using Dockerfile.
Same error occured all of a sudden an 30 minutes ago without any warning, nothing changed, in the middle of development! I tried VS2019 and it works for the same sln file
one of the classic reason…
Possible Problem: Stale Artifactory Credentials in Credential Manager
You have saved credentials for your artifactory in credential manager. If your system/SSO credentials changed recently then this will happen.
Solution: Update/Remove Saved credentials from Credentials Manager
Go to Windows => Credentials manager => Windows Credentials => Generic Credentials => [Artifactory related Credentials] => Remove.
When you rebuild from visual studio it will again ask for fresh credentials. It’s upto you whether want to save or add every time.
Credential manager — 1
Enter credentials after rebuild in VS 2