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

Some referenced packages are showing as "not found" #25

Open
xi2 opened this issue Sep 26, 2015 · 2 comments
Open

Some referenced packages are showing as "not found" #25

xi2 opened this issue Sep 26, 2015 · 2 comments

Comments

@xi2
Copy link

xi2 commented Sep 26, 2015

Hi. Firstly, thank you for making Go Search. It's a useful tool.

I have noticed that some of my own packages are showing as "not found" on go-search.org, even though they are shown as imports of other packages. They begin "xi2.org/x/..."

For example, if you view the page http://go-search.org/view?id=github.com%2fklauspost%2fpassword and select my package "xi2.org/x/xz" which appears as an import at the bottom of that page you get the "not found" response.

I decided I would try to debug the issue, so I downloaded the source and compiled gcse myself. I ran it and limited the crawl to just a handful of packages including my own, and to my surprise it worked fine when I ran it locally! So I can't help debug it it would seem since there must be something different about my local environment :(

As far as I know the packages download fine with "go get" and they show up ok on godoc.org. Any ideas? Is there something weird about my web server?

It might seem quite conceited of me to be concerned about my own packages, but you never know, it might also be happening to someone else's too.

Best wishes

@daviddengcn
Copy link
Owner

Checking the logs, here is the reason I guess so far:
Request to "xi2.org/x/xz" will be redirected to "github.com", but the crawler does not use autheticated requests, so it leads to a very low rate limit.
The fix needs some modification on the crawler package.

@xi2
Copy link
Author

xi2 commented Sep 30, 2015

Thanks for replying. I hope the crawler modification is not too big a change.

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

2 participants