Skip to content

Intermittent connection failures during Berget API requests #36

Description

@tcsizmadia

The OpenCode Berget AI auth plugin can fail a request when transient network or gateway errors occur between OpenCode and Berget AI API services.

Observed failure modes include:

  • Connection resets / socket hang-ups
  • Connection timeouts
  • Temporary DNS or upstream connectivity failures
  • 502, 503, or 504 responses
  • 429 rate-limit responses

Today, model discovery, token refresh, and authenticated inference requests generally fail immediately when these occur. This can disconnect or interrupt an otherwise valid OpenCode session even when the service recovers moments later.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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