Hello. I’m trying to set a secret that is kinda long. It’s a base64 encoded string. Seems like it causes a crash and app won’t revert to previous state. I wonder, is there any limitation to secret size?
I’m not aware of any limitation with length of secrets, though there likely is a limit.
I’ve stored some SSL certificates that are base64 encoded into secrets with no problems.
Have you narrowed down when the crash occurs? Does it occur when the VM is being provisioned? Or does it happen after your code has started executing?
You can get a real time view of whats going on by running fly logs
in one terminal then running fly deploy
in another terminal.
1 Like