-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Description
Self Checks
- This is only for bug report, if you would like to ask a question, please head to Discussions.
- I have searched for existing issues search for existing issues, including closed ones.
- I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
- [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
- Please do not modify this template :) and fill in all the required fields.
Dify version
1.2.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce

[worker packages 3/3] RUN poetry install --sync --no-cache --no-root:
21.64 Creating virtualenv dify-api in /app/api/.venv
24.89 The--sync
option is deprecated and slated for removal in the next minor release after June 2025, use thepoetry sync
command instead.
24.90 Installing dependencies from lock file
28.64
28.64 Package operations: 329 installs, 0 updates, 0 removals
28.64
28.64 - Installing frozenlist (1.5.0)
28.64 - Installing idna (3.10)
28.65 - Installing multidict (6.2.0)
28.65 - Installing propcache (0.3.0)
32.58 - Installing aiohappyeyeballs (2.6.1)
32.58 - Installing aiosignal (1.3.2)
32.59 - Installing certifi (2025.1.31)
32.59 - Installing urllib3 (2.3.0)
32.59 - Installing attrs (25.3.0)
32.60 - Installing charset-normalizer (3.4.1)
32.60 - Installing yarl (1.18.3)
33.47 - Installing aiohttp (3.11.14)
33.47 - Installing pyasn1 (0.6.1)
33.47 - Installing pycparser (2.22)
33.48 - Installing requests (2.31.0)
33.48 - Installing wrapt (1.17.2)
33.48 - Installing zipp (3.21.0)
35.53 - Installing alibabacloud-tea (0.4.2)
35.53 - Installing cachetools (5.3.3)
35.54 - Installing deprecated (1.2.18)
35.54 - Installing importlib-metadata (8.4.0)
35.55 - Installing protobuf (4.25.6)
35.55 - Installing h11 (0.14.0)
35.55 - Installing rsa (4.9)
35.56 - Installing sniffio (1.3.1)
35.56 - Installing pyasn1-modules (0.4.1)
35.56 - Installing cffi (1.17.1)
35.56 - Installing rpds-py (0.23.1)
35.57 - Installing typing-extensions (4.12.2)
42.23 - Installing alibabacloud-credentials (0.3.6)
42.24 - Installing alibabacloud-tea-util (0.3.13)
42.24 - Installing annotated-types (0.7.0)
42.24 - Installing anyio (4.9.0)
42.25 - Installing cryptography (44.0.2)
42.25 - Installing filelock (3.18.0)
42.25 - Installing fsspec (2025.3.0)
42.26 - Installing googleapis-common-protos (1.63.0)
42.26 - Installing grpcio (1.67.1)
42.27 - Installing google-auth (2.29.0)
42.27 - Installing hpack (4.1.0)
42.27 - Installing httpcore (1.0.7)
42.91 - Installing hyperframe (6.1.0)
43.12 - Installing markupsafe (3.0.2)
43.40 - Installing mdurl (0.1.2)
43.61 - Installing opentelemetry-api (1.27.0)
44.02 - Installing packaging (24.2)
44.04 - Installing proto-plus (1.26.1)
44.41 - Installing pydantic-core (2.23.4)
44.46 - Installing pyyaml (6.0.2)
45.15 - Installing referencing (0.36.2)
45.16 - Installing setuptools (76.1.0)
45.28 - Installing six (1.17.0)
45.55 - Installing tqdm (4.67.1)
52.41 - Installing alibabacloud-gateway-spi (0.0.3)
52.41 - Installing alibabacloud-openapi-util (0.2.2)
52.41 - Installing asgiref (3.8.1)
52.41 - Installing blinker (1.9.0)
52.42 - Installing click (8.1.8)
52.42 - Installing google-api-core (2.18.0)
52.43 - Installing google-crc32c (1.7.0)
52.43 - Installing greenlet (3.1.1)
52.43 - Installing h2 (4.2.0)
52.44 - Installing distro (1.9.0)
52.44 - Installing alibabacloud-tea-xml (0.0.2)
52.44 - Installing grpcio-status (1.62.3)
52.80 - Installing httpx (0.27.2)
52.85 - Installing huggingface-hub (0.29.3)
53.06 - Installing humanfriendly (10.0)
53.25 - Installing itsdangerous (2.2.0)
53.33 - Installing jinja2 (3.1.6)
53.74 - Installing jiter (0.9.0)
53.94 - Installing jmespath (0.10.0)
54.16 - Installing jsonschema-specifications (2024.10.1)
54.23 - Installing markdown-it-py (3.0.0)
54.34 - Installing mpmath (1.3.0)
54.74 - Installing mypy-extensions (1.0.0)
54.75 - Installing oauthlib (3.2.2)
54.81 - Installing opentelemetry-instrumentation (0.48b0)
55.14 - Installing opentelemetry-proto (1.27.0)
55.35 - Installing opentelemetry-semantic-conventions (0.48b0)
55.60 - Installing opentelemetry-util-http (0.48b0)
55.75 - Installing pydantic (2.9.2)
56.06 - Installing pygments (2.19.1)
56.12 - Installing pyjwt (2.8.0)
56.21 - Installing pyparsing (3.2.1)
56.60 - Installing python-dateutil (2.9.0.post0)
56.62 - Installing regex (2024.11.6)
57.14 - Installing soupsieve (2.6)
57.20 - Installing vine (5.1.0)
57.29 - Installing wcwidth (0.2.13)
57.68 - Installing werkzeug (3.1.3)
62.71 - Installing aiofiles (24.1.0)
62.71 - Installing alibabacloud-endpoint-util (0.0.3)
62.72 - Installing alibabacloud-oss-util (0.0.6)
62.72 - Installing alibabacloud-tea-fileform (0.0.5)
62.72 - Installing alibabacloud-tea-openapi (0.3.13)
62.73 - Installing amqp (5.3.1)
62.73 - Installing backoff (2.2.1)
62.73 - Installing aliyun-python-sdk-core (2.16.0)
62.74 - Installing botocore (1.35.99)
62.74 - Installing beautifulsoup4 (4.12.2)
62.75 - Installing azure-core (1.32.0)
62.75 - Installing coloredlogs (15.0.1)
63.42 - Installing crcmod (1.7)
63.78 - Installing decorator (5.2.1)
63.80 - Installing defusedxml (0.7.1)
64.09 - Installing deprecation (2.1.0)
64.51 - Installing durationpy (0.9)
64.82 - Installing et-xmlfile (2.0.0)
64.99 - Installing eval-type-backport (0.2.2)
65.15 - Installing flask (3.1.0)
65.16 - Installing flatbuffers (25.2.10)
65.49 - Installing google-cloud-core (2.4.3)
65.86 - Installing google-resumable-media (2.7.2)
66.21 - Installing grpc-google-iam-v1 (0.14.2)
66.59 - Installing httplib2 (0.22.0)
66.60 - Installing httptools (0.6.4)
67.11 - Installing iniconfig (2.0.0)
67.32 - Installing isodate (0.7.2)
67.46 - Installing jieba (0.42.1)
68.41 - Installing joblib (1.4.2)
68.51 - Installing jsonpath-python (1.0.6)
68.66 - Installing jsonschema (4.23.0)
69.05 - Installing llvmlite (0.44.0)
69.11 - Installing lxml (5.3.1)
70.35 - Installing mako (1.3.9)
72.30 - Installing marshmallow (3.26.1)
72.64 - Installing mmh3 (5.1.0)
73.58 - Installing monotonic (1.6)
73.60 - Installing msal (1.32.0)
74.13 - Installing nest-asyncio (1.6.0)
74.67 - Installing numpy (1.26.4)
75.16 - Installing olefile (0.47)
76.50 - Installing openai (1.61.1)
82.92 - Installing opentelemetry-exporter-otlp-proto-common (1.27.0)
84.01 - Installing opentelemetry-instrumentation-asgi (0.48b0)
84.72 - Installing opentelemetry-sdk (1.27.0)
85.69 - Installing pillow (11.1.0)
86.36 - Installing pluggy (1.5.0)
86.50 - Installing prompt-toolkit (3.0.50)
86.94 - Installing py (1.11.0)
87.04 - Installing pycryptodome (3.19.1)
87.71 - Installing pymysql (1.1.1)
87.97 - Installing pypdf (5.4.0)
88.70 - Installing pyproject-hooks (1.2.0)
88.91 - Installing python-dotenv (1.0.1)
89.25 - Installing pytz (2025.1)
89.61 - Installing rapidfuzz (3.12.2)
90.08 - Installing requests-oauthlib (2.0.0)
90.82 - Installing requests-toolbelt (1.0.0)
90.87 - Installing rich (13.9.4)
92.36 - Installing shellingham (1.5.4)
93.01 - Installing sqlalchemy (2.0.35)
93.72 - Installing starlette (0.41.0)
93.82 - Installing sympy (1.13.3)
95.16 - Installing tiktoken (0.8.0)
96.60 - Installing tokenizers (0.15.2)
97.70 - Installing typing-inspect (0.9.0)
97.99 - Installing tzdata (2025.1)
98.25 - Installing uvloop (0.21.0)
98.26 - Installing watchfiles (1.0.4)
100.2 - Installing webencodings (0.5.1)
100.9 - Installing websocket-client (1.8.0)
101.0 - Installing websockets (14.2)
102.4 - Installing xlsxwriter (3.2.2)
102.7 - Installing xmltodict (0.14.2)
116.8 - Installing aiomysql (0.2.0)
116.8 - Installing alembic (1.15.1)
116.8 - Installing alibabacloud-openplatform20191219 (2.0.0)
116.8 - Installing alibabacloud-oss-sdk (0.1.0)
116.8 - Installing aliyun-python-sdk-kms (2.16.5)
116.8 - Installing aniso8601 (10.0.0)
116.8 - Installing authlib (1.3.1)
116.8 - Installing bcrypt (4.3.0)
116.8 - Installing billiard (4.2.1)
116.8 - Installing brotli (1.1.0)
116.8 - Installing bottleneck (1.4.2)
116.8 - Installing build (1.2.2.post1)
117.6 - Installing chardet (5.1.0)
117.7 - Installing chroma-hnswlib (0.7.6)
117.8 - Installing circuitbreaker (2.1.0)
118.0 - Installing click-didyoumean (0.3.1)
118.0 - Installing click-plugins (1.1.1)
118.5 - Installing click-repl (0.3.0)
118.6 - Installing cos-python-sdk-v5 (1.9.30)
118.6 - Installing crc32c (2.7.1)
118.6 - Installing dataclasses-json (0.6.7)
118.9 - Installing docstring-parser (0.16)
118.9 - Installing elastic-transport (8.17.1)
119.0 - Installing emoji (2.14.1)
119.2 - Installing enum34 (1.1.10)
119.4 - Installing fastapi (0.115.11)
119.6 - Installing filetype (1.2.0)
119.7 - Installing flask-sqlalchemy (3.1.1)
119.9 - Installing future (1.0.0)
120.0 - Installing google (3.0.0)
120.2 - Installing google-auth-httplib2 (0.2.0)
120.4 - Installing google-cloud-bigquery (3.30.0)
120.4 - Installing google-cloud-resource-manager (1.14.2)
120.6 - Installing google-cloud-storage (2.16.0)
120.7 - Installing gotrue (2.11.4)
120.9 - Installing grpcio-tools (1.62.3)
121.2 - Installing hiredis (3.1.0)
121.5 - Installing html5lib (1.1)
121.8 - Installing importlib-resources (6.5.2)
121.8 - Installing kombu (5.5.0)
122.1 - Installing kubernetes (32.0.1)
122.1 - Installing langdetect (1.0.9)
122.2 - Installing levenshtein (0.27.1)
122.6 - Installing litellm (1.63.7)
122.9 - Installing lz4 (4.4.3)
123.0 - Installing markdown (3.5.2)
123.4 - Installing milvus-lite (2.4.11)
123.8 - Installing msal-extensions (1.3.1)
124.7 - Installing msrest (0.7.1)
124.7 - Installing nltk (3.9.1)
126.1 - Installing numba (0.61.0)
126.5 - Installing numexpr (2.10.2)
126.9 - Installing odfpy (1.4.1)
127.4 - Installing onnxruntime (1.21.0)
128.7 - Installing openpyxl (3.1.5)
128.9 - Installing opentelemetry-exporter-otlp-proto-grpc (1.27.0)
130.0 - Installing opentelemetry-instrumentation-fastapi (0.48b0)
130.9 - Installing orjson (3.10.15)
132.0 - Installing overrides (7.7.0)
132.6 - Installing pandas (2.2.3)
134.2 - Installing plumbum (1.9.0)
136.5 - Installing ply (3.11)
137.3 - Installing portalocker (2.10.1)
138.6 - Installing postgrest (0.17.2)
139.4 - Installing posthog (3.21.0)
140.0 - Installing psutil (7.0.0)
140.7 - Installing pydantic-settings (2.6.1)
141.5 - Installing pyopenssl (24.3.0)
141.7 - Installing pypandoc (1.15)
142.2 - Installing pypika (0.48.9)
142.2 - Installing pytest (8.3.5)
142.5 - Installing python-calamine (0.3.1)
144.6 - Installing python-docx (1.1.2)
144.9 - Installing python-iso639 (2025.2.18)
145.6 - Installing python-magic (0.4.27)
146.0 - Installing python-oxmsg (0.0.2)
146.2 - Installing python-pptx (1.0.2)
146.7 - Installing pyxlsb (1.0.10)
147.3 - Installing realtime (2.4.1)
147.8 - Installing retry (0.9.2)
147.9 - Installing s3transfer (0.10.4)
148.3 - Installing safetensors (0.4.5)
148.4 - Installing shapely (2.0.7)
149.0 - Installing socksio (1.0.0)
149.6 - Installing storage3 (0.8.2)
149.6 - Installing supafunc (0.6.2)
149.9 - Installing tabulate (0.9.0)
150.2 - Installing tcvdb-text (1.1.1)
150.5 - Installing tenacity (9.0.0)
150.6 - Installing toml (0.10.2)
151.2 - Installing typer (0.15.2)
151.3 - Installing types-pytz (2025.1.0.20250318)
152.1 - Installing ujson (5.9.0)
152.1 - Installing unstructured-client (0.28.1)
152.3 - Installing uritemplate (4.1.1)
152.3 - Installing uuid6 (2024.7.10)
152.8 - Installing uvicorn (0.34.0)
152.9 - Installing validators (0.21.0)
152.9 - Installing xlrd (2.0.1)
153.7 - Installing zope-event (5.0)
153.8 - Installing zope-interface (7.2)
154.0 - Installing zstandard (0.23.0)
156.7
156.7 IncompleteRead
156.7
156.7 IncompleteRead(4431975 bytes read, 55103108 more expected)
156.7
156.7 at /usr/local/lib/python3.12/site-packages/urllib3/response.py:900 in _raw_read
156.8 896│ # to concerns of backward compatibility. We're
156.8 897│ # addressing it here to make sure IncompleteRead is
156.8 898│ # raised during streaming, so all calls with incorrect
156.8 899│ # Content-Length are caught.
156.8 → 900│ raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
156.8 901│ elif read1 and (
156.8 902│ (amt != 0 and not data) or self.length_remaining == len(data)
156.8 903│ ):
156.8 904│ # All data has been read, butself._fp.read1
in
156.8
156.8 The following error occurred when trying to handle this error:
156.8
156.8
156.8 ProtocolError
156.8
156.8 ('Connection broken: IncompleteRead(4431975 bytes read, 55103108 more expected)', IncompleteRead(4431975 bytes read, 55103108 more expected))
156.8
156.8 at /usr/local/lib/python3.12/site-packages/urllib3/response.py:778 in _error_catcher
156.8 774│ ):
156.8 775│ arg = "Response may not contain content."
156.9 776│ else:
156.9 777│ arg = f"Connection broken: {e!r}"
156.9 → 778│ raise ProtocolError(arg, e) from e
156.9 779│
156.9 780│ except (HTTPException, OSError) as e:
156.9 781│ raise ProtocolError(f"Connection broken: {e!r}", e) from e
156.9 782│
156.9
156.9 The following error occurred when trying to handle this error:
156.9
156.9
156.9 ChunkedEncodingError
156.9
156.9 ('Connection broken: IncompleteRead(4431975 bytes read, 55103108 more expected)', IncompleteRead(4431975 bytes read, 55103108 more expected))
156.9
156.9 at /usr/local/lib/python3.12/site-packages/requests/models.py:822 in generate
156.9 818│ if hasattr(self.raw, "stream"):
156.9 819│ try:
156.9 820│ yield from self.raw.stream(chunk_size, decode_content=True)
156.9 821│ except ProtocolError as e:
156.9 → 822│ raise ChunkedEncodingError(e)
156.9 823│ except DecodeError as e:
156.9 824│ raise ContentDecodingError(e)
156.9 825│ except ReadTimeoutError as e:
156.9 826│ raise ConnectionError(e)
156.9
156.9 Cannot install tcvdb-text.
156.9
163.1 Warning: The file chosen for install of aiohttp 3.11.14 (aiohttp-3.11.14-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl) is yanked. Reason for being yanked: Regression: aio-libs/aiohttp#10617
failed to solve: process "/bin/sh -c poetry install --sync --no-cache --no-root" did not complete successfully: exit code: 1
E:\shijiagi\agent>a
✔️ Expected Behavior
How to fixed?
❌ Actual Behavior
Unable to properly encapsulate the image locally