Skip to content

Regression: deploy to hosting fails with big files #6639

@LanderBeeuwsaert

Description

@LanderBeeuwsaert

This was already present a year or two ago, but now we have it again consistently.
So we need to call firebase deploy multiple times because each time it uploads a few files and then crashes with the message below:

  • cloud.firestore: rules file configs/firestore.rules compiled successfully
    i storage: latest version of configs/storage.rules already up to date, skipping upload...
    i firestore: deploying indexes...
  • firestore: deployed indexes in configs/firestore.indexes.json successfully for (default) database
    i firestore: latest version of configs/firestore.rules already up to date, skipping upload...
    i hosting[blinding-torch-9765]: beginning deploy...
    i hosting[blinding-torch-9765]: found 6877 files in deploy_p_dist
    ⠋ hosting: uploading new files [10/84] (11%)
    Error: Task cd82366f635ed44d6dd8e5d6f3a5471edc9318a4981ab082e9d3240b042d24f7 failed: retries exhausted after 6 attempts, with error: TypeError: Converting circular structure to JSON
    --> starting at object with constructor 'TLSSocket'
    | property 'parser' -> object with constructor 'HTTPParser'
    --- property 'socket' closes the circle
    ⠸ hosting: uploading new files [10/84] (11%)

firebase-tools:

PS C:\lander\devops_agent_work\1\s> firebase --version
13.0.2

Platform:

Windows 11

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions