You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After enabling Redis KeyvAdapter for documentStore there are errors on receiving requests.
TypeError: Cannot read properties of undefined (reading 'body')
File "/opt/app/node_modules/graphql/language/location.js", line 23, col 30, in getLocation
for (const match of source.body.matchAll(LineRegExp)) {
File "/opt/app/node_modules/graphql/error/GraphQLError.js", line 128, col 39, in <anonymous>
(0, _location.getLocation)(loc.source, loc.start),
File "<anonymous>", in Array.map
File "/opt/app/node_modules/graphql/error/GraphQLError.js", line 127, col 25, in new GraphQLError
: nodeLocations.map((loc) =>
File "/opt/app/node_modules/graphql/error/locatedError.js", line 26, col 10, in locatedError
return new _GraphQLError.GraphQLError(originalError.message, {
File "/opt/app/node_modules/graphql/execution/execute.js", line 503, col 54, in <anonymous>
const error = (0, _locatedError.locatedError)(
File "node:internal/process/task_queues", line 95, col 5, in process.processTicksAndRejections
File "/opt/app/node_modules/@apollo/server/dist/cjs/requestPipeline.js", line 223, col 37, in execute
const resultOrResults = await (0, incrementalDeliveryPolyfill_js_1.executeIncrementally)({
File "/opt/app/node_modules/@apollo/server/dist/cjs/requestPipeline.js", line 158, col 32, in processGraphQLRequest
const fullResult = await execute(requestContext);
File "/opt/app/node_modules/@apollo/server/dist/cjs/ApolloServer.js", line 615, col 16, in internalExecuteOperation
return await (0, requestPipeline_js_1.processGraphQLRequest)(schemaDerivedData, server, internals, requestContext);
The service works in multiple instances with a shared redis database.
NodeJS v18.15.0
Apollo server is running as an express middleware.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
For general questions, we recommend using StackOverflow or our discord server.
Issue Description
After enabling Redis KeyvAdapter for documentStore there are errors on receiving requests.
The service works in multiple instances with a shared redis database.
NodeJS v18.15.0
Apollo server is running as an express middleware.
Dependencies:
Link to Reproduction
n/a
Reproduction Steps
The text was updated successfully, but these errors were encountered: