lobe-chat
lobe-chat copied to clipboard
[Bug] Model hosted in AWS Bedrock returns 474 error code when the request is made from Vercel
💻 Operating System
macOS
📦 Environment
Vercel / Zeabur / Sealos
🌐 Browser
Chrome
🐛 Bug Description
For the AWS Bedrock (Claude 2.1), when a request is sent from Vercel deployment, the server returns the 474 error (it indicates the client sent a HTTP request in plain text to HTTPs service port) whereas a request to AWS Bedrock works flawlessly from a local environment.
🚦 Expected Behavior
Model hosted in AWS Bedrock should return appropriate messages.
📷 Recurrence Steps
Set a model hosted in AWS Bedrock and send a request
📝 Additional Information
No response
👀 @gijigae
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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
It looks like the issue only occurs from Arc Browser. Tested Claude 2.1 from Chrome and Edge browsers and they all work fine.
So I close it.
✅ @gijigae
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。