Error Code 113 and "Grpc socket closed" Are Reported

Symptom

During the tuning, errors and alarms similar to the following may be reported. Error code 113 indicates that the gRPC service is unavailable. As a result, the tuning is interrupted.

  • Error 1
    [WARNING] TUNE(176715,aoe):2024-06-05-15:34:17.806.812 [nca_client.cpp:188][NCA]202128 Service: Grpc socket closed.
    [ERROR] TUNE(176715,aoe):2024-06-05-15:34:17.877.052 [nca.cpp:334][NCA]202128 LoadModelFromMem: Failed to load model, Session = 145, error = 113.
  • Error 2
    [WARNING] TUNE(176715,aoe):2024-06-05-15:34:17.806.812 [nca_client.cpp:188][NCA]202128 Service: Grpc socket closed.
    [ERROR] TUNE(176715,aoe):2024-06-05-15:34:17.877.052 [nca.cpp:447][NCA]202128 RunModel: [Session: 145] Failed to execute RunModel. error = 113

Solution

If error code 113 and alarm "Grpc socket closed" are displayed, the current gRPC status code is UNAVAILABLE. The solution is to perform optimization again.