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

vanity url connection failure #21

Closed
cj123 opened this issue Oct 10, 2018 · 5 comments
Closed

vanity url connection failure #21

cj123 opened this issue Oct 10, 2018 · 5 comments

Comments

@cj123
Copy link

cj123 commented Oct 10, 2018

Hi,

The recommended import path mvdan.cc/xurls does not connect.


  ✗ unable to deduce repository and source type for "mvdan.cc/xurls": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://mvdan.cc/xurls?go-get=1": Get http://mvdan.cc/xurls?go-get=1: dial tcp 178.62.67.243:80: connect: connection refused

I have resolved this by using the link to this github repository.

@mvdan
Copy link
Owner

mvdan commented Oct 10, 2018

Nginx had stopped for some weird reason. It's up again - thanks for reporting.

@mvdan mvdan closed this as completed Oct 10, 2018
@sumanthjoel
Copy link

Hi,

I am facing the same issue, temporarily solved using github repo.

go get -u mvdan.cc/xurls
package mvdan.cc/xurls: unrecognized import path "mvdan.cc/xurls" (https fetch: Get https://mvdan.cc/xurls?go-get=1: dial tcp 178.62.67.243:443: getsockopt: connection refused)

@mvdan
Copy link
Owner

mvdan commented Dec 26, 2018

Nginx had stopped again - restarted again. I know this is far from ideal, but the internet will be unreliable anyway, so you should be vendoring/caching/mirroring your dependencies.

@cj123
Copy link
Author

cj123 commented Dec 26, 2018

Really this brings up a question of the necessity/validity of vanity URLs. Your comment on vendoring/caching etc is only valid for “existing” packages. If someone new wants to use your package and nginx is down, that’s a problem.

@mvdan
Copy link
Owner

mvdan commented Dec 26, 2018

That's why the Go team is working on package mirrors and notaries. Vanity URLs actually help with keeping the system working. If GitHub was to disappear in two years (which is entirely possible, see Sourceforge or Google Code), most of the Go packages would need to be renamed, but not mine.

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