-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
0.2.2-sandbox+oryOS.10: Unable to initialize compiler: lstat /go: no such file or directory #73
Comments
I have also run into this problem, same issue on |
What OS? |
I’m runnning the Docker image from DockerHub. In my case, it doesn’t even specify which file is is not found. The process immediately gets shutdown due to this error.
|
I think i found the issue, seems to be in this block on HTTPS server start. The certs are not actually set in the http.Server tls config Lines 126 to 130 in ed7af3f
|
Are you running it with TLS configured or without? |
I am running |
Can you make sure that the paths are set correctly? Could you maybe show the env config? |
They are set correctly, using The From tlsx: |
Right, the logic here seems to be messed up. TLSConfig should be nil in case of |
@aeneasr I am facing the same issue on Mac. I am building from source and I pull in the src using |
Ohhh, that's possible. Damn, any ideas how to fix that? |
One solution could be adding a placeholder .go file inside the rego folder. I imagine this will force go mod vendor to download all the necessary code required to run keto serve. I tried forking latest master and running with proposed solution but I kept getting the resty import issues, I will try again today. |
Also, the DockerFile needs to be updated. You have to copy the rego folder into your docker release image here. Let me know if it needs further clarification. |
Whoops, reopening because this is two issues in one |
Closes #73 Signed-off-by: aeneasr <[email protected]>
Closes #73 Signed-off-by: aeneasr <[email protected]>
I got a similar error with yesterday's master:
|
This is probably caused by: #79 (comment) |
I have a nix derivation that reproduces the problem (while packaging ORY for NixOS). https://github.com/piensa/nur-packages/blob/master/pkgs/keto/default.nix |
Ok, it seems like there were several issues:
This has all been fixed now and is being merged with #84 |
Closes #73 Closes #81 Signed-off-by: aeneasr <[email protected]>
0.2.3 is now on it's way where this should be solved |
Describe the bug
Version [0.2.2-sandbox+oryOS.10]
keto serve
=> Unable to initialize compiler: lstat /go: no such file or directory
Version [v0.1.9-sandbox+oryOS.9]
keto serve
=> work well
To Reproduce
Steps to reproduce the behavior:
keto serve
Version:
The text was updated successfully, but these errors were encountered: