#Function mock: GraphQL stopped responding

5 messages · Page 1 of 1 (latest)

verbal reef
#

My function mock suddenly stopped reaching my Appsync GraphQL API. Nothing happens, it just eventually times out.

I'm able to run the same query through the DynamoDB "Expore items" page in AWS Console and my webapp is still able to run queries just fine. It only affects my mocked function.

I tried pushing it multiple times but that didn't help. I also deleted node_modules which also did nothing.

Any idea how I can debug this, or what it might be?

Btw:

This is the latest Amplify CLI version.
verbal reef
#

I solved it by checking out an earlier commit, amplify push and then checking out my latest code again and amplify push again. It works now

#

Nevermind, it broke again. I ran my function mock a few times and then it stopped working.

#

Worth knowing: I'm performing around 4k queries per 5 mins. Can this be a problem?

verbal reef
#

It's 40+ hours later and my function still can't reach the API. I guess it's not a self-recovering problem