-
Notifications
You must be signed in to change notification settings - Fork 131
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
Failed to load package details #149
Comments
I'm having the same problem with "Failed to load package details!" showing up on the Web UI over here. Looking at the logs / console output, I see a lot of these:
|
Does the private-bower server have access to the |
+1 |
The private-bower server needs access (ssh, https) to the git repo. |
I think there are two problems here:
In my case both problems are apparent and I haven't done anything special to allow access from the private-bower server to our internal git server, so I'm not surprised that doesn't work (what should I do to make that work?). But what surprises me is that the package details of cached public packages aren't available for private-bower since it's hosting them itself. |
Supplemental: I also can reproduce the log message @mmaday reports. For our own internal git server there's indeed an access problem which I will investigate further. But for public cached packages it also says
When I do a manual |
@Hacklone is correct in my case. The user running private-bower didn't properly have access to
|
Hey, I cannot really reproduce your error with the mirrored repositories. If I have the correct permissions to clone the git repository, where ever it is, it's working for me. |
I cannot see why it should fail other than the server doesn't have cloning rights to the repo. |
For me, it still doesn't work though I can clone a git repository from our internal git server from the command line of our private-bower server (as root, because private-bower runs as root). |
Sorry, for posting again, I'm getting nearer the problem: The user our private-bower server runs isn't root and therefore my git/ssh-config is wrong. I currently think private-bower is correct, but our git/ssh-config is wrong. This can probably be closed, but I may come back to you, when it's resolved. |
Ok, we finally sorted this thing out and I write about the problems here in case someone else will run into this in the future. Another problem emerged then: private-bower checks out the repositories to a temp folder within the private-bower folder (on Ubuntu it's
It would probably be a good idea to switch to some node module which provides system independent access to a temp folder, to make sure this stuff works independently from the system and user environment private-bower runs on. |
Hello, here I have a similar issue, can somebody tell me how to give private-bower server access to the git repo? I set up private-bower on my local machine (windows), also added ssh key to git repo so I was able to clone/push to that repo... please help cc @Hacklone |
We just updated to private-bower 1.1, but unfortunately the package details (#109) aren't shown (error message appears in web ui).
Clicking a package name in the web ui triggers a GET request to an URL like this:
http://private-bower.our-company.intra/packages/angular/details
which returns a 404.Our private-bower instance caches third party git packages, so the config looks like this:
Calling
http://our-host.company.intra/packages/angular
returns the following JSON document (not sure if this is helpful, but maybe it is):The text was updated successfully, but these errors were encountered: