Skip to content

POST request times out #5

Open
Open
@sebunger

Description

@sebunger

Hi. I'm trying to get a Mercurial (https://www.mercurial-scm.org/) server set up to use Kerberos and SPNEGO authentication. I have the server running and I can browse my repos from Chrome with SSO. I can even clone a repository using the mercurial command line client and this library.

However, when I attempt to push a change to the server, the request hangs for a minute or two and then fails. The HG log indicates that "the client unexpectedly closed the connection" and the Nginx log indicates that nginx lost patience and returned a 408 due to no traffic. This happens during the the fifth HTTP request as part of the push which is the request that attempts to post the bundled changeset. It is the first POST request that I expect to have a request-body and will likely use some form of streaming as generating that body is usually a lengthy operation and the body can get quite large. However, in this case I'm pushing a minimal change to an empty test repo, so the body should be fairly small but likely will still use streaming.

This all works just fine when I turn auth_gss off in nginx.

I use hggssapi.py as the mercurial extension file to link it to urllib-gssapi.

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