Intermittent 503 and 409 errors in the Live Stream APIs

The Live Stream Application Programming Interface (APIs) in Adobe Analytics may sometimes encounter 503 and/or 409 errors. This usually happens when the Live Stream client connects and disconnects repeatedly. To avoid this, the client should establish a connection and continue reading from the stream without disconnecting. For more details, please refer to the article.

Description description

Environment

  • Analytics
  • Customer Journey Analytics

Issue/Symptoms

Live Stream Application Programming Interface (APIs) may return 503 and/or 409 errors sometimes. The reason behind these errors is described in the troubleshooting guide, it can happen even if maxConnections have been specified (409) and have regular flow of hits in the report suites (503).

Resolution resolution

This could happen mainly due to the Live Stream client connecting/disconnecting repeatedly. This type of client behavior will result in a myriad of issues, as both of the load balancer and Application Programming Interface (API) endpoints cannot determine whether the client has lost its connection temporarily or permanently. As per our documentation, the client should establish a connection and then continue to read from the stream without disconnecting. If the connection is lost, the client should wait ~60 seconds (to allow the load balancer and API to recognize the severed connection) and then attempt to re-establish the connection to the API.

recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f