[PR #31101] fix: Fix docker-compose.yaml's ENV variables #33087

Open
opened 2026-02-21 20:52:38 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/31101

State: open
Merged: No


Important

  1. Make sure you have read our contribution guidelines
  2. Ensure there is an associated issue and you have been assigned to it
  3. Use the correct syntax to link this PR: Fixes #<issue number>.

Summary

  • [Critical] Remove ALIYUN_CLOUDBOX_ID because it should not be defined if not using Cloudbox. Otherwise oss2 will select cloudbox as the product. It stops OSS from being utilised.
  • Add DB_SSL_MODE to plugin_daemon to support SSL in plugin daemon. AWS RDS wouldn't work without this variable passed in.

Error Log

2026-01-16 04:02:00.957 INFO [Dummy-12] [api.py:240] 276eade0d2735c99a4996dbdf-------- - Exception: {'status': 400, 'x-oss-request-id': '6969B838DCD6303238------', 'details': {'Code': 'InvalidArgument', 'Message': 'Invalid signing product in Authorization header.', 'RequestId': '6969B838DCD6303238------', 'HostId': '-------.oss-cn-chengdu-internal.aliyuncs.com', 'Authorization': 'OSS4-HMAC-SHA256 Credential=--------------/20260116/cn-chengdu/oss-cloudbox/aliyun_v4_request, Signature=c3944b9e1f8f87a18933b1bd82e7de3f37e920d72b0364dd2770--------', 'EC': '----------', 'RecommendDoc': 'https://api.aliyun.com/troubleshoot?q=0002-00000227'}}

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change.
  • I've updated the documentation accordingly.
  • I ran make lint and make type-check (backend) and cd web && npx lint-staged (frontend) to appease the lint gods
**Original Pull Request:** https://github.com/langgenius/dify/pull/31101 **State:** open **Merged:** No --- > [!IMPORTANT] > > 1. Make sure you have read our [contribution guidelines](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) > 1. Ensure there is an associated issue and you have been assigned to it > 1. Use the correct syntax to link this PR: `Fixes #<issue number>`. ## Summary - [Critical] Remove ALIYUN_CLOUDBOX_ID because it should not be defined if not using Cloudbox. Otherwise oss2 will select cloudbox as the product. It stops OSS from being utilised. - Add DB_SSL_MODE to plugin_daemon to support SSL in plugin daemon. AWS RDS wouldn't work without this variable passed in. ## Error Log ``` 2026-01-16 04:02:00.957 INFO [Dummy-12] [api.py:240] 276eade0d2735c99a4996dbdf-------- - Exception: {'status': 400, 'x-oss-request-id': '6969B838DCD6303238------', 'details': {'Code': 'InvalidArgument', 'Message': 'Invalid signing product in Authorization header.', 'RequestId': '6969B838DCD6303238------', 'HostId': '-------.oss-cn-chengdu-internal.aliyuncs.com', 'Authorization': 'OSS4-HMAC-SHA256 Credential=--------------/20260116/cn-chengdu/oss-cloudbox/aliyun_v4_request, Signature=c3944b9e1f8f87a18933b1bd82e7de3f37e920d72b0364dd2770--------', 'EC': '----------', 'RecommendDoc': 'https://api.aliyun.com/troubleshoot?q=0002-00000227'}} ``` ## Checklist - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [x] I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!) - [x] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [x] I've updated the documentation accordingly. - [x] I ran `make lint` and `make type-check` (backend) and `cd web && npx lint-staged` (frontend) to appease the lint gods
yindo added the pull-request label 2026-02-21 20:52:38 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#33087