nextcloud / nextcloud/spreed

Error when getting chat messages with nextcloud/axios 2.1.0

Open
#8,159 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: chat 💬 regression
Dominant language
PHP
Stars
2.2k
Forks
587
Avg merge
18h 27m
Merged PRs (30d)
333

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Since #8127 the requests to get the chat messages may fail when opening a conversation.

Note that just reloading the page when you have a conversation already open does not trigger the issue; it seems that you need to first open Talk and, then, open a conversation.

How to test

  • Open Talk
  • Open a conversation
Expected result

No errors in the browser console

Actual result

In the browser console the error Error happened while getting chat messages. Trying again in 6 TypeError: error.request is undefined is repeated

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure by opening Talk and then a conversation, and compare it with a page reload while a conversation is already open. Start by tracing the chat-message request and error handling changed around #8127. Done means opening a conversation produces no repeated browser-console errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.