nextcloud / talk-android

📱😀 Video & audio calls through Nextcloud on Android
Other
549 stars 247 forks source link

facebook reel makes app unusable #3543

Open manuelkamp opened 10 months ago

manuelkamp commented 10 months ago

Steps to reproduce

Open Talk App on Phone and see instantly an error.

It does not matter what you do here, no new login, no cancel, nothing helps to get it working again.

Expected behaviour

See chats and have the app working again

Actual behaviour

App is not working at all. Screenshot_2023-12-23-17-37-59-444_com nextcloud talk2

Device brand and model

Xiaomi 13

Android version

14

Nextcloud Talk app version

18.0.1

Nextcloud server version

28.0.1

Talk version

18.0.1

Custom Signaling server configured

No

Custom TURN server configured

Yes

Custom STUN server configured

Yes

Android logs

No response

Server log

none suspicious (cannot parse/find anything useful in logs, since NC 28.0 it gets just flooded with errors " Error Call to undefined method OCA\Richdocuments\Service\DiscoveryService::refetch()
Could not boot richdocuments: Call to undefined method OCA\Richdocuments\Service\DiscoveryService::refetch() ")

Additional information

No response

mahibi commented 10 months ago

Can you login successfully via browser? Did this also happen with app version 18.0.0 or earlier versions? Does it still happen and does it happen always? (just asking because it might happen due to some HttpException). Does uninstall and reinstall the app (or clear app data) solve it?

manuelkamp commented 10 months ago

Yes I can login via browser. It did happen first with app version 18, then I manually updated to 18.01 from store (it was already recognized as update and would have been applied automatically during night). It happens still and every time I open the app, also after phone reboot. it does not matter if I am connected to wifi or cell phone network. I did clear appdata, still the problem. I also reinstalled the app via android store, still the problem.

Edit: since i fixed the issue spamming my logs I mentioned in my initial post, I see that I have a lot of this errors:

 Exception Call to a member function getTimestamp() on array in file '/var/www/nextcloud/apps/dav/lib/CalDAV/Status/StatusService.php' line 105
Exception thrown: Exception 

Edit2: ok it seems the error message from my edit is an issue not related to talk and is handled there already: https://github.com/nextcloud/server/issues/42464 So I am not sure where to find any logs to help identifying my problem? I do not have any other errors in my server logs.

mahibi commented 10 months ago

Can you create a test account for me on your server so i can have a closer look? If yes, please send the credentials to marcel dot hibbe at nextcloud dot com

manuelkamp commented 10 months ago

Of course, thank you for your help. Mail is on its way.

Update for all others: I figured out, that it was a facebook reel which was shared to me via Talk what caused this issue. After I deleted it from DB, Talk-App works again for me.

The data from this facebook-reel was shared with the dev (the whole database entry).

mahibi commented 10 months ago

note to myself: need to fix my docker setup first before reproducing this locally

gxpcluster commented 10 months ago

I have the same problem. Today Nextcloud Talk stopped working on all devices and shows no account. Everything is OK in the browser. Clearing cache, rebooting, etc did nothing. We have not sent any Facebook links. And now all communication through Nextcloud Talk has stopped. I'm already tired of fighting Nextcloud Talk bugs, in every release something falls off and doesn't work with regular intervals. Employees complain about this as they lose access to information while on the road. Instead of rushing new releases, can't the Nextcloud team focus on one release but get it to a stable state?

manuelkamp commented 10 months ago

Coming back to this issue, it seems to not be the facebook content. After about one day, the issue reoccured. I went full in and deleted all chat history from database and all conversations via browser. I started a new one with an other user but still this error.

gxpcluster commented 10 months ago

This my repeated log entry:

Level: Error App: no app in context

**Exception**
Call to a member function getTimestamp() on array in file '/var/www/nextcloud/apps/dav/lib/CalDAV/Status/StatusService.php' line 105
1. /var/www/nextcloud/lib/private/AppFramework/App.php - line 184
OC\AppFramework\Http\Dispatcher->dispatch()

2. /var/www/nextcloud/lib/private/Route/Router.php - line 315
OC\AppFramework\App::main()
3. /var/www/nextcloud/ocs/v1.php - line 65
OC\Route\Router->match()
4. /var/www/nextcloud/ocs/v2.php - line 23
undefinedundefinedrequire_once(
  "/var/www/nextcloud/ocs/v1.php"
)
Caused by Error
Call to a member function getTimestamp() on array

Raw log entry

{
  "reqId": "...",
  "level": 3,
  "time": "2024-01-03T20:55:28+01:00",
  "remoteAddr": "IP",
  "user": "USER",
  "app": "no app in context",
  "method": "PUT",
  "url": "/ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json",
  "message": "Exception thrown: Exception",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
  "version": "28.0.1.1",
  "exception": {
    "Exception": "Exception",
    "Message": "Call to a member function getTimestamp() on array in file '/var/www/nextcloud/apps/dav/lib/CalDAV/Status/StatusService.php' line 105",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 184,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Route/Router.php",
        "line": 315,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/ocs/v1.php",
        "line": 65,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/ocs/v2.php",
        "line": 23,
        "args": [
          "/var/www/nextcloud/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
    "Line": 169,
    "Previous": {
      "Exception": "Error",
      "Message": "Call to a member function getTimestamp() on array",
      "Code": 0,
      "Trace": [
        {
          "function": "OCA\\DAV\\CalDAV\\Status\\{closure}",
          "class": "OCA\\DAV\\CalDAV\\Status\\StatusService",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/nextcloud/apps/dav/lib/CalDAV/Status/StatusService.php",
          "line": 115,
          "function": "array_filter"
        },
        {
          "file": "/var/www/nextcloud/apps/user_status/lib/Listener/UserLiveStatusListener.php",
          "line": 70,
          "function": "processCalendarStatus",
          "class": "OCA\\DAV\\CalDAV\\Status\\StatusService",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php",
          "line": 86,
          "function": "handle",
          "class": "OCA\\UserStatus\\Listener\\UserLiveStatusListener",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 230,
          "function": "__invoke",
          "class": "OC\\EventDispatcher\\ServiceEventListener",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 59,
          "function": "callListeners",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 94,
          "function": "dispatch",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 106,
          "function": "dispatch",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/apps/user_status/lib/Controller/HeartbeatController.php",
          "line": 100,
          "function": "dispatchTyped",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 230,
          "function": "heartbeat",
          "class": "OCA\\UserStatus\\Controller\\HeartbeatController",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 137,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
          "line": 184,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/lib/private/Route/Router.php",
          "line": 315,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::"
        },
        {
          "file": "/var/www/nextcloud/ocs/v1.php",
          "line": 65,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->"
        },
        {
          "file": "/var/www/nextcloud/ocs/v2.php",
          "line": 23,
          "args": [
            "/var/www/nextcloud/ocs/v1.php"
          ],
          "function": "require_once"
        }
      ],
      "File": "/var/www/nextcloud/apps/dav/lib/CalDAV/Status/StatusService.php",
      "Line": 105
    },
    "CustomMessage": "Exception thrown: Exception"
  },
  "id": "..."
manuelkamp commented 10 months ago

This is not related to the talk issue, as far as I can tell - it is an issue in the dav (CalDAV) app. You can search for this error via google and find an issue on nextcloud github and also a workaround posted by someone.

gxpcluster commented 10 months ago

This is not related to the talk issue, as far as I can tell - it is an issue in the dav (CalDAV) app. You can search for this error via google and find an issue on nextcloud github and also a workaround posted by someone.

This error appears in log ONLY when I open Nextcloud Talk on mobile

All other mobile apps works fine without any issues. I disabled Davx5 on all phones. The day before yesterday and yesterday everything was working fine, I didn't make any changes on the server. But today Nextcloud Talk and only this application stopped working.

Below is a screenshot of the app. Screenshot_20240103-232034_Talk

gxpcluster commented 10 months ago

Here is the same issue: link

github-actions[bot] commented 9 months ago

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!