-
Notifications
You must be signed in to change notification settings - Fork 954
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
Cannot deploy app with "paramiko" as dependency #3277
Comments
Work-around: Use subprocess and native ssh instead of paramiko
|
Are you keeping any ssh related objects in the State? That pickling error is coming from reflex trying to pickle the state for redis (prod mode) |
Yes I am reading a bench of ssh keys stored in text files and creating paramiko.RSAKey objects at initialization and keeping it in a dict |
Are the SSH keys per user of the app or are they shared among users of the app? |
The goal of the app is to manage ~100 servers. Each server RSA key is stored as plain text in App's server uploaded_files/ folder (self hosting) Users (administrators of the servers) log to the app and choose the server they want to configure from a dropdown menu, at this point, the app reads the RSA key and opens an SSH connection to the chosen server |
Describe the bug
Cannot deploy app with "paramiko" as dependency.
Getting this error when running the application
To Reproduce
Deploy application with this requirement.txt
Expected behavior
Application should run like in localhost:3000 mode
Specifics (please complete the following information):
The text was updated successfully, but these errors were encountered: