zhaoyong

Results 2 comments of zhaoyong

exception=ContentTypeError(RequestInfo(url=URL('http://10.3.240.112:20052/toLogin'), method='GET', headers=, real_url=URL('http://10.3.240.112:20052/toLogin')), ( ,), message='Attempt to decode JSON with unexpected mimetype: text/html;charset=utf-8', headers=)> Traceback (most recent call last): File "/dev/venv/my_venv/lib/python3.12/site-packages/pyxxl/executor.py", line 228, in _run await self.xxl_client.callback(data.logId, start_time, code=200,...

> 同蹲,解决方法 检查你所使用的xxl-job-admin的配置,查看是否配置了上下文路径;如果没有把ExecutorConfig配置中的xxl_admin_baseurl修改为xxl_admin_baseurl="http://localhost:10052/api/"。