408 error while pushing code changes to spaces using git
I cloned the space onto my local made few changes and when I try to push to the space through git it fails after trying for sometime with 408 error. I was able to push multiple times before & I did face that issue once before also. Community could you please help me navigate this?Initially I thought it’s my internet speed but that’s not the caseBelow is the error:“error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408                                               send-pack: unexpected disconnect while reading sideband packet                                                          Writing objects: 100% (6/6), 77.36 MiB | 238.00 KiB/s, done.                                                            Total 6 (delta 3), reused 0 (delta 0), pack-reused 0                                                                    fatal: the remote end hung up unexpectedly                                                                              Everything up-to-date”Note: I do have an experience working with git.Thanks.
2023-01-23T19:20:15Z
Hi@manish-pro, we were experiencing some infra issues. Are you still facing this issue?
2023-02-01T13:38:45Z
Hi, I get the same error, I installed git lfs also usedgit config --global http.postBuffer 524288000without any results I always end up getting the same error:Enumerating objects: 11, done.
Counting objects: 100% (11/11), done.
Delta compression using up to 8 threads
Compressing objects: 100% (8/8), done.
Writing objects: 100% (10/10), 41.72 MiB | 15.64 MiB/s, done.
Total 10 (delta 0), reused 0 (delta 0)
error: RPC failed; HTTP 408 curl 22 The requested URL returned error: 408
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date
2023-02-27T17:27:35Z
Hi@manish-proThis likely means that some files that should be tracked by Git LFS, are not.You can try to upload files with thehuggingface_hubpython library, or even with the web UI, which allows you to upload multiple files / folders at once.