5.1提前放价,3年企业版2399元,立省600元!查看活动
当前位置:论坛首页 > BUG提交 > Windows面板

【已解答】开启面板SSL 自签证书报错

发表在 BUG提交2026-4-8 23:43 [复制链接] 1 286

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:8.5.2

系统版本:win11 专业版

问题描述:开启面板SSL 自签证书报错

相关截图(日志、错误):

获取证书失败:
TypeError
TypeError: The view function did not return a valid response. The return type must be a string, dict, list, tuple with headers or status, Response instance, or WSGI callable, but it was a bool.

Traceback (most recent call last)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2552, in __call__
    def __call__(self, environ: dict, start_response: t.Callable) -> t.Any:
        """The WSGI server calls the Flask application object as the
        WSGI application. This calls :meth:`wsgi_app`, which can be
        wrapped to apply middleware.
        """
        return self.wsgi_app(environ, start_response)
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2532, in wsgi_app
            try:
                ctx.push()
                response = self.full_dispatch_request()
            except Exception as e:
                error = e
                response = self.handle_exception(e)
            except:  # noqa: B001
                error = sys.exc_info()[1]
                raise
            return response(environ, start_response)
        finally:
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 2529, in wsgi_app
        ctx = self.request_context(environ)
        error: t.Optional[BaseException] = None
        try:
            try:
                ctx.push()
                response = self.full_dispatch_request()
            except Exception as e:
                error = e
                response = self.handle_exception(e)
            except:  # noqa: B001
                error = sys.exc_info()[1]
File "/www/server/panel/pyenv/lib/python3.7/site-packages/flask/app.py", line 1826, in full_dispatch_request
            rv = self.preprocess_request()
            if rv is None:
                rv = self.dispatch_request()
        except Exception as e:
            rv = self.handle_user_exception(e)
        return self.finalize_request(rv)

    def finalize_request(
        self,
        rv: t.Union[ft.ResponseReturnValue, HTTPException],
        from_error_handler: bool = False,
.............
下载.png 下载 (1).png
使用道具 举报 只看该作者 回复
发表于 2026-4-9 16:38:44 | 显示全部楼层
您好,这一块有点问题,现别开启SSL证书了。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表