talk-desktop icon indicating copy to clipboard operation
talk-desktop copied to clipboard

Suddenly getting Network Error after opening video file

Open NikoKS opened this issue 3 months ago • 13 comments

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.

Steps to reproduce

  1. Open Nextcloud Talk Desktop
  2. Open a video attachment
  3. Try sending message

Expected behaviour

message sent

Actual behaviour

keep getting this error

{
    "message": "Network Error",
    "name": "AxiosError",
    "stack": "AxiosError: Network Error\n    at C.onerror (https://cloud.example.com/talk_desktop__window_talk/index.js:2:9523664)\n    at Ci.request (https://cloud.example.com/talk_desktop__window_talk/index.js:2:9531399)\n    at async l (https://cloud.example.com/talk_desktop__dist/chunks/3079.js?v=98d86632ebfae54d64fc:1:1113103)",
    "config": {
        "transitional": {
            "silentJSONParsing": true,
            "forcedJSONParsing": true,
            "clarifyTimeoutError": false
        },
        "adapter": [
            "xhr",
            "http",
            "fetch"
        ],
        "transformRequest": [
            null
        ],
        "transformResponse": [
            null
        ],
        "timeout": 0,
        "xsrfCookieName": "XSRF-TOKEN",
        "xsrfHeaderName": "X-XSRF-TOKEN",
        "maxContentLength": -1,
        "maxBodyLength": -1,
        "env": {},
        "headers": {
            "Accept": "application/json, text/plain, */*",
            "Content-Type": "application/json",
            "requesttoken": "",
            "X-Requested-With": "XMLHttpRequest"
        },
        "method": "put",
        "url": "https://cloud.example.com/ocs/v2.php/apps/spreed/api/v4/room/oijaoeyf/participants/state",
        "data": "{\"state\":0}",
        "allowAbsoluteUrls": true,
        "axios-retry": {
            "retries": 0,
            "shouldResetTimeout": false,
            "validateResponse": null,
            "retryCount": 0,
            "lastRequestTime": 1757580220971
        }
    },
    "code": "ERR_NETWORK"
}

Diagnosis and logs

also got this log. not sure if related:

  • Not connected to signaling server yet, defer joining room
  • {"code":"no_such_room","message":"The user is not invited to this room."}
  • The signaling token is expired, need to update settings

Details

Works fine on browser

running on Mac OS M2

Have tried

  1. logout login
  2. reinstall talk desktop

NikoKS avatar Sep 11 '25 09:09 NikoKS

PUT request to /participants/state with state: 0 happens, when app enters inactive state (unfocused, minimized, idle for 2-3 minutes). Does it ring a bell?

Open Nextcloud Talk Desktop

Was the app open before that (e.g. minimized to tray/dock)? It then expected to have expired token and try to reconnect.

Can you send a report from deaktop client from 'About' section?

Antreesy avatar Sep 11 '25 09:09 Antreesy

OKAY, my steps to reproduce is a bit misleading. I have found a more consistent way to reproduce it.

So actually restarting nextcloud talk desktop, it starts working again. But, the moment I open a video attachment, the video would only load the first couple seconds of the video, and then the whole nextcloud talk starts freezing and sending out those errors repeatedly.

NikoKS avatar Sep 11 '25 09:09 NikoKS

I have confirmed that the problem happens when opening the video. Sorry for the misleading bug report, I will edit it briefly.

When I open a video attachment, it would only load ~3s of the video, and it then freezes. The error message would then start popping up on the console

NikoKS avatar Sep 11 '25 09:09 NikoKS

Here is the about section:

Version 1.2.6 (1.2.6)

NikoKS avatar Sep 11 '25 09:09 NikoKS

Might be the same as:

  • https://github.com/nextcloud/talk-desktop/issues/1401
  • https://github.com/nextcloud/talk-desktop/issues/1429

ShGKme avatar Sep 11 '25 22:09 ShGKme

Here is the about section:

Version 1.2.6 (1.2.6)

Could you provide the complete report?

ShGKme avatar Sep 11 '25 22:09 ShGKme

here is the complete report:

Diagnosis report

Nextcloud Talk Desktop
Version v1.2.6
Built-in Talk version v21.1.4
Release channel stable
Operating system Darwin 24.1.0 (Darwin Kernel Version 24.1.0: Thu Oct 10 21:02:45 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T8112)
Executable Path /Applications/Nextcloud Talk.app/Contents/MacOS/Nextcloud Talk
Connected to -
Nextcloud version 31.0.7
Nextcloud Talk version 21.1.3
notifications app enabled âś… yes
notify_push app enabled âś… yes

Application config

{
  "launchAtStartup": false,
  "theme": "default",
  "systemTitleBar": false,
  "monochromeTrayIcon": true,
  "zoomFactor": 0.95,
  "playSoundChat": "respect-dnd",
  "playSoundCall": "respect-dnd",
  "enableCallbox": "respect-dnd",
  "secondarySpeaker": false,
  "secondarySpeakerDevice": null,
  "trustedFingerprints": []
}

NikoKS avatar Sep 12 '25 01:09 NikoKS

I will try update the server on the latest like in https://github.com/nextcloud/talk-desktop/issues/1401 and see if the problem persist

NikoKS avatar Sep 12 '25 01:09 NikoKS

Updated the server to latest and problem still persists.

NikoKS avatar Sep 15 '25 02:09 NikoKS

Is the problem still reproducible on the latest version?

ShGKme avatar Sep 29 '25 23:09 ShGKme

just tried 2.0.2, and unfortunately it is still happening.

Haven't tried upgrading the server to the latest though

NikoKS avatar Sep 30 '25 03:09 NikoKS

I tried uploading a couple more videos to talk, and it seems that only that one video is causing the error. I am not entirely sure why that is. The video is quite a bit larger than the others at ~100Mb.

NikoKS avatar Sep 30 '25 07:09 NikoKS

So far, it is just that one video.

I tried uploading a video larger in size, and it plays fine.

I tried downloading the problematic video and it plays fine in my mac.

I tried reuploading the problematic video to talk on a different chat, and it is causing the same symptoms.

I'm guessing the video might be corrupted(?) BUT it plays fine in the browser version of talk and it plays fine on my mac video player.

NikoKS avatar Oct 01 '25 14:10 NikoKS

I seem to hit the same problem, but with a slightly different pattern.

Environment

  • Nextcloud Talk Desktop: multiple recent releases (issue persists across all tested desktop builds)
  • macOS: latest two releases at the time of testing (macOS 14 and 15)
  • Windows: Windows 10 and Windows 11 (fully updated)
  • Server: Nextcloud 30, 31 and 32, with the corresponding Talk app versions

Steps to reproduce

  1. Open Nextcloud Talk Desktop and open a chat that contains a video attachment.
  2. Open the video – it plays normally the first time.
  3. Close the video player.
  4. Open the same video again in the same chat.

*Expected result

  • The video plays normally every time and the chat continues to work.

Actual result

  • On the second (or later) open, playback freezes after the first seconds.
  • After that, the Talk Desktop client starts showing repeated “Network Error / AxiosError” when sending messages.
  • The same video plays fine in the mobile Talk app and in the web interface in a browser.
  • Fully restarting the desktop app temporarily fixes the issue, until I open the same video again.

Additional information

  • The problem occurs on all recent Nextcloud Talk Desktop builds I tested on macOS and shows the same behavior on Windows 10/11.
  • Restarting the server (Nextcloud 30/31/32) does not help, so it looks more like a desktop client / Electron issue than a server-side problem.
  • I checked the Electron devtools console but did not see anything obvious besides the network error.
  • If you tell me what extra logs or diagnostics would be useful, I can reproduce the issue again and provide more detailed information.

auslinx73 avatar Nov 28 '25 07:11 auslinx73