【问题标题】:debian uwsgi not built with ssl supportdebian uwsgi 不是用 ssl 支持构建的
【发布时间】:2014-06-12 21:16:00
【问题描述】:

我最近通过 aptitude 在 debian 上安装了 uwsgi 2.0.3。 现在我正在尝试运行默认的 websocket 示例,但日志告诉我:

you need to build uWSGI with SSL support to use the websocket handshake api function !!!
[uwsgi-perl error] unable to complete websocket handshake at ...

我有点困惑,因为我找不到 ssl 插件,而且我看不到任何打开/关闭 ssl 支持的选项。我真的很想坚持 aptitude,手动安装 uwsgi 不是首选,此外我也不知道如何手动启用它。

有谁知道如何在 debian 中以 aptitude 方式启用 uwsgi-ssl 支持?

顺便说一句。 我还使用 aptitude remove --purge uwsgi 删除了 uwsgi 安装 libssl-dev 并重新安装 uwsgi 但没有运气:(

【问题讨论】:

    标签: ssl websocket debian uwsgi apt


    【解决方案1】:

    如果你想要 SSL 支持,你必须自己编译 uwsgi。 Debian 尚未打包支持 SSL 的 uwsgi 版本。我知道,更新很烦人……但你别无选择。

    你只需要运行apt-get install build-essential python python-dev libssl-dev,然后运行python uwsgiconfig.py ...

    【讨论】:

    • 真可惜,我问包维护者是否有机会得到这个集成...谢谢回复
    猜你喜欢
    • 1970-01-01
    • 2014-08-02
    • 2014-03-07
    • 2017-11-21
    • 2012-04-23
    • 2010-09-16
    • 1970-01-01
    • 2019-05-10
    • 1970-01-01
    相关资源
    最近更新 更多