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

Wrong HPB secret breaks some functionality #14126

Open
SystemKeeper opened this issue Jan 13, 2025 · 0 comments
Open

Wrong HPB secret breaks some functionality #14126

SystemKeeper opened this issue Jan 13, 2025 · 0 comments
Assignees
Labels
1. to develop bug feature: api 🛠️ OCS API for conversations, chats and participants feature: signaling 📶 Internal and external signaling backends

Comments

@SystemKeeper
Copy link
Contributor

Noticed while testing #14124 and still having a wrong HPB secret set for testing. While this is an error of course, I am wondering if it should break cron/room creation of the PR?
In the latter case, the config value is already created in the database, the room is also created, but no participant is added (so it is never shown to the user) and also no messages are posted.

Cron error:


{
    "reqId": "S6bWfR73rTk4vXK6kkdh",
    "level": 3,
    "time": "2025-01-13T19:40:05+00:00",
    "remoteAddr": "",
    "user": false,
    "app": "core",
    "method": "",
    "url": "--",
    "message": "Error while running background job OCA\\Talk\\BackgroundJob\\RemoveEmptyRooms (id: 69, arguments: null)",
    "userAgent": "--",
    "version": "31.0.0.6",
    "exception": {
        "Exception": "GuzzleHttp\\Exception\\ClientException",
        "Message": "Client error: `POST https://talk-signaling-mm.local/api/v1/room/xqsu8ixz` resulted in a `403 Forbidden` response:\nAuthentication check failed\n\n",
        "Code": 403,
        "Trace": [
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php",
                "line": 72,
                "function": "create",
                "class": "GuzzleHttp\\Exception\\RequestException",
                "type": "::",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 209,
                "function": "GuzzleHttp\\{closure}",
                "class": "GuzzleHttp\\Middleware",
                "type": "::",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 158,
                "function": "callHandler",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "::",
                "args": [
                    1,
                    "*** sensitive parameters replaced ***",
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php",
                "line": 52,
                "function": "GuzzleHttp\\Promise\\{closure}",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "::",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 251,
                "function": "run",
                "class": "GuzzleHttp\\Promise\\TaskQueue",
                "type": "->",
                "args": [
                    true
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 227,
                "function": "invokeWaitFn",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 272,
                "function": "waitIfPending",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 229,
                "function": "invokeWaitList",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 69,
                "function": "waitIfPending",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 189,
                "function": "wait",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/lib/private/Http/Client/Client.php",
                "line": 277,
                "function": "request",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": [
                    "post",
                    "*** sensitive parameters replaced ***",
                    {
                        "verify": false,
                        "timeout": 30,
                        "headers": {
                            "Content-Type": "application/json",
                            "Spreed-Signaling-Random": "/e+E+cfPhxBCfsoufBCdfhkFTr1+biS+IBzITzIFKwsjdhcldqVwYsKuzlshbI3c",
                            "Spreed-Signaling-Checksum": "4710b0c5ddca5f4cef1b00b78a22377a874bde7fe9a82a75cc7872fcef55d016",
                            "Spreed-Signaling-Backend": "http://nextcloud-mm.local/",
                            "User-Agent": "Nextcloud Server Crawler",
                            "0": "And 1 more entries, set log level to debug to see all entries"
                        },
                        "body": "{\"type\":\"delete\",\"delete\":{\"userids\":[]}}",
                        "nextcloud": {
                            "allow_local_address": true
                        },
                        "0": "And 1 more entries, set log level to debug to see all entries"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/BackendNotifier.php",
                "line": 57,
                "function": "post",
                "class": "OC\\Http\\Client\\Client",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/BackendNotifier.php",
                "line": 134,
                "function": "doRequest",
                "class": "OCA\\Talk\\Signaling\\BackendNotifier",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***",
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/BackendNotifier.php",
                "line": 272,
                "function": "backendRequest",
                "class": "OCA\\Talk\\Signaling\\BackendNotifier",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    },
                    {
                        "type": "delete",
                        "delete": {
                            "userids": "*** sensitive parameters replaced ***"
                        }
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/Listener.php",
                "line": 219,
                "function": "roomDeleted",
                "class": "OCA\\Talk\\Signaling\\BackendNotifier",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    },
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/Listener.php",
                "line": 130,
                "function": "notifyBeforeRoomDeleted",
                "class": "OCA\\Talk\\Signaling\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/Listener.php",
                "line": 81,
                "function": "handleExternalSignaling",
                "class": "OCA\\Talk\\Signaling\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
                "line": 68,
                "function": "handle",
                "class": "OCA\\Talk\\Signaling\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
                "line": 220,
                "function": "__invoke",
                "class": "OC\\EventDispatcher\\ServiceEventListener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                    },
                    "OCA\\Talk\\Events\\BeforeRoomDeletedEvent",
                    {
                        "__class__": "Symfony\\Component\\EventDispatcher\\EventDispatcher"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
                "line": 56,
                "function": "callListeners",
                "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    [
                        {
                            "__class__": "Closure"
                        },
                        {
                            "__class__": "Closure"
                        }
                    ],
                    "OCA\\Talk\\Events\\BeforeRoomDeletedEvent",
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
                "line": 67,
                "function": "dispatch",
                "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                    },
                    "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
                "line": 79,
                "function": "dispatch",
                "class": "OC\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    "OCA\\Talk\\Events\\BeforeRoomDeletedEvent",
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Service/RoomService.php",
                "line": 1229,
                "function": "dispatchTyped",
                "class": "OC\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomDeletedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/BackgroundJob/RemoveEmptyRooms.php",
                "line": 103,
                "function": "deleteRoom",
                "class": "OCA\\Talk\\Service\\RoomService",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/BackgroundJob/RemoveEmptyRooms.php",
                "line": 84,
                "function": "doDeleteRoom",
                "class": "OCA\\Talk\\BackgroundJob\\RemoveEmptyRooms",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/BackgroundJob/RemoveEmptyRooms.php",
                "line": 63,
                "function": "deleteIfIsEmpty",
                "class": "OCA\\Talk\\BackgroundJob\\RemoveEmptyRooms",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Manager.php",
                "line": 83,
                "function": "callback",
                "class": "OCA\\Talk\\BackgroundJob\\RemoveEmptyRooms",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/BackgroundJob/RemoveEmptyRooms.php",
                "line": 49,
                "function": "forAllRooms",
                "class": "OCA\\Talk\\Manager",
                "type": "->",
                "args": [
                    [
                        {
                            "__class__": "OCA\\Talk\\BackgroundJob\\RemoveEmptyRooms"
                        },
                        "callback"
                    ]
                ]
            },
            {
                "file": "/var/www/html/lib/public/BackgroundJob/Job.php",
                "line": 61,
                "function": "run",
                "class": "OCA\\Talk\\BackgroundJob\\RemoveEmptyRooms",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
                "line": 88,
                "function": "start",
                "class": "OCP\\BackgroundJob\\Job",
                "type": "->",
                "args": [
                    {
                        "__class__": "OC\\BackgroundJob\\JobList"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
                "line": 75,
                "function": "start",
                "class": "OCP\\BackgroundJob\\TimedJob",
                "type": "->",
                "args": [
                    {
                        "__class__": "OC\\BackgroundJob\\JobList"
                    }
                ]
            },
            {
                "file": "/var/www/html/cron.php",
                "line": 168,
                "function": "execute",
                "class": "OCP\\BackgroundJob\\TimedJob",
                "type": "->",
                "args": [
                    {
                        "__class__": "OC\\BackgroundJob\\JobList"
                    }
                ]
            }
        ],
        "File": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php",
        "Line": 111,
        "message": "Error while running background job OCA\\Talk\\BackgroundJob\\RemoveEmptyRooms (id: 69, arguments: null)",
        "exception": {},
        "CustomMessage": "Error while running background job OCA\\Talk\\BackgroundJob\\RemoveEmptyRooms (id: 69, arguments: null)"
    }
}

Create "Let's get started" conversation (through widget!):

{
    "reqId": "lyVbw50AiwWwvp2as4WN",
    "level": 3,
    "time": "2025-01-13T19:27:09+00:00",
    "remoteAddr": "192.168.21.9",
    "user": "admin",
    "app": "spreed",
    "method": "GET",
    "url": "/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets%5B%5D=spreed",
    "message": "Failed to send message to signaling server",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",
    "version": "31.0.0.6",
    "exception": {
        "Exception": "GuzzleHttp\\Exception\\ClientException",
        "Message": "Client error: `POST https://talk-signaling-mm.local/api/v1/room/xqsu8ixz` resulted in a `403 Forbidden` response:\nAuthentication check failed\n\n",
        "Code": 403,
        "Trace": [
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php",
                "line": 72,
                "function": "create",
                "class": "GuzzleHttp\\Exception\\RequestException",
                "type": "::",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 209,
                "function": "GuzzleHttp\\{closure}",
                "class": "GuzzleHttp\\Middleware",
                "type": "::",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 158,
                "function": "callHandler",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "::",
                "args": [
                    1,
                    "*** sensitive parameters replaced ***",
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php",
                "line": 52,
                "function": "GuzzleHttp\\Promise\\{closure}",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "::",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 251,
                "function": "run",
                "class": "GuzzleHttp\\Promise\\TaskQueue",
                "type": "->",
                "args": [
                    true
                ]
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 227,
                "function": "invokeWaitFn",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 272,
                "function": "waitIfPending",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 229,
                "function": "invokeWaitList",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php",
                "line": 69,
                "function": "waitIfPending",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 189,
                "function": "wait",
                "class": "GuzzleHttp\\Promise\\Promise",
                "type": "->",
                "args": []
            },
            {
                "file": "/var/www/html/lib/private/Http/Client/Client.php",
                "line": 277,
                "function": "request",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": [
                    "post",
                    "*** sensitive parameters replaced ***",
                    {
                        "verify": false,
                        "timeout": 30,
                        "headers": {
                            "Content-Type": "application/json",
                            "Spreed-Signaling-Random": "2YmSworcOgCvdNdZB5DOEYuwSzUnsLeK0JEt4uSL+PIUpa8Y5vFnvU2kUCkLBo+w",
                            "Spreed-Signaling-Checksum": "fc067dea929d21a4568d7d4fa096b923f3beb2efd8ee1cdecaec608b93cf3a92",
                            "Spreed-Signaling-Backend": "https://nextcloud-mm.local/",
                            "User-Agent": "Nextcloud Server Crawler",
                            "0": "And 1 more entries, set log level to debug to see all entries"
                        },
                        "body": "{\"type\":\"message\",\"message\":{\"data\":{\"type\":\"chat\",\"chat\":{\"refresh\":true}}}}",
                        "nextcloud": {
                            "allow_local_address": true
                        },
                        "0": "And 1 more entries, set log level to debug to see all entries"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/BackendNotifier.php",
                "line": 57,
                "function": "post",
                "class": "OC\\Http\\Client\\Client",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/BackendNotifier.php",
                "line": 134,
                "function": "doRequest",
                "class": "OCA\\Talk\\Signaling\\BackendNotifier",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***",
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/BackendNotifier.php",
                "line": 517,
                "function": "backendRequest",
                "class": "OCA\\Talk\\Signaling\\BackendNotifier",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    },
                    {
                        "type": "message",
                        "message": {
                            "data": {
                                "type": "chat",
                                "chat": {
                                    "refresh": true
                                }
                            }
                        }
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/Listener.php",
                "line": 445,
                "function": "sendRoomMessage",
                "class": "OCA\\Talk\\Signaling\\BackendNotifier",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    },
                    {
                        "type": "chat",
                        "chat": {
                            "refresh": true
                        }
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/Listener.php",
                "line": 140,
                "function": "notifyMessageSent",
                "class": "OCA\\Talk\\Signaling\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\SystemMessageSentEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Signaling/Listener.php",
                "line": 81,
                "function": "handleExternalSignaling",
                "class": "OCA\\Talk\\Signaling\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\SystemMessageSentEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
                "line": 68,
                "function": "handle",
                "class": "OCA\\Talk\\Signaling\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\SystemMessageSentEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
                "line": 220,
                "function": "__invoke",
                "class": "OC\\EventDispatcher\\ServiceEventListener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\SystemMessageSentEvent"
                    },
                    "OCA\\Talk\\Events\\SystemMessageSentEvent",
                    {
                        "__class__": "Symfony\\Component\\EventDispatcher\\EventDispatcher"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
                "line": 56,
                "function": "callListeners",
                "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    [
                        {
                            "__class__": "Closure"
                        },
                        {
                            "__class__": "Closure"
                        },
                        {
                            "__class__": "Closure"
                        }
                    ],
                    "OCA\\Talk\\Events\\SystemMessageSentEvent",
                    {
                        "__class__": "OCA\\Talk\\Events\\SystemMessageSentEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
                "line": 67,
                "function": "dispatch",
                "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\SystemMessageSentEvent"
                    },
                    "OCA\\Talk\\Events\\SystemMessageSentEvent"
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
                "line": 79,
                "function": "dispatch",
                "class": "OC\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    "OCA\\Talk\\Events\\SystemMessageSentEvent",
                    {
                        "__class__": "OCA\\Talk\\Events\\SystemMessageSentEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Chat/ChatManager.php",
                "line": 245,
                "function": "dispatchTyped",
                "class": "OC\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\SystemMessageSentEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Chat/SystemMessage/Listener.php",
                "line": 480,
                "function": "addSystemMessage",
                "class": "OCA\\Talk\\Chat\\ChatManager",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    },
                    "guests",
                    "system",
                    "{\"message\":\"conversation_created\",\"parameters\":[]}",
                    {
                        "__class__": "DateTime"
                    },
                    false,
                    "*** sensitive parameters replaced ***",
                    "*** sensitive parameters replaced ***",
                    false,
                    false
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Chat/SystemMessage/Listener.php",
                "line": 160,
                "function": "sendSystemMessage",
                "class": "OCA\\Talk\\Chat\\SystemMessage\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Room"
                    },
                    "conversation_created",
                    "*** sensitive parameters replaced ***",
                    "*** sensitive parameters replaced ***",
                    false,
                    false,
                    true
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Chat/SystemMessage/Listener.php",
                "line": 86,
                "function": "sendSystemMessageAboutConversationCreated",
                "class": "OCA\\Talk\\Chat\\SystemMessage\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\RoomCreatedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
                "line": 68,
                "function": "handle",
                "class": "OCA\\Talk\\Chat\\SystemMessage\\Listener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\RoomCreatedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
                "line": 220,
                "function": "__invoke",
                "class": "OC\\EventDispatcher\\ServiceEventListener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\RoomCreatedEvent"
                    },
                    "OCA\\Talk\\Events\\RoomCreatedEvent",
                    {
                        "__class__": "Symfony\\Component\\EventDispatcher\\EventDispatcher"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
                "line": 56,
                "function": "callListeners",
                "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    [
                        {
                            "__class__": "Closure"
                        }
                    ],
                    "OCA\\Talk\\Events\\RoomCreatedEvent",
                    {
                        "__class__": "OCA\\Talk\\Events\\RoomCreatedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
                "line": 67,
                "function": "dispatch",
                "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\RoomCreatedEvent"
                    },
                    "OCA\\Talk\\Events\\RoomCreatedEvent"
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
                "line": 79,
                "function": "dispatch",
                "class": "OC\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    "OCA\\Talk\\Events\\RoomCreatedEvent",
                    {
                        "__class__": "OCA\\Talk\\Events\\RoomCreatedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Manager.php",
                "line": 1145,
                "function": "dispatchTyped",
                "class": "OC\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\RoomCreatedEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Service/RoomService.php",
                "line": 173,
                "function": "createRoom",
                "class": "OCA\\Talk\\Manager",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Service/SampleConversationsService.php",
                "line": 63,
                "function": "createConversation",
                "class": "OCA\\Talk\\Service\\RoomService",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Service/SampleConversationsService.php",
                "line": 58,
                "function": "defaultSampleConversation",
                "class": "OCA\\Talk\\Service\\SampleConversationsService",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Listener/SampleConversationsListener.php",
                "line": 27,
                "function": "initialCreateSamples",
                "class": "OCA\\Talk\\Service\\SampleConversationsService",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***"
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/ServiceEventListener.php",
                "line": 68,
                "function": "handle",
                "class": "OCA\\Talk\\Listener\\SampleConversationsListener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomsFetchEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
                "line": 220,
                "function": "__invoke",
                "class": "OC\\EventDispatcher\\ServiceEventListener",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomsFetchEvent"
                    },
                    "OCA\\Talk\\Events\\BeforeRoomsFetchEvent",
                    {
                        "__class__": "Symfony\\Component\\EventDispatcher\\EventDispatcher"
                    }
                ]
            },
            {
                "file": "/var/www/html/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
                "line": 56,
                "function": "callListeners",
                "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    [
                        {
                            "__class__": "Closure"
                        },
                        {
                            "__class__": "Closure"
                        },
                        {
                            "__class__": "Closure"
                        }
                    ],
                    "OCA\\Talk\\Events\\BeforeRoomsFetchEvent",
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomsFetchEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
                "line": 67,
                "function": "dispatch",
                "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomsFetchEvent"
                    },
                    "OCA\\Talk\\Events\\BeforeRoomsFetchEvent"
                ]
            },
            {
                "file": "/var/www/html/lib/private/EventDispatcher/EventDispatcher.php",
                "line": 79,
                "function": "dispatch",
                "class": "OC\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    "OCA\\Talk\\Events\\BeforeRoomsFetchEvent",
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomsFetchEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps-extra/spreed/lib/Dashboard/TalkWidget.php",
                "line": 179,
                "function": "dispatchTyped",
                "class": "OC\\EventDispatcher\\EventDispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Talk\\Events\\BeforeRoomsFetchEvent"
                    }
                ]
            },
            {
                "file": "/var/www/html/apps/dashboard/lib/Controller/DashboardApiController.php",
                "line": 119,
                "function": "getItemsV2",
                "class": "OCA\\Talk\\Dashboard\\TalkWidget",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***",
                    "*** sensitive parameters replaced ***",
                    7
                ]
            },
            {
                "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 200,
                "function": "getWidgetItemsV2",
                "class": "OCA\\Dashboard\\Controller\\DashboardApiController",
                "type": "->",
                "args": [
                    "*** sensitive parameters replaced ***",
                    7,
                    {
                        "spreed": {
                            "__class__": "OCA\\Talk\\Dashboard\\TalkWidget"
                        }
                    }
                ]
            },
            {
                "file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 114,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Dashboard\\Controller\\DashboardApiController"
                    },
                    "getWidgetItemsV2"
                ]
            },
            {
                "file": "/var/www/html/lib/private/AppFramework/App.php",
                "line": 161,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [
                    {
                        "__class__": "OCA\\Dashboard\\Controller\\DashboardApiController"
                    },
                    "getWidgetItemsV2"
                ]
            },
            {
                "file": "/var/www/html/lib/private/Route/Router.php",
                "line": 306,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::",
                "args": [
                    "OCA\\Dashboard\\Controller\\DashboardApiController",
                    "getWidgetItemsV2",
                    {
                        "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                    },
                    {
                        "_route": "ocs.dashboard.dashboardapi.getwidgetitemsv2"
                    }
                ]
            },
            {
                "file": "/var/www/html/ocs/v1.php",
                "line": 49,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->",
                "args": [
                    "/ocsapp/apps/dashboard/api/v2/widget-items"
                ]
            },
            {
                "file": "/var/www/html/ocs/v2.php",
                "line": 7,
                "args": [
                    "/var/www/html/ocs/v1.php"
                ],
                "function": "require_once"
            }
        ],
        "File": "/var/www/html/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php",
        "Line": 111,
        "message": "Failed to send message to signaling server",
        "exception": {},
        "CustomMessage": "Failed to send message to signaling server"
    }
}
@nickvergessen nickvergessen self-assigned this Jan 13, 2025
@nickvergessen nickvergessen added 1. to develop feature: api 🛠️ OCS API for conversations, chats and participants feature: signaling 📶 Internal and external signaling backends and removed 0. Needs triage labels Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop bug feature: api 🛠️ OCS API for conversations, chats and participants feature: signaling 📶 Internal and external signaling backends
Projects
None yet
Development

No branches or pull requests

2 participants