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

API error (500) during tests #419

Closed
janekolszak opened this issue Apr 13, 2017 · 5 comments
Closed

API error (500) during tests #419

janekolszak opened this issue Apr 13, 2017 · 5 comments

Comments

@janekolszak
Copy link

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
Copy link
Member

aeneasr commented Apr 13, 2017

Which docker version are you using?

@janekolszak
Copy link
Author

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
Copy link
Author

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

@aeneasr
Copy link
Member

aeneasr commented Apr 13, 2017

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

@aeneasr
Copy link
Member

aeneasr commented Apr 13, 2017

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

aeneasr pushed a commit that referenced this issue Apr 14, 2017
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