question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[server@2.12.0] APQ registration causes "addProtobufError called before startTiming!"

See original GitHub issue

I’m using apollo-server-lambda to serve a GraphQL Application in an AWS Lambda and apollo-client with apollo-link-persisted-queries so I can benefit from “persisted queries” feature

Upgrading to 2.12.0 broke the persisted queries requests, the server is now returning a 500 error whenever a client make a request using the persisted query extension

Here is a query exemple

{"operationName":"Themes","variables":{},"extensions":{"persistedQuery":{"version":1,"sha256Hash":"abc5e6f7d2b18d51853698b172c002b7866af0cab36178a6867b8f0f92a61a60"}}}

And here is the server response

{"errors":[{"message":"[internal apollo-server error] addProtobufError called before startTiming!","extensions":{"code":"INTERNAL_SERVER_ERROR"}}]}

Rollbacking apollo-server-lambda to 2.11.0 fixed the issue

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
vanwaljcommented, Apr 14, 2020

Thank you @trevor-scheer and @abernix for your investigations, I will try this week to isolate the problem on my side so we can reproduce it, I’ll keep you updated!

Thanks again!

0reactions
abernixcommented, May 4, 2020

Happy to re-open this if you’re able to provide a reproduction, but I’m going to close it for now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found