staticman
staticman copied to clipboard
getting app error when setting up heroku
I am at the point where I clicked the deploy heroku instance, put my keys in, and now need to go here:
https://statiman-dleviminzi.herokuapp.com/v2/connect/dleviminzi/dleviminzi.github.io
However, I get:
Application error An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command heroku logs --tail
I looked at a previous thread that was similar and have my key looking like this:
-----BEGIN RSA PRIVATE KEY-----VmlozVC8WKmEGrZf0KmhVe6yu50Ibaw1C3q94Sf+Lm8kHEAf/C12vcqB7cpFV/TOZCwixBDqnWYNwCofuYduuGglNKIUpyljFCeWUxcSAL72Fw7u/663fwF5UGDGan3TctisMtURqtvjpFQF4g/LvtfIm7JRYWCH47Oct0iUqQgLKW9i6v7nVly4I78owVQsIjd5QzwssvibgJ5PKm8JfPH4XGf7Ai7wY7/49OtCgYPq2bPO/B9NBI3A3P5dQkD3mxJZBE0By3HHzealXxJbTW+a9EjAE4ALQIxTeeKUod9b29F6s5ZfIsSuLfCSMAk8r860IijPyOPiPhCSve42lwQK0L+Qajy40yIWGl9lUkOHFQ67p+WGptyvmIszT+KN1MV23LjogaQdXx5PjQQ1EzjEkMd8KmOEKrvk0p3c+T/s0kNztTW8waMBp4aobXKxMHPTxeKlWew1cKHuzu49wwkQP5+TpqGI9dHuXSu6qZJiQmz2oSbF/TS8seJOfbpFBnS9S5tbFlOClQHv3G2EPN9O2703sRqUEjNkepT9eBM5Pgvms+3AGMLhLLo/O1asNi0jeqTnhOs8e71bLWA9dMq4grGgtiB4ZkrJKNTz52mBf5hzxB+UfFvR4fUZtb/svZwovXwH9uhGKoNfXE9Yn8fYj93jY9tiTkNJgo9ByHObnDXUHS4Tl+2D9bWKYvBF1n/Ahtwz7TBjxTcyP+S1VZr4dPvNdR0cWc2bv4M2stvlAk0045b3/pmD4h6/JEw2qpmC3UEVOpRgfDbEr1k7+9+AybzTJVimdNsk43uB9O0dPCMzdk8q81oWBoVAi0xcfVWfG72tKbSdBN+aEZ/giE8aCVc1CjZ6OAh6ALjpo+UYmOTS5Nk0z6gOpqUnGaQnGiNNFPBw6ouNKz2LBbsnXNTCRkO+8e0qXiIRxEliFbiS6-----END RSA PRIVATE KEY-----
I deleted chunks of it to save some space ^
Anyways, I am not sure what to do from here. Any help would be very appreciated.
The hint to your problem is in the heroku logs. View the log in the Heroku CLI. Recommend installing this tool to view the logs. https://devcenter.heroku.com/articles/heroku-cli https://devcenter.heroku.com/articles/heroku-cli
My notes on Staticman at Heroku: https://spinningnumbers.org/a/staticman-heroku.html https://spinningnumbers.org/a/staticman-heroku.html
I faced this same Issue and my problem was just a wrong S at the of the RSA_[...] env key.
@dleviminzi I was also having issues with that and I solved using Makefile to setup Heroku, you might want to try it out: https://github.com/shaftoe/staticman
The simplest way to solve this problem is to edit the variable through the online dashboard.
Screenshot of the RSA_RPIVATE_KEY
variable.
Successful example: https://github.com/VincentTam/TestStaticmanLab/pull/95