Error occur when upload a project

error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502

Heya and welcome to Gitlab community.

Could you provide more info ( more errors, or a screenshot ) about your issue?

Enumerating objects: 543, done.
Counting objects: 100% (543/543), done.
Delta compression using up to 4 threads
Compressing objects: 100% (538/538), done.
Writing objects: 100% (543/543), 2.16 MiB | 3.58 MiB/s, done.
Total 543 (delta 176), reused 0 (delta 0)
error: RPC failed; HTTP 502 curl 22 The requested URL returned error: 502
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date