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

.erlang.cookie missing #1

Open
xeniter opened this issue Jan 24, 2020 · 1 comment
Open

.erlang.cookie missing #1

xeniter opened this issue Jan 24, 2020 · 1 comment

Comments

@xeniter
Copy link

xeniter commented Jan 24, 2020

when i start the image with

sudo docker run --network host -it tmate/tmate-websocket:latest

i get following error:

a secret cookie must be provided in one of the following ways:\n - with vm.args using the -setcookie parameter,\n or\n by writing the cookie to '/home/app/.erlang.cookie', with permissions set to 0400

any idea for what i need this erlang.cookie or how to properly create it?

@nviennot
Copy link
Member

nviennot commented Feb 18, 2020

I highly recommend using tilt to run the infrastructure. Follow the Development Environment section on https://tmate.io/

tmate doesn't use the erlang node-to-node communication, so the cookie is not used. You should be fine without it. If you still want to have it, this is how it's done: https://github.com/tmate-io/tmate-kube/blob/master/prod/session.yaml#L112

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