Unable to authenticate / Error connection closed Rails

Yes i used it but it’s not showing anything and if i try to puts into the console i get nilvalue

Then it means that this value is not correctly initialized or retrieved. We need to find where there is a problem:

  1. Is it a typo in the environment variable?
  2. Is there a problem in the way environment variable is retrieved?
  3. Is there a problem with the secret value?
  4. Is there a problem in the initialization of forestLiana?

Regarding these points:

  1. I did not see any typo
  2. Can you use puts to log ENV["APPLICATION_URL_FOREST"] to check that we correctly get this value?
  3. Can you share your secrets.yml with the different sections, but without the secret values? I would like to check that all sections (prod/dev) are correctly set. In addition to that, can you check that your application is correctly launched with the right environment (production/development)
  4. Can you add a log when the liana is initialized to log the value of Rails.application.secrets.forest_application_url?
1 Like

Hello,

thanks for your answer and sorry for the delay i was unfortunately unable to do anything since the last time we spoke !

It worked, because of the secrets.yml, i didn’t add the APPLICATION_URL_FOREST to the staging env … my bad ! :slight_smile:

Thaks a lot for you help