Azure 流分析外部错误代码Azure Stream Analytics external error codes

可以使用活动日志和资源日志来帮助调试 Azure 流分析作业中的意外行为。You can use activity logs and resource logs to help debug unexpected behaviors from your Azure Stream Analytics job. 本文列出了每个外部错误代码的说明。This article lists the description for every external error code. 外部错误是指由上游或下游服务引发的一般错误,流分析无法将这些错误区分为数据错误、配置错误或外部可用性错误。External errors are generic errors thrown by an upstream or downstream service that Stream Analytics can't distinguish as a data error, configuration error, or external availability error.

AdapterInitializationErrorAdapterInitializationError

  • 原因:初始化适配器时出错。Cause: An error occurred when initializing the an adapter.

AdapterFailedToWriteEventsAdapterFailedToWriteEvents

  • 原因:将数据写入适配器时出错。Cause: An error occurred while writing data to an adapter.

AzureFunctionHttpErrorAzureFunctionHttpError

  • 原因:Azure 函数返回了一个 HTTP 错误。Cause: An HTTP error was returned from Azure functions.

AzureFunctionFailedToSendMessageAzureFunctionFailedToSendMessage

  • 原因:流分析未能将事件写入 Azure Functions。Cause: Stream Analytics failed to write events to Azure Function.

AzureFunctionRedirectErrorAzureFunctionRedirectError

  • 原因:输出到 Azure Functions 时出现重定向错误。Cause: There is a redirect error when outputting to Azure Functions.

AzureFunctionClientErrorAzureFunctionClientError

  • 原因:输出到 Azure Functions 时出现客户端错误。Cause: There is a client error outputting to Azure Functions.

AzureFunctionServerErrorAzureFunctionServerError

  • 原因:输出到 Azure Functions 时出现服务器错误。Cause: There is a server error outputting to Azure Functions.

AzureFunctionHttpTimeOutErrorAzureFunctionHttpTimeOutError

  • 原因:写入 Azure 函数失败,原因是 http 请求超时。Cause: Writing to Azure functions failed as the http request exceeded the timeout.
  • 建议:检查 Azure Functions 日志中是否存在潜在延迟。Recommendation: Check your Azure Functions logs for potential delays.

EventHubArgumentErrorEventHubArgumentError

  • 原因:输入偏移量无效。Cause: Input offsets are invalid. 这可能是由于故障转移造成的。This may be due to a failover.
  • 建议:从上次输出时间重新启动流分析作业。Recommendation: Restart your Stream Analytics job from last output time.

EventHubFailedToWriteEventsEventHubFailedToWriteEvents

  • 原因:向事件中心发送数据时出错。Cause: An error occurred while sending data to Event Hub.

CosmosDBConnectionFailureAfterMaxRetriesCosmosDBConnectionFailureAfterMaxRetries

  • 原因:在最大重试次数后,流分析无法连接到 Cosmos DB 帐户。Cause: Stream Analytics failed to connect to a Cosmos DB account after the maximum number of retries.

CosmosDBFailureAfterMaxRetriesCosmosDBFailureAfterMaxRetries

  • 原因:在最大重试次数后,流分析无法查询 Cosmos DB 数据库和集合。Cause: Stream Analytics failed to query the Cosmos DB database and collection after the maximum number of retries.

CosmosDBFailedToCreateStoredProcedureCosmosDBFailedToCreateStoredProcedure

  • 原因:多次重试后,CosmosDB 无法创建存储过程。Cause: CosmosDB can't create a stored procedure after several retries.

CosmosDBOutputRequestTimeoutCosmosDBOutputRequestTimeout

  • 原因:upsert 存储过程返回一个错误。Cause: The upsert stored procedure returned an error.

SQLDatabaseOutputInitializationErrorSQLDatabaseOutputInitializationError

  • 原因:流分析无法初始化 SQL 数据库输出。Cause: Stream Analytics can't initialize the SQL Database output.

SQLDatabaseOutputWriteErrorSQLDatabaseOutputWriteError

  • 原因:流分析无法将事件写入 SQL 数据库输出。Cause: Stream Analytics can't write events to the SQL Database output.

SQLDWOutputInitializationErrorSQLDWOutputInitializationError

  • 原因:初始化 Synapse SQL 池输出时出错。Cause: An error occurred when initializing a Synapse SQL pool output.

SQLDWOutputWriteErrorSQLDWOutputWriteError

  • 原因:将输出写入 Synapse SQL 池时出错。Cause: An error occurred when writing output to a Synapse SQL pool.

后续步骤Next steps