I don't know why I am facing this with SHA-384 and SHA-512 only.
SHA1 and SHA256 work fine.