mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
[ERROR]plugin langgenius/volcengine_maas:0.0.13 has an error on stdout: bufio.Scanner: token too long #304
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @liuyao02 on GitHub (May 22, 2025).
Self Checks
Dify version
1.3.1
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
2025/05/22 03:45:05 stdio.go:166: [ERROR]plugin langgenius/volcengine_maas:0.0.13 has an error on stdout: bufio.Scanner: token too long
2025/05/22 03:45:05 run.go:132: [ERROR]plugin langgenius/volcengine_maas:0.0.13 exited with error: signal: killed
✔️ Expected Behavior
No response
❌ Actual Behavior
2025/05/22 03:45:05 stdio.go:166: [ERROR]plugin langgenius/volcengine_maas:0.0.13 has an error on stdout: bufio.Scanner: token too long
2025/05/22 03:45:05 run.go:132: [ERROR]plugin langgenius/volcengine_maas:0.0.13 exited with error: signal: killed
@dosubot[bot] commented on GitHub (May 22, 2025):
The error
[ERROR]plugin langgenius/volcengine_maas:0.0.13 has an error on stdout: bufio.Scanner: token too longin Dify 1.3.1 (self-hosted, Docker) is a known issue. It typically occurs when making workflow API requests with the doubao-1.5-vision-pro model using image and string parameters. The root cause is that the data being processed (often large images encoded as base64) exceeds the buffer size limit of Go'sbufio.Scannerused internally by the plugin.Solution:
Upgrading your Dify installation to version 1.4.0 or later resolves this error for the Volcengine plugin and the doubao-1.5-vision-pro model. This fix has been confirmed in recent issues and is the recommended approach for a permanent solution.
See details
Workarounds if you cannot upgrade immediately:
See related discussion
If you need more details about the plugin's error handling or want to review the relevant code, you can refer to the plugin's implementation, which raises a
MaasErrorwhen requests fail, including detailed error information.Upgrading is the most reliable fix for this issue. If you have any constraints preventing an upgrade, reducing image size or changing the provider may help as a temporary measure.
To continue talking to Dosu, mention @dosu-bot.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
@crazywoola commented on GitHub (May 22, 2025):
Duplicated https://github.com/langgenius/dify-official-plugins/issues/1226
Please read the check list first: