Hello, I'm facing quite a strange issue with GCP (Google Cloud Platform) deployments.--
I've recently updating my Ruby on Rails application to 5.2 (was 5.1.4 previously) and I started using the the encrypted credentials feature (which I believe is amazing, to be honest), but it looks like GCP is not that happy with it.
Here is the traceback that I receive.
The first error (DSN not set) is most likely coming from Sentry, although the DSN was added to the encrypted credentials file and Sentry if configured correctly.
Second error (Cannot load `Rails.application.database_configuration`) makes me think that it's something related to database.yml, which works just fine in development and test environments.
The third error (OpenSSL::Cipher::CipherError: key length too short) makes me think that maybe the master key is not found during the deploy and maybe that's why it also can't find the Sentry DSN?
Has anyone else encountered a similar issue?
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/204e93bf-1ff8-4b4b-9123-50d6df4f53aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
|Free forum by Nabble||Edit this page|