-
Notifications
You must be signed in to change notification settings - Fork 42
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
Error reading data from stream #89
Comments
So first, I'd consider that branch WIP. Want to get it working but I don't think anyone has it deployed anywhere. |
Here's the agent log (I added a bunch of debug statements):
|
Also, here's my server config (I guessed at the config for a keys file): {
"userstorage": "file",
"keysfile": {
"filepath": "/etc/hologram/keys",
"roleattr": "businessCategory",
"defaultroleattr": "employeeType"
},
"aws": {
"account": "xxxxx",
"defaultrole": "hologram"
},
"listen": "0.0.0.0:3100",
"cachetimeout": 3600,
"debug": true
} And keys file: {
"keys": [
{
"username": "bantonelli",
"password": "foo",
"sshPublicKeys": [ "ssh-rsa xxxxxx OpenShift-Key" ]
}
]
} |
It looks like the error is happening when the client agent is attempting to do the read: https://github.com/AdRoll/hologram/blob/credential_keys_in_text_file/agent/client.go#L185 |
The keys file should be:
and in the server.json:
(the line in each about roles being optional) |
I made the changes you noted, but I'm still hitting the same error.
Client Log:
Server Log:
|
I have deployed the Hologram server to an EC2 instance running Debian and when I run
hologram use foo
I see the connection opened on the server but then something is closing it. BTW, I'm building the binaries from thecredential_keys_in_text_file
branch.The text was updated successfully, but these errors were encountered: