“未找到libssl的可用版本”。在Heroku-22堆栈上使用.net 5
我的应用程序可以与Heroku0-20堆栈一起使用,但是当我升级到22号堆栈时,我没有找到“没有可用版本的libssl版本”。我正在使用.NET Core 5,这可能意味着我需要LIBSSL。
如何将其安装在Heroku Dyno上?
My app is working fine with the Heroku0-20 stack, but when I upgrade to stack 22, I get "No usable version of libssl was found". I am using .NET Core 5, and it likely means I need libssl.
How can I install it on the Heroku dyno?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以使用Heroku CLI运行此命令,以恢复堆放Heroku-20
You can run this command with heroku CLI to revert back to stack Heroku-20
Ubuntu 22.04(焦点) - Heroku -22堆栈基于的 - 升级到.net 5不支持 openssl 3.0 。 。 openssl 1.xy 在您的堆栈中,因此您的.NET程序可以找到它。
Ubuntu 22.04 (Focal) - what the Heroku-22 stack is based off - upgraded to OpenSSL 3.0 which is not supported by .net 5. You will need to either upgrade .net to some
7.x
version (it appears based on GitHub issue details) or install OpenSSL 1.x.y in your stack so its present for your .net program to find it.