Skip to content

Uploading documentation to Hackage fails with 413: Request Entity Too Large #1382

Closed
@slotThe

Description

@slotThe

When trying to upload docs for kmonad 0.4.4 using commit 553e77ae I'm greeted with a 413 Request Entity Too Large error, even though the created documentation is normal in size (I think).

Following https://hackage.haskell.org/upload, I generated the documentation with cabal haddock --haddock-for-hackage --enable-doc; it's around 1.7mb in size. When trying to upload that I'm greeted with

$ cabal upload -d --publish dist-newstyle/kmonad-0.4.4-docs.tar.gz
hackage.haskell.org username: …
hackage.haskell.org password: …
Uploading documentation dist-newstyle/kmonad-0.4.4-docs.tar.gz...
Error uploading documentation dist-newstyle/kmonad-0.4.4-docs.tar.gz: http
code 413
<html>
<head><title>413 Request Entity Too Large</title></head>
<body>
<center><h1>413 Request Entity Too Large</h1></center>
<hr><center>nginx/1.24.0 (Ubuntu)</center>
</body>
</html>

I remember this method working for other projects before; has anything changed recently so that this is not the way to do it anymore?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions