Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListMessages API Call Fails On Firefox #1597

Open
jaxtonw opened this issue Jan 24, 2025 · 1 comment
Open

ListMessages API Call Fails On Firefox #1597

jaxtonw opened this issue Jan 24, 2025 · 1 comment

Comments

@jaxtonw
Copy link

jaxtonw commented Jan 24, 2025

Version: Redpanda Console v2.7.2

The ListMessages API call when viewing messages in a topic fails, but only on Firefox. Not having any issues utilizing Google Chrome. Sometimes the response is a 302, other times the request fails with an NS_BINDING_FAILED.

I've been able to narrow it down to the User-Agent being set as connect-es/1.1.2. When editing the request and using a User-Agent of Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0, as is used on all other requests by my browser to the Redpanda Console, the request resolves as expected. Something is happening, only on Firefox, making it so the user agent is adjusted for only this request.

I believe that this relates to the @connectrpc/connect module: https://github.com/connectrpc/connect-es/blob/134f9ca0ca3cea7973182f4ea071e2d0a1a9c6dc/packages/connect/scripts/update-user-agent.mjs#L38

Screenshot of a working request on the same topic view:

Image

Screenshot of the ListMessages failed request. NOTE: User-Agent value in the bottom right:

Image

@jaxtonw
Copy link
Author

jaxtonw commented Jan 24, 2025

Unfortunately I am unable to attempt this on v2.8 at this time. My organization has been struggling to get v2.8 deployed. This issue may have been addressed in v2.8 already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant