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

downloading the packages.json is timing out. So not able to do nimble install #2748

Open
bhagihp opened this issue Nov 8, 2023 · 4 comments

Comments

@bhagihp
Copy link

bhagihp commented Nov 8, 2023

No description provided.

@bhagihp bhagihp changed the title downloading the packages.json is timing out. downloading the packages.json is timing out. So not able to do nimble install Nov 8, 2023
@PhilippMDoerner
Copy link
Collaborator

Could you provide a small way on how to reproduce? Just randomly running nimble install didn't trigger anything on my end.

Worst case scenario, can you replicate the issue when using atlas (you should have atlas implicitly installed if you have nim2.0 installed)

@bhagihp
Copy link
Author

bhagihp commented Nov 9, 2023

@PhilippMDoerner

i had 2 dependecies in .nimble file. Now when it is trying to download jester, it is internally trying to download httpbeast@>= 0.3.0. But it is failing with this error.

Upon debugging found that, when it was trying to download packages.json from this repository, it is taking long time due to size and request is getting timed out. But, when i download packages.json manually and keep it in the project, it is able to download the packages.

.nimble file

requires "nim >= 1.6.10"
requires "jester#baca3f"

Error:

86.22  Installing httpbeast@>= 0.3.0
86.22        Tip: 12 messages have been suppressed, use --verbose to show them.
86.22 nimble.nim(683)          getDownloadInfo
86.22 
86.22     Error:  Package httpbeast@>= 0.3.0 not found.

@PhilippMDoerner
Copy link
Collaborator

PhilippMDoerner commented Nov 9, 2023

I'm running into a bit of a problem here because I can't replicate either problem:

  1. Downloading packges.json functions without issue
  2. Running nimble install in a dummy project with these requires statements functions without issue:
requires "nim >= 1.6.10"
requires "jester#baca3f"

This was done under nim version:

Nim Compiler Version 2.0.0 [Linux: amd64]
Compiled at 2023-08-01
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: a488067a4130f029000be4550a0fb1b39e0e9e7c
active boot switches: -d:release

nimble version:

nimble v0.14.2 compiled at 2023-08-01 01:21:33

Run on Arch Linux with a 100 MBit connection (either of which may be influencing this issue).

@ringabout
Copy link
Member

You should add --verbose or --debug to get more useful information

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

3 participants