ory / hydra

The most scalable and customizable OpenID Certified™ OpenID Connect and OAuth Provider on the market. Become an OpenID Connect and OAuth2 Provider over night. Broad support for related RFCs. Written in Go, cloud native, headless, API-first. Available as a service on Ory Network and for self-hosters.
https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=hydra
Apache License 2.0
15.68k stars 1.5k forks source link

API error (500) during tests #419

Closed janekolszak closed 7 years ago

janekolszak commented 7 years ago

Hi! I try to run hydra's tests but they fail with:

~/go/src/github.com/ory-am/hydra$ go test ./client/
2017/04/13 22:58:24 Could not start resource: : API error (500): {"message":"invalid environment variable: "}

I installed dependencies with glide install. I also installed dockertest: glide get gopkg.in/ory-am/dockertest.v3.

aeneasr commented 7 years ago

Which docker version are you using?

janekolszak commented 7 years ago
docker version
Client:
 Version:      17.03.0-ce
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   60ccb22
 Built:        Thu Feb 23 11:02:43 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.03.0-ce
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   60ccb22
 Built:        Thu Feb 23 11:02:43 2017
 OS/Arch:      linux/amd64
 Experimental: false
janekolszak commented 7 years ago

Maybe it has something to do with hydra's path? I still have it under ory-am

aeneasr commented 7 years ago

No, it's something with dockertest or the common library. I'll look into it tomorrow

aeneasr commented 7 years ago

Yup, it's the common library, fixed there: https://github.com/ory/common/releases/tag/v0.4.0

Still need to update hydra and ladon deps