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

Toggle key exchange not working #164

Open
eliasbakken opened this issue Feb 15, 2021 · 2 comments
Open

Toggle key exchange not working #164

eliasbakken opened this issue Feb 15, 2021 · 2 comments
Assignees
Labels

Comments

@eliasbakken
Copy link

With the current setup, Toggle gets the right credentials as soon as a user is created during Octoprint firstrun/wizard. However, the credentials are not valid until a restart of Octoprint has happened. Once an OctoPrint restart is done and then a toggle restart is done after that will the credentials be valid.

A workaround is to restart octoprint
systemctl restart octoprint
and then restart toggle
systemctl restart toggle

@eliasbakken
Copy link
Author

It is possible to create a user through the OctoPrint command line interface. The command must be run as user debian though.

@eliasbakken
Copy link
Author

Unfortunately this does not trigger a reload of the user database.
It seems like the preferred workflow is to apply for an application key: https://docs.octoprint.org/en/master/bundledplugins/appkeys.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants