Deployment error: retries exhausted after 6 attempts

91 views
Skip to first unread message

Dev Notes

unread,
Nov 30, 2022, 7:53:38 PM11/30/22
to Firebase Google Group
I have had this same issue with deploying multiple web apps. While deploying, the deployment appears to hang on image files. It has happened on 2 distinct projects, with different files.

With --debug turned on I see the following:
{"files":{... 
 ,"/images/banner2.jpg":"5ae6d0ca1c5068dbcba6a0aef44e89f555ffd5f6069eb9bfd5713bd67a80dc6b"

and then in 
{"uploadRequiredHashes":["5ae6d0ca1c5068dbcba6a0aef44e89f555ffd5f6069eb9bfd5713bd67a80dc6b",

1st occurence:

retries upload (I'm assuming)
[debug] [2022-11-30T23:30:22.430Z] [uploadQueue] Retrying task 5ae6d0ca1c5068dbcba6a0aef44e89f555ffd5f6069eb9bfd5713bd67a80dc6b
[debug] [2022-11-30T23:30:22.430Z] >>> [apiv2][query] POST https://upload-firebasehosting.googleapis.com/upload/sites/devnotes-mppc/versions/feac4460f751cedb/files/5ae6d0ca1c5068dbcba6a0aef44e89f555ffd5f6069eb9bfd5713bd67a80dc6b [none]
[debug] [2022-11-30T23:30:22.430Z] >>> [apiv2][body] POST https://upload-firebasehosting.googleapis.com/upload/sites/devnotes-mppc/versions/feac4460f751cedb/files/5ae6d0ca1c5068dbcba6a0aef44e89f555ffd5f6069eb9bfd5713bd67a80dc6b [stream]

Eventually, the deploy fails.

The image file doesn't appear to be corrupted as I can open in Photos and several browsers. The permissions (Windows) appear the same for all files and folders. The site contains around 187 or so files, and 130 or so were uploaded on the initial deploy.

I have deleted the .firebase folder as well on subsequent deploy attempts.

One possible factor is that these files were downloaded from a hosting provider via SFTP to the Windows PC. They were probably hosted on a Linux box.

I have removed spaces, underscores, capital letters, and dashes from some of the file names but that doesn't appear to be the issue. On the previous app deployment, I eventually deleted the folders containing the majority of the images and that deployed successfully.


My latest deployment attempt. Assuming the hash is always the same, in my previous debug log, I see:

"/images2020/unit_1703_24.jpg":"fc3acaac2626c81fff66ed9d87b6e6e197eafc1f9dfc2e010ae6840977ab75e4"

File: unit_1703_24.jpg metadata:
12826 x 1034
1.3MB
300 DPI
24 bit

=== Deploying to 'devnotes-mppc'...

i  deploying hosting
i  hosting[devnotes-mppc]: beginning deploy...
i  hosting[devnotes-mppc]: found 179 files in public
\  hosting: uploading new files [1/57] (1%)
Error: Task fc3acaac2626c81fff66ed9d87b6e6e197eafc1f9dfc2e010ae6840977ab75e4 failed: retries exhausted after 6 attempts, with error: Timeout reached making request to https://upload-firebasehosting.googleapis.com/upload/sites/devnotes-mppc/versions/2ac23aa28a4feec7/files/fc3acaac2626c81fff66ed9d87b6e6e197eafc1f9dfc2e010ae6840977ab75e4
|  hosting: uploading new files [1/57] (1%)

Thanks in advance.
Reply all
Reply to author
Forward
0 new messages