I'm stuck upgrading enterprise-chatops to 3.0.2
WillAbides opened this issue · 4 comments
I'm trying to upgrade enterprise-chatops to 3.0.2 in https://github.com/github/enterprise-chatops/pull/38. The new authentication is throwing me off. I tried following the docs in #16, but it's throwing the 500 error below when it responds to /_chatops/.
The relevant environment variables are:
snip
snip
This error looks like the public key with newlines did not get read in correctly. What does ENV["CHATOPS_AUTH_PUBLIC_KEY"]
look like?
@bhuga
Is this right?
irb(main):010:0> puts ENV['CHATOPS_AUTH_PUBLIC_KEY']
-----BEGIN RSA PUBLIC KEY-----
snip
-----END RSA PUBLIC KEY-----
@WillAbides sorry, I missed your response. That looks right. Are you still having trouble here? Can I get a console on whatever is causing this?
I did some digging here. There's some inconsistencies.
On the staging server, the environment variables are weird.
@WillAbides does this ring any bells? Anything obvious to tweak here?