Help Center> Intelligent EdgeFabric> FAQs> Edge Application FAQs> What Can I Do If a Function Fails to Start?

What Can I Do If a Function Fails to Start?

Symptom

A function fails to start and its status is Error.

Analysis

  • Function startup environments (Python 2.7 and Python3.6) are unavailable on edge nodes.
  • The function code has a defect and fails to be compiled during calling.
  • An exception occurs during function execution.

Solution

  1. Install a function runtime environment.
  2. Check the function code and rectify the defect to ensure successful compilation.
  3. View the startup logs (python***.log) of the function that is connected to the application monitoring module. Check the error information and rectify the fault accordingly.