db icon indicating copy to clipboard operation
db copied to clipboard

Go get certificate expired?

Open erichulburd opened this issue 8 years ago • 12 comments

I'm currently getting this message when running dep ensure:

✗ unable to deduce repository and source type for "upper.io/db.v3": unable to read metadata: unable to fetch raw metadata: failed HTTP request to URL "http://upper.io/db.v3?go-get=1": Get https://upper.io/db.v3?go-get=1: x509: certificate has expired or is not yet valid

Below is my Gopkg.toml:

[[constraint]]
  version = "0.3"
  name = "github.com/thoas/go-funk"

[[constraint]]
  name = "upper.io/db.v3"
  version = "v3.5.1"

[[constraint]]
  version = "v0.7.2"
  name = "github.com/hypnoglow/oas2"

[[constraint]]
  version = "v1.0.6"
  name = "github.com/sirupsen/logrus"

[[constraint]]
  version = "v3.2.0"
  name = "github.com/dgrijalva/jwt-go"

[[constraint]]
  version = "0.2"
  name = "github.com/google/uuid"

[[constraint]]
  version = "v2.3.0"
  name = "github.com/pressly/goose"

[[constraint]]
  name = "golang.org/x/crypto"
  revision = "614d502a4dac94afa3a6ce146bd1736da82514c6"

[[constraint]]
  name = "github.com/tebeka/selenium"
  revision = "a49cf4b98a36c2b21b1ccb012852bd142d5fc04a"

[[constraint]]
  name = "github.com/getsentry/raven-go"
  revision = "a9457d81ec91fa6d538567f14c6138e9ce5a37fb"

[[constraint]]
  name = "github.com/dnaeon/go-vcr"
  revision = "aafff18a5cc28fa0b2f26baf6a14472cda9b54c6"

[prune]
  go-tests = true
  unused-packages = true

erichulburd avatar Nov 08 '18 00:11 erichulburd

Is this yet another reason to switch to github.com import paths? #424

Looks like https://upper.io/db.v3?go-get=1 fails with NET::ERR_CERT_DATE_INVALID SSL cert error.

VojtechVitek avatar Nov 08 '18 02:11 VojtechVitek

up

tix-galih-widyarta avatar Nov 08 '18 03:11 tix-galih-widyarta

+1 with go11 mod, please fix the cert first

whisper-bye avatar Nov 08 '18 03:11 whisper-bye

Up+

harryleonardo avatar Nov 08 '18 03:11 harryleonardo

up+

abduld avatar Nov 08 '18 06:11 abduld

up+

kahoona77 avatar Nov 08 '18 07:11 kahoona77

I am still getting unable to deduce repository and source type for "upper.io/db.v3": unable to read metadata

csylaios avatar Nov 08 '18 08:11 csylaios

Looks like it happens because of expired certificate for https://upper.io/db.v3/

Expired: Thursday, November 8, 2018 at 1:59:59 AM Eastern European Standard Time

nicumaxian-ellation avatar Nov 08 '18 09:11 nicumaxian-ellation

up+

pauliusmiksys avatar Nov 08 '18 12:11 pauliusmiksys

up

nicolasgere avatar Nov 08 '18 15:11 nicolasgere

I see the issue is still not resolved.

I used the following temporary and horrible workaround:

Forked the repo, checked out v3.5.5 and refactored all imports using:

for i in $(git grep -l upper.io/db.v3); do sed -i -e 's#upper.io/db.v3#github.com/andreas-kokkalis/db#g' $i; done

Did the same in my own projects where upper.io/db.v3 was imported.

I use dep in my projects, so in Gopkg.toml added:

[[constraint]]
  name = "github.com/andreas-kokkalis/db"
  branch = "workaround"

I don't suggest using the fork, or that branch, as you might need a different version, and I plan to delete it once the issue is fixed.

[EDIT] cert is renewed, disregard msg.

andreas-kokkalis avatar Nov 08 '18 15:11 andreas-kokkalis

Folks, I'm soooo sorry. We're gonna drop the custom domain, I promise. I just have too many things going on recently and haven't been able to cope with them all. I am not justifying my carelessness it's just that I need to take care of these personal issues before I can go back to this.

Sorry, this has happened too many times now, I can't believe it... Anywise, the cert works again now and we're gonna drop the custom domain soon.

TL;DR: the cert works again, please confirm.

xiam avatar Nov 08 '18 16:11 xiam