Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
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
Labels
bugSomething isn't working invalidThis doesn't seem right
@klaasnicolaas

Description

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 working invalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /