aws / aws/aws-appsync-community

AppSync Timeout CustomTemplateException in Ten Seconds

Open
#43 7 comments 7 reactions 0 assignees View on GitHub
feature-request
Dominant language
HTML
Stars
507
Forks
37
PR merge metrics
No merged PRs in 30d

Description

For AppSync GUI and AWS Amplify JS clients we are getting this error in **ten** seconds, where I've read it is defaulted to 30 seconds.
```
"CustomTemplateException(message=execution timed out, errorType=Http:ExecutionTimeoutException, data=null, errorInfo=null)"
```
Is timeout configurable for mutations? I've gone extensively through documentation and see timeout may of been removed for scalability concerns. Should we implement subscriptions if we expect to have requests that take a while to respond.

Thanks in advance

![graphql-response](https://user-images.githubusercontent.com/6300445/63376354-7cc42d00-c342-11e9-8abc-df0c869b01d3.png)
![graphql-response-time](https://user-images.githubusercontent.com/6300445/63376355-7cc42d00-c342-11e9-8691-02f9f5628e1f.png)
![appsync-gui](https://user-images.githubusercontent.com/6300445/63376356-7cc42d00-c342-11e9-9c18-ef77fde5509c.png)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the AWS AppSync and AWS Amplify JS client documentation for mutation timeout behavior and the reported ten-second limit. Compare the AppSync GUI and client requests, then determine whether timeout configuration or subscriptions address the case; done means documenting the supported behavior and a confirmed workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, graphql, javascript
Domain
api, cloud
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.