Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Error retrieving packages from source 'https://xxx:8625/nuget/xxx/': Unable to connect to the remote server
-
Hi,
I am operating a ProGet Free Edition, Version 2023.6 (Build 5) on my cloud server, configured using IIS.
I am using it together with Chocolatey, and my own created packages, hosted in different feeds in ProGet. I have upgraded from ProGet 6 to 2023.6 - and I am facing serious problems getting the error:
Error retrieving packages from source 'https://xxx:8625/nuget/xxx/':
Unable to connect to the remote serverI did configure the Chocolatey Community Package feed with priority 0, and my 5 other feeds with priority 2,4,6,8,10.
With choco upgrade I very often get above error, the request times-out and fails. Running the identical call a second later is mostly successful.
Do you have any idea what be the cause of that very ugly problem ?
Is there anything I can check in my configuration or the logs ?
Thanks a lot !
Best wishes,
Sam ...
-
Hi @jhaas_7815,
The message "Unable to connect to the remote server" basically means that Chocolatey client can't connect to ProGet at https://xxx:8625/nuget/xxx/'. If you entered the same URL in your browser, I would expect a similar error.
I would check to make sure that the ProGet web site is running. You may need to restart IIS, etc. There's probably some kind of error on the IIS side, but it's really hard to guess what it is.
Cheers,
Alana
-
@atripp said in Error retrieving packages from source 'https://xxx:8625/nuget/xxx/': Unable to connect to the remote server:
Alana
Thanks for your quick reply Alana - but that is what I am already doing - opening that URL in the browser shows some XML reply (not error) - and canceling and directly restarting that same choco upgrade command is mostly successful - so - in general the ProGet server does work - the connection is there - Event Log does not show anything - so what could be that cause or how log trace that down in ProGet ?
Thanks :-).
-
Hello, if the ProGet server is running (and didn't crash), and you don't see any errors on the ProGet server... then the issue is between the server and the client.
You can try to trace this using a tool like Wireshare or Fiddler, but to be honest the error could be anything including a bad wifi/network connection. It's not PRoGet or chocolatey specific, so you can search broadly for "how to troubleshoot unable to connect to remote server" for lots and lots of tips on how to resolve such an error.
Cheers,
Alana