lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

[Bug] Model hosted in AWS Bedrock returns 474 error code when the request is made from Vercel

Open gijigae opened this issue 1 year ago • 2 comments

💻 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.

image

🚦 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 avatar Feb 13 '24 09:02 gijigae

👀 @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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

lobehubbot avatar Feb 13 '24 09:02 lobehubbot

It looks like the issue only occurs from Arc Browser. Tested Claude 2.1 from Chrome and Edge browsers and they all work fine.

gijigae avatar Feb 13 '24 10:02 gijigae

So I close it.

arvinxx avatar Mar 14 '24 08:03 arvinxx

✅ @gijigae

This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot avatar Mar 14 '24 08:03 lobehubbot