"unauthorized: authentication required" when pushing a large image

I am trying to push a 9.35 GB image to Docker Hub. I get a “unauthorized: authentication required” error after all the layers have been uploaded. I have logged in using docker login, and pushing a smaller test image succeeds.

Is there a size limit for public images hosted at Docker Hub?

I also post the relevant lines from /var/log/daemon.log:

Aug 27 11:08:18 nyquist dockerd[23015]: time="2018-08-27T11:08:18.149978081+03:00" level=error msg="Upload failed: unauthorized: authentication required"
Aug 27 11:08:36 nyquist dockerd[23015]: time="2018-08-27T11:08:36.654952919+03:00" level=error msg="Upload failed: unauthorized: authentication required"
Aug 27 11:26:34 nyquist dockerd[23015]: time="2018-08-27T11:26:34.805696243+03:00" level=error msg="Upload failed: unauthorized: authentication required"
Aug 27 11:31:06 nyquist dockerd[23015]: time="2018-08-27T11:31:06.376472151+03:00" level=error msg="Upload failed: unauthorized: authentication required"
Aug 27 11:31:06 nyquist dockerd[23015]: time="2018-08-27T11:31:06.376597729+03:00" level=info msg="Attempting next endpoint for push after error: unauthorized: authentication required"

Hi, any news on this?
thanks,
Marco