Docker Hub Push : Bad Request 400

I am been trying to push my image on the docker hub but it is having some problem. I have try all the possible steps to resolve the issue but there is no change.

The error is:
unknown: failed commit on ref “layer-sha256:ff3119008f58beef8f336fa833707b0fe914db94ca6b7bb55abe3e1bf2b1ad56”: unexpected status from PUT request to https://registry-1.docker.io/v2/raju0016/lappy/blobs/uploads/688d78f2-421d-4d99-933b-3e7dd13582ca?_state=oIkOR4aggqFCSWzASjEAR8r-mfWZJLKomJHRVBb6ZQp7Ik5hbWUiOiJyYWp1MDAxNi9sYXBweSIsIlVVSUQiOiI2ODhkNzhmMi00MjFkLTRkOTktOTMzYi0zZTdkZDEzNTgyY2EiLCJPZmZzZXQiOjAsIlN0YXJ0ZWRBdCI6IjIwMjUtMDctMTdUMDc6NDU6MDMuOTQwOTYxMTQ2WiJ9&digest=sha256%3Aff3119008f58beef8f336fa833707b0fe914db94ca6b7bb55abe3e1bf2b1ad56: 400 Bad request

Help me to solve this error

I don’t see known issues with Docker Hub currently. Could that layer be too big? Does it always happen? Have you tried multiple times? Are you using a VPN or are you in a corporate network?

i was using public vpn but without that also the error is not getting solved the file is of 2.56gb what can be the best solutions so that i can push my project asap and move forward to the other work.

I don’t know what the problem is so I don’t know what the solution could be at the moment. I would recommend trying to reproduce the issue with other images. Smaller one for example. That can take you closer to the solution at least and you can also report the issue on GitHub

If you share some more info, we might notice something that also helps. So here is my template text containing important questions. It will help only if it is somehow a client issue not the Hub issue. Sorry for not sharing previously:

We usually need the following information to understand the issue:

  1. What platform are you using? Windows, Linux or macOS? Which version of the operating systems? In case of Linux, which distribution?

  2. How did you install Docker? Sharing the platform almost answers it, but only almost. Direct links to the followed guide can be useful.

  3. On debian based Linux, the following commands can give us some idea and recognize incorrectly installed Docker:

    docker info
    docker version
    

    Review the output before sharing and remove confidential data if any appears (public IP for example)

    dpkg -l 'docker*' | grep '^ii'
    snap list docker
    

    When you share the outputs, always format your posts according to the following guide: How to format your forum posts