Skip to content

ERROR: Rapid fire connection error without exit #729

Closed

Description

@nstans

We have a CICD test running from a simple python script in a git action. Authenticating with a service principal pat token against a Databricks warehouse.

Since the release of the most recent version we have been experiencing extended intermittent failures.

The git action output prints out the error Service Principal does not have permission to use warehouse. This error repeats around every 20 seconds. Yesterday we were unable to cancel the git action while this connect to warehouse step was occurring and it repeated printing out that error for about two hours.

There are no loops in the script, it executes a single databricks query after initializing a single connection to a warehouse.

Once git eventually let us cancel the action we reran the action without changing any permissions or touching Databricks at all and it connected and executed as expected in under 30 seconds, no errors reported.

The issue has occurred again today but it did not prevent us cancelling the git action, and again today after restarting the git action it executed as expected.

Are there any changes we should be aware of that would allow us to prevent this happening in the future.

Activity

  1. msrathore-db commented on Jan 23, 2026

    @msrathore-db
    Contributor

    Can you please share more on what version of connector you're using and what script are you running along with the logs?

  2. nstans commented on Jan 28, 2026

    @nstans
    Author

    We are on the most recent version 4.2.4, released Jan 8th.

    The script is extremely simple. Connecting to an sql serverless warehouse using hostname, http path and pat token. It then executes one query against an audit table. Screenshot below is essentially the whole script other than secrets handling and using fetch_all on results then closing the cursor and warehouse connection.

    Image

    Unfortunately Git actions cleared the output when we successfully re-ran the action, but there was only one print out and that was the Permission denied error. That repeated about every 20 seconds. For the run that was unstoppable and ran for ~2 hours it printed the error something like 300 times with no other outputs.

  3. added a commit that references this issue on Jan 29, 2026
    d4f9054
  4. nstans commented on Feb 3, 2026

    @nstans
    Author

    We have managed to catch the issue occuring today, this is the git action printout

    Image
  5. added 3 commits that reference this issue on Feb 5, 2026
    bcdc8a5
    471a551
    61f8029
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