Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Laravel 7 - Authentication problem on websocket dashboard #438

Closed
@klaasnicolaas

Description

@klaasnicolaas

I have Laravel Websockets running on Laravel 7 (thanks to the changes in this fork: beyondcode/laravel-websockets-demo#12) but I get an error 500 in my console when I connect in the websocket dashboard (/ laravel-websockets).

image

I can confirm that the underlying websocket server has continued to work fine, because my test events are still arriving. However, this error message is purely at the dashboard what @beyondcode made.

In addition, I see the error message below in my laravel.log:
[2020-08-05 10:29:53] local.ERROR: Trying to get property 'key' of non-object {"userId":1,"exception":"[object] (ErrorException(code: 0): Trying to get property 'key' of non-object at /var/www/mission-control/vendor/beyondcode/laravel-websockets/src/Dashboard/Http/Controllers/AuthenticateDashboard.php:22) [stacktrace]

Is it possible that someone has already experienced this problem and / or knows a solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions