You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the one-click install of Langflow on Railway (latest version), I can't seem to create any global variables. Getting the following error:
'Error creating variable
Fernet key must be 32 url-safe base64-encoded bytes'
Reproduction
Install latest version of Langflow on railway
Attempt to create a global variable
Expected behavior
I expect to be able to create a variable
Who can help?
No response
Operating System
Railway environment
Langflow Version
1.0.19
Python Version
None
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered:
Hey there, @MLorneSmith! I'm here to help you with any bugs, questions, or contributions you might have. Let's tackle this together!
I found a similar issue regarding the error message "Fernet key must be 32 url-safe base64-encoded bytes" when trying to create a global variable in Langflow version 1.0.19 on Railway. To resolve this error, ensure that the SECRET_KEY used in the get_fernet function is properly formatted. You can use the add_padding function to ensure the key is valid:
Make sure the SECRET_KEY is correctly set in your settings. If necessary, generate a new key using Fernet.generate_key() and update your settings with this new key [1].
Bug Description
After the one-click install of Langflow on Railway (latest version), I can't seem to create any global variables. Getting the following error:
'Error creating variable
Fernet key must be 32 url-safe base64-encoded bytes'
Reproduction
Expected behavior
I expect to be able to create a variable
Who can help?
No response
Operating System
Railway environment
Langflow Version
1.0.19
Python Version
None
Screenshot
No response
Flow File
No response
The text was updated successfully, but these errors were encountered: