Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

POST request times out #5

Open
sebunger opened this issue Jan 29, 2023 · 0 comments
Open

POST request times out #5

sebunger opened this issue Jan 29, 2023 · 0 comments

Comments

@sebunger
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant