Closed tis-abe-akira closed 4 weeks ago
Thank you for reporting this issue. Have you checked log yet? If not, could you take a trouble to find abnormal behavior? The name of log looks like: /aws/lambda/BedrockChatStack-WebSocketHandlerXXXX
Thank you for your reply. To be honest, your response allowed me to locate the logs. When I checked the logs, there were no ERROR level log entries, only INFO level ones at the time this issue occurred.
I don't understand which part of the logs I should send to help resolve the issue. Could you please advise me?
The following errors are occurring when viewed through the Developer Tool in WebBrowser (FireFox):
Could not establish a connection to the server at wss://xxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/dev.
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, … }
bubbles: false
cancelBubble: false
cancelable: false
composed: false
currentTarget: null
defaultPrevented: false
eventPhase: 0
explicitOriginalTarget: WebSocket { url: "wss://xxxxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/dev", readyState: 3, bufferedAmount: 0, … }
isTrusted: true
originalTarget: WebSocket { url: "wss://xxxxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/dev", readyState: 3, bufferedAmount: 0, … }
returnValue: true
srcElement: WebSocket { url: "wss://xxxxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/dev", readyState: 3, bufferedAmount: 0, … }
target: WebSocket { url: "wss://xxxxxxxxxx.execute-api.ap-northeast-1.amazonaws.com/dev", readyState: 3, bufferedAmount: 0, … }
timeStamp: 190673083
type: "error"
<get isTrusted()>: function isTrusted()
<prototype>: EventPrototype { composedPath: composedPath(), stopPropagation: stopPropagation(), stopImmediatePropagation: stopImmediatePropagation(), … }
推論中にエラーが発生しました。 index-2a8451ed.js:330:19055 N https://xxxxxxxxxx.cloudfront.net/assets/index-2a8451ed.js:330 (非同期: promise callback) N
I hope this information will be helpful.
Thank you for the detail. Could you check your corporate proxy setting and logs? It likely block webscoket connections.
Understood. It seems likely that the issue is caused by our company's proxy. In practice, since it responds correctly upon retransmission, it's a bit inconvenient but not a major problem for practical use. If this is an issue specific to our environment, I think it would be acceptable to close it.
Describe the bug
To limit access from within the company, we are using a PROXY server for access. Because of this, when sending prompts from the chat, we frequently encounter the message "An error occurred while responding." After pressing ”Resend”, it works normally. Therefore, while chat usage is possible, but, we consider this to have significant usability issues.
If this can be improved through configuration settings, please let us know. Ideally, we hope for an improvement.
To Reproduce
Screenshots
Additional context
N/A