Closed aiiibolo closed 1 month ago
👀 @aiiibolo
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
I found some similar issues and discussions that might help resolve your problem:
Similar Issues and Discussions:
Suggested Solutions:
Configure Cross-Origin Resource Sharing (CORS):
[
{
"AllowedOrigins": ["https://your-project.vercel.app"],
"AllowedMethods": ["GET", "PUT", "HEAD", "POST", "DELETE"],
"AllowedHeaders": ["*"]
}
]
Ensure Environment Variables are Correct:
S3_ACCESS_KEY_ID=your_access_key_id
S3_SECRET_ACCESS_KEY=your_secret_access_key
S3_BUCKET=your_bucket_name
S3_ENDPOINT=https://your_endpoint.r2.cloudflarestorage.com
S3_PUBLIC_DOMAIN=https://s3.your-domain.com
Check Network and Proxy Settings:
By following these steps, you should be able to resolve the file upload and chunking failure issues related to network and cross-origin configuration when using Cloudflare R2 storage with Vercel [1][2].
To continue talking to Dosu, mention @dosu.
在没有更改任何设置的情况下 聊天界面上传图片和文件均成功 同时可以在知识库当中找到
文件夹上传 其中一个pdf很轻易的上传成功 另外一个就卡在最后一点显示正在上传 所有pdf文件大小都在1MB以内
上传不稳定 有时候完全没问题 有时候提示跨域配置和网络问题
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Without changing any settings, pictures and files were uploaded successfully in the chat interface and can be found in the knowledge base.
![Uploading CleanShot 2024-09-25 at 13.13.31@2x.jpg…]()
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
![Uploading CleanShot 2024-09-25 at 13.13.31@2x.jpg…]()
📦 Environment
Vercel
📌 Version
v1.19.25
💻 Operating System
macOS
🌐 Browser
Other
🐛 Bug Description
[TaskTriggerErrorl: trigger file parse async task error. Please check your app is public available or check your proxy settings is set correctly.
📷 Recurrence Steps
聊天界面的文件上传和知识库的文件上传流程
🚦 Expected Behavior
No response
📝 Additional Information
No response