nuwave / nuwave/lighthouse

Support beyondcode/laravel-websockets as a subscription driver

Open
#847 26 comments 9 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
3.5k
Forks
468
Avg merge
3h 9m
Merged PRs (30d)
2

Description

Hello

I've been trying to get beyondcode/laravel-websockets to work with lighthouse but keep running into this error.

Error during WebSocket handshake: Unexpected response code: 426

Then I stumbled across this comment that says it is incompatible with lighthouse. Any thoughts on this? I'd love to be able to use both. I saw there was a lighthouse websockets project published last year, but it doesn't seem to have much action at the moment, which is why I looked into using the beyondcode server.

https://github.com/beyondcode/laravel-websockets/issues/111#issuecomment-505349459

Thanks,
Nate

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining Lighthouse's subscription-driver integration and the compatibility comment in beyondcode/laravel-websockets issue 111, then reproduce the reported WebSocket handshake error. Done means Lighthouse subscriptions can use beyondcode/laravel-websockets without the reported 426 response and both projects work together.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, laravel, php
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.