Skip to content

Frequent WebSocket connection errors using Firefox #599

@su-mskiles

Description

@su-mskiles

Before creating a new issue, please confirm:

On which framework/platform are you having an issue?

React

Which UI component?

Other

How is your app built?

Vite

What browsers are you seeing the problem on?

Firefox

Which region are you seeing the problem in?

us-west-2

Please describe your bug.

I am getting an error that I don't know how to diagnose. I've built a chatbot using the AI Kit in Amplify 2, and it works great for the most part. The problem is, I simply cannot connect to my AppSync endpoint when using Firefox anymore. No HTTP error codes or anything. The only thing I see in the Dev console in Firefox is NS_ERROR_NET_RESET. Can someone please help? I have no additional status codes, metrics, errors, or logs to go off of other than what's displayed in the screenshot.

It doesn't appear I'm alone on this. Many users are reporting a similar issue here:

aws-samples/iam-identity-center-team#396

Image

Image

What's the expected behaviour?

This error should never occur with a valid session.

Help us reproduce the bug!

Happens intermittently on multiple computers and networks. I'm not able to provide reliable reproduction steps. Clearing cache/cookies sometimes resolves the issue, sometimes doesn't.

Code Snippet

// Put your code below this line.

Console log output

No response

Additional information and screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions