Skip to content

Fix(signaling): ignore ECONNABORTED errors to prevent conversation not found#17158

Open
Paulcor35 wants to merge 3 commits intonextcloud:mainfrom
Paulcor35:fix-econnaborted-error
Open

Fix(signaling): ignore ECONNABORTED errors to prevent conversation not found#17158
Paulcor35 wants to merge 3 commits intonextcloud:mainfrom
Paulcor35:fix-econnaborted-error

Conversation

@Paulcor35
Copy link

…t found

☑️ Resolves

Prevents the "Conversation not found" error page when a temporary network interruption (ECONNABORTED) occurs.

Previously, if a polling request was aborted (e.g., refreshing the page or unstable network), the user was kicked out of the conversation. This patch ignores ECONNABORTED errors just like we ignore isCancel.

🖌️ UI Checklist

🖼️ Screenshots / Screencasts

Screenshot before
screen_problème

Screenshot after

No UI changes. The conversation loads normally instead of showing the "Conversation not found" error.

🚧 Tasks

  • Add ECONNABORTED to ignored errors in signaling.js

🏁 Checklist

  • 🌏 Tested with different browsers / clients:
    • Chromium (Chrome / Edge / Opera / Brave)
    • Firefox
    • Safari
    • Talk Desktop
    • Integrations with Files sidebar and other apps
    • Not risky to browser differences / client
  • 🖌️ Design was reviewed, approved or inspired by the design team
  • ⛑️ Tests are included or not possible
  • 📗 User documentation in https://github.com/nextcloud/documentation/tree/master/user_manual/talk has been updated or is not required

…t found

Signed-off-by: CORNEN Paul <paul.cornen2@soprasteria.com>
@Antreesy Antreesy added bug feature: signaling 📶 Internal and external signaling backends feature: frontend 🖌️ "Web UI" client labels Feb 18, 2026
@Antreesy Antreesy added this to the 🏖️ Next Major (34) milestone Feb 18, 2026
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise a good addition. Can reproduce locally with small patch (axios aborts request with this code when timeout, and in other cases) + Internal signaling

--- a/src/services/signalingService.js	(revision 972b65935d05780ec33a7337a4c28aab0d6fc9e7)
+++ b/src/services/signalingService.js	(date 1771412086368)
@@ -26,7 +26,7 @@
  * @param options
  */
 async function pullSignalingMessages(token, options) {
-	return axios.get(generateOcsUrl('apps/spreed/api/v3/signaling/{token}', { token }), options)
+	return axios.get(generateOcsUrl('apps/spreed/api/v3/signaling/{token}', { token }), { timeout: 1 })
 }
 

@Antreesy
Copy link
Contributor

Looping @danxuliu for a second opinion

CORNEN Paul added 2 commits February 18, 2026 12:05
Signed-off-by: CORNEN Paul <paul.cornen2@soprasteria.com>
Signed-off-by: CORNEN Paul <paul.cornen2@soprasteria.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug feature: frontend 🖌️ "Web UI" client feature: signaling 📶 Internal and external signaling backends

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants