zhayujie / bot-on-anything

Connect AI models (like ChatGPT-3.5/4.0, Baidu Yiyan, New Bing, Bard) to apps (like Wechat, public account, DingTalk, Telegram, QQ). 将 ChatGPT、必应、文心一言、谷歌Bard 等对话模型连接各类应用,如微信、公众号、QQ、Telegram、Gmail、Slack、Web、企业微信、飞书、钉钉等。
MIT License
3.87k stars 906 forks source link

网站配置报错 Internal Server Error #394

Open cocsea opened 1 year ago

cocsea commented 1 year ago

登录进去后报: Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. 后台打印了: Traceback (most recent call last): File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 2190, in wsgi_app response = self.full_dispatch_request() File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1486, in full_dispatch_request rv = self.handle_user_exception(e) File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1484, in full_dispatch_request rv = self.dispatch_request() File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1469, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "C:\Soft\bot-on-anything-master\channel\http\http_channel.py", line 105, in login response.set_cookie(key='Authorization', value=token) File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\sansio\response.py", line 261, in set_cookie dump_cookie( File "C:\Users\PC\AppData\Local\Programs\Python\Python39\lib\site-packages\werkzeug\http.py", line 1465, in dump_cookie if not _cookie_no_quote_re.fullmatch(value): TypeError: expected string or bytes-like object