Hi
Weβre experiencing some issues with @redwoodjs/realtime.
/git/redwood-realtime-docker-error-repro yarn rw dev
web | β Local: http://localhost:8910/
web | β Network: http://10.255.255.254:8910/
web | β Network: http://172.24.235.251:8910/
gen | Generating full TypeScript definitions and GraphQL schemas
gen | Done.
api | Building...
api | For help, see: https://nodejs.org/en/docs/inspector
api | Importing Server Functions...
api | ...Done importing in 1 ms
api | GraphQL Yoga Server endpoint at graphql
api | GraphQL Yoga Server Health Check endpoint at graphql/health
api | GraphQL Yoga Server Readiness endpoint at graphql/readiness
api | 16:38:36 π² Server listening at http://[::]:8911
api | Server listening at http://[::]:8911/
api | 16:38:39 π² incoming request POST xxx /graphql
api | 16:38:39 π Parsing request to extract GraphQL parameters
api | 16:38:39 π Processing GraphQL Parameters
api | 16:38:39 π graphql-server GraphQL execution started: FindPosts
api | 16:38:39 π Processing GraphQL Parameters done.
api | 16:38:39 π² Starting a postgresql pool with 3 connections.
api | π Custom
api | {
api | "prisma": {
api | "clientVersion": "5.14.0"
api | },
api | "timestamp": "2024-08-06T14:38:39.508Z",
api | "target": "quaint::pooled"
api | }
api | 16:38:44 π² stream closed prematurely
api | 16:38:45 π² incoming request POST xxx /graphql
api | 16:38:45 π Parsing request to extract GraphQL parameters
api | 16:38:45 π Processing GraphQL Parameters
api | 16:38:45 π graphql-server GraphQL execution started: FindPosts
api | 16:38:45 π Processing GraphQL Parameters done.
api | 16:38:47 π² stream closed prematurely
api | 16:38:47 π² incoming request POST xxx /graphql
api | 16:38:47 π Parsing request to extract GraphQL parameters
api | 16:38:47 π Processing GraphQL Parameters
api | 16:38:47 π graphql-server GraphQL execution started: EditPostById
api | 16:38:47 π Processing GraphQL Parameters done.
api | 16:38:49 π² stream closed prematurely
api | 16:38:49 π² incoming request POST xxx /graphql
api | 16:38:49 π Parsing request to extract GraphQL parameters
api | 16:38:49 π Processing GraphQL Parameters
api | 16:38:49 π graphql-server GraphQL execution started: FindPosts
api | 16:38:49 π Processing GraphQL Parameters done.
api | 16:38:50 π² stream closed prematurely
api | 16:38:50 π² incoming request POST xxx /graphql
api | 16:38:50 π Parsing request to extract GraphQL parameters
api | 16:38:50 π Processing GraphQL Parameters
api | 16:38:50 π graphql-server GraphQL execution started: EditPostById
api | 16:38:50 π Processing GraphQL Parameters done.
api | 16:38:51 π² stream closed prematurely
this error appears everytime the user navigates from a page with the @live directive and briefly on a page refresh with F5.
api | 16:38:49 π² stream closed prematurely
itβs an error from the apollo query and the cell failure is rendering it. (Although only very shortly before unmounting it.
export const Failure = ({ error }: CellFailureProps<FindPosts>) => (
<div className="rw-cell-error">{error?.message}</div>
)
Iβve checked previous repositories for the same error and it was reproducible with this one:
which was used for a previous thread.
The message doesnβt appear if you remove the @live directive from the gql queries. So Iβm unsure if this is related to this issue
Which reportedly didnβt involve any realtime features.
Help appreciated