Firebase Functions部署报错:容器导入服务异常求助
Firebase Functions部署报错:
The service has encountered an error during container import. Please try again later 部署Firebase Functions时,持续触发以下错误:
The service has encountered an error during container import. Please try again later
该错误已连续出现3次,且每次都在同一函数createFromJobPubSub上失败,已确认同一时间仅执行一次firebase functions deploy操作。
审计日志详情
{ "protoPayload": { "@type": "type.googleapis.com/google.cloud.audit.AuditLog", "status": { "code": 14, "message": "The service has encountered an error during container import. Please try again later" }, "authenticationInfo": {}, "serviceName": "cloudfunctions.googleapis.com", "methodName": "google.cloud.functions.v1.CloudFunctionsService.UpdateFunction", "resourceName": "projects/voypost-matching-prod/locations/europe-west3/functions/createFromJobPubSub" }, "insertId": "-wq3kwnb2c", "resource": { "type": "cloud_function", "labels": { "project_id": "voypost-matching-prod", "function_name": "createFromJobPubSub", "region": "europe-west3" } }, "timestamp": "2023-01-07T16:39:01.688761Z", "severity": "ERROR", "logName": "projects/voypost-matching-prod/logs/cloudaudit.googleapis.com%2Factivity", "operation": { "id": "operations/dm95cG9zdC1tYXRjaGluZy1wcm9kL2V1cm9wZS13ZXN0My9jcmVhdGVGcm9tSm9iUHViU3ViL0pOaGkxYW9zMWxj", "producer": "cloudfunctions.googleapis.com", "last": true }, "receiveTimestamp": "2023-01-07T16:39:02.021123649Z" }
已进行的排查操作:
- 针对官方文档提示的「非UTF-8字符可能引发该错误」,已通过命令
grep -axv '.*' ./lib/**/*.js验证,代码文件中不存在此类字符。
寻求解决方案。
内容的提问来源于stack exchange,提问作者Nikita Sviridenko
相关产品推荐
相关产品推荐

