部署Python环境之后运行脚本显示Internal Server Error

查看dtable_web.log日志发现有如下信息:

2024-04-24 20:13:45 [ERROR] seahub.api2.endpoints.run_script[134] - HTTPConnectionPool(host=‘python-scheduler’, port=80): Max retries exceeded with url: /run-script/ (Caused by NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x7f7dccaa6250>: Failed to establish a new connection: [Errno 111] Connection refused’))
2024-04-24 20:13:45 [ERROR] django.request[241] - Internal Server Error: /api/v2.1/dtable/627fde0e-187d-4ab0-a636-41490a02d049/run-script/KtLJ.py/

docker方式,均为最新版本。Python 运行器与SeaTable 部署在同一台主机上

 .env
COMPOSE_FILE='docker-compose.yml,python-pipeline.yml'
COMPOSE_PATH_SEPARATOR=','


SEATABLE_IMAGE=seatable/seatable-developer:latest

SEATABLE_VOLUMES=/opt/seatable/seatable-data
SEATABLE_MYSQL_VOLUMES=/opt/seatable/mysql-data
SEATABLE_MYSQL_DB_HOST=mariadb
SEATABLE_MYSQL_ROOT_PASSWORD=db_password

TIME_ZONE='Asia/Shanghai'

SEATABLE_SERVER_HOSTNAME=demo.seatable.com
SEATABLE_SERVER_PROTOCOL=http
SEATABLE_SERVER_LETSENCRYPT=False
SEATABLE_SSL_PORT=

SEATABLE_ADMIN_EMAIL=ksqida@126.com
SEATABLE_ADMIN_PASSWORD=admin_passowrd

PYTHON_SCHEDULER_AUTH_TOKEN=相同
PYTHON_SCHEDULER_URL=http://python-scheduler
PYTHON_SCHEDULER_LOGS_DIR=/opt/seatable/python-pipeline/logs/scheduler-logs

PYTHON_STARTER_USE_ALTERNATIVE_FILE_SERVER_ROOT=True
PYTHON_STARTER_ALTERNATIVE_FILE_SERVER_ROOT=http://seatable
PYTHON_STARTER_LOGS_DIR=/opt/seatable/python-pipeline/logs/starter-logs

SEATABLE_SCHEDULER_IMAGE=seatable/seatable-python-scheduler:latest
SEATABLE_STARTER_IMAGE=seatable/seatable-python-starter:latest
SEATABLE_RUNNER_IMAGE=seatable/seatable-python-runner:latest