We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境:Ubuntu20.04 LTS 前台启动命令:python3 route_bot.py 后台启动命令:nohup python3 route_bot.py &
我在使用前台启动命令时,频道机器人是能够正常访问并输出结果的,证明我的代码并没有问题。 但在使用nohup命令将该程序启动时,频道机器人无法正常输出结果,且查看nohup命令结果如下: ''' [INFO] (client.py:159)_bot_login [botpy] 登录机器人账号中... [INFO] (client.py:178)_bot_init [botpy] 程序启动... [INFO] (connection.py:59)multi_run [botpy] 最大并发连接数: 1, 启动会话数: 1 [INFO] (client.py:236)bot_connect [botpy] 会话启动中... [INFO] (gateway.py:110)ws_connect [botpy] 启动中... [INFO] (gateway.py:136)ws_identify [botpy] 鉴权中... [INFO] (gateway.py:80)on_message [botpy] 机器人「路线bot」启动成功! [INFO] (gateway.py:217)_send_heart [botpy] 心跳维持启动... [ERROR] (http.py:73)_handle_response [botpy] 接口请求异常,请求连接: https://api.sgroup.qq.com/channels/633600421/messages, 错误代码: 500, 返回内容: {'message': 'internal error', 'code': 102}, trace_id:b2f1b2bee7870754fa7a3edab3e1e150 ''' 如该日志所示,报了500错误并且102的code,我尝试了不下10次都是同样的结果,请问这个问题该怎么解决?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
环境:Ubuntu20.04 LTS
前台启动命令:python3 route_bot.py
后台启动命令:nohup python3 route_bot.py &
我在使用前台启动命令时,频道机器人是能够正常访问并输出结果的,证明我的代码并没有问题。
但在使用nohup命令将该程序启动时,频道机器人无法正常输出结果,且查看nohup命令结果如下:
'''
[INFO] (client.py:159)_bot_login [botpy] 登录机器人账号中...
[INFO] (client.py:178)_bot_init [botpy] 程序启动...
[INFO] (connection.py:59)multi_run [botpy] 最大并发连接数: 1, 启动会话数: 1
[INFO] (client.py:236)bot_connect [botpy] 会话启动中...
[INFO] (gateway.py:110)ws_connect [botpy] 启动中...
[INFO] (gateway.py:136)ws_identify [botpy] 鉴权中...
[INFO] (gateway.py:80)on_message [botpy] 机器人「路线bot」启动成功!
[INFO] (gateway.py:217)_send_heart [botpy] 心跳维持启动...
[ERROR] (http.py:73)_handle_response [botpy] 接口请求异常,请求连接: https://api.sgroup.qq.com/channels/633600421/messages, 错误代码: 500, 返回内容: {'message': 'internal error', 'code': 102}, trace_id:b2f1b2bee7870754fa7a3edab3e1e150
'''
如该日志所示,报了500错误并且102的code,我尝试了不下10次都是同样的结果,请问这个问题该怎么解决?
The text was updated successfully, but these errors were encountered: