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

Resource temporarily unavailable (api.nuget.org:443) #122

Open
victron opened this issue Aug 5, 2022 · 5 comments
Open

Resource temporarily unavailable (api.nuget.org:443) #122

victron opened this issue Aug 5, 2022 · 5 comments

Comments

@victron
Copy link

victron commented Aug 5, 2022

I trying to run lean live <my project> using 'Interactive Brokers' data feed.
But getting an error like this

error: Unable to load the service index for source https://api.nuget.org/v3/index.json.
error:   Resource temporarily unavailable (api.nuget.org:443)
error:   Resource temporarily unavailable

Usage: NuGet.CommandLine.XPlat.dll package add [options]
......

In internet there is some advice to configure proxy for NuGet, then it means something in docker image. Please advice what is a problem

my environment:

  • running inside WSL on Ubuntu 22.04.1 LTS
  • lean, version 1.0.97
  • Python 3.10.4
@Martin-Molinero
Copy link
Member

Hey @victron! Sound like nuget.org has some down time. Is this still happening?

@victron
Copy link
Author

victron commented Aug 11, 2022

no, it's not nuget.org problem. curl response is ok. I tested on hardware pc with debian and it's ok. So, may be some relation to ubuntu or wsl itself. Can you point me to some doc to understand what inside your docker image?
btw, may be it's not a good idea to download something from 3-d party, in my understanding everything should be in image as minimum for security reasons.

@Martin-Molinero
Copy link
Member

Martin-Molinero commented Aug 11, 2022

btw, may be it's not a good idea to download something from 3-d party, in my understanding everything should be in image as minimum for security reasons.

It's pulling lean packages and dependencies, same is done for any custom for libraries I believe

In internet there is some advice to configure proxy for NuGet

Does the host machine have a proxy setup? Sounds like that might be missing for the child docker container maybe.

Edit: Please share as much details as possible so it can be reproduced. An easy test is just starting any docker container and trying to access nuget.org from inside of it

@jaredbroad
Copy link
Member

We have a reproducible case here. Rahul can you please if you have a proxy?

@Adroit-Algos
Copy link

The machine has access to direct internet. I tried Wget https://api.nuget.org/v3/index.json and it works fine. I think the issue is with the docker file.

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

4 participants