This topic provides answers to some commonly asked questions when you use Serverless Application Center to deploy applications.
- What do I do if an environment exception occurs?
- What do I do if a pipeline build times out?
- What do I do if pipeline execution is not triggered after code is submitted?
- What do I do if pipelines of only one environment are triggered after code is submitted?
- Why are the configurations of the corresponding service changed each time an application is deployed in Serverless Application Center?
What do I do if an environment exception occurs?
You can view the running status to locate the cause of an environment exception. In most cases, an environment exception is caused by a permission issue or insufficient quota.


What do I do if a pipeline build times out?
If a pipeline fails to be deployed, you can view the logs to resolve the issue. In most cases, the Error: Function timed out after 600 seconds
timeout error is caused by a prolonged dependency download.

- Method 1:Use a Chinese mainland source or proxy when you install dependencies, for example:
- Use a Tsinghua source to install Python dependencies.
pip install some-package -i https://pypi.tuna.tsinghua.edu.cn/simple
- Use a Taobao source to install Node.js dependencies.
npm install some-package --registry https://registry.npmmirror.com
- Use Goproxy to install Golang.
GOPROXY=https://goproxy.cn
- Use a Tsinghua source to install Python dependencies.
- Method 2:
Use a custom pipeline to deploy the build environment in the China (Hong Kong) region, or set the timeout periods of build to a custom value. If you use a custom pipeline, you are charged for function invocations. For more information, see Billing overview.
What do I do if pipeline execution is not triggered after code is submitted?
If pipeline execution is not triggered after code is submitted, you can view the execution history of webhooks of the code repository to troubleshoot the issue. If a 500 error is reported, join the DingTalk group 11721331 to communicate instantly with Function Compute engineers.

What do I do if pipelines of only one environment are triggered after code is submitted?
If multiple environments are associated with the same code branch, services in different environments may overwrite each other if multiple environments are deployed with the same code version. To prevent this, Serverless Application Center allows the pipelines of only one environment to be executed at a time. If you need to trigger pipelines in multiple environments at the same time, join the DingTalk group 11721331 to contact the technical support of Function Compute.
Why are the configurations of the corresponding service changed each time an application is deployed in Serverless Application Center?
When you deploy an application, services and functions are updated based on the configurations in the s.yaml file in the code library. Therefore, the configurations that you modify in the console are overwritten after the application is deployed.
To prevent your service configurations from being overwritten, we recommend that you modify the configurations in the s.yaml file of the code library. For more information, see service field.
After you modify the configurations of a service and a function in the console, you can click Export Function in the upper-right corner of the function details page and select Export Configuration to export the s.yaml file of the service and function. You can use this s.yaml file as a reference to update the s.yaml file in the code library.