S3 URL Invalid When Used With iDrive E2 #13320
-
What happened?There appears to be a bug in the S3 URL Configuration when used with an iDrive E2 Bucket. When adding in the appropriate variables and attempting to upload a file, you receive a "Error streaming file to S3: Invalid URL" error. I believe this may be due to the iDrive Bucket URL's not using a region in the URL endpoint. For example, if you are using the US-Central-1 region within iDrive E2, your URL endpoint would be similar to bucketname.a7g8.da.idrivee2-32.com. Version InformationLibreChat v0.8.6-rc1 Steps to Reproduce
AWS_ACCESS_KEY_ID=accesskeyhere
What browsers are you seeing the problem on?Safari Relevant log output2026-05-26T03:19:56.441Z info: [initializeS3] S3 initialized with provided credentials.
2026-05-26T03:19:56.447Z error: [uploadFileToS3] Error streaming file to S3: Invalid URL
2026-05-26T03:19:56.448Z error: [/files] Error processing file: Invalid URLScreenshotsNo response Code of Conduct
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hi @tezgno, thanks for the report.
That should resolve the "Invalid URL" error. Let me know if it doesn't. |
Beta Was this translation helpful? Give feedback.
Hi @tezgno, thanks for the report.
AWS_ENDPOINT_URLfollows the AWS SDK convention and needs to include the scheme. Update your env var to:That should resolve the "Invalid URL" error. Let me know if it doesn't.