Skip to content

Intermittent 'ECONNRESET' Errors #21

@blrchen

Description

@blrchen

Reviewing the past month's log in my deployment, I've noticed intermittent occurrences of "Error in getCompletions: Error: read ECONNRESET" from client apps. This error typically arises when the connection between the proxy and the Azure OpenAI server unexpectedly closes during request processing. The "ECONNRESET" message signifies that the server abruptly closed the connection.

To address this, the code should be enhanced to handle such situations appropriately. This could involve adding a retry mechanism for network issues or implementing a timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions