Go get certificate expired?
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
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.
up
+1 with go11 mod, please fix the cert first
Up+
up+
up+
I am still getting unable to deduce repository and source type for "upper.io/db.v3": unable to read metadata
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
up+
up
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.
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.