I'm having trouble pushing an existing repository to Stash via HTTP through an IIS 7 Proxy.
The suggestions I've found on the interwebs including increasing the allowable post size on IIS and Tomcat, (done) configuring the server to allow chunked HTTP posts, (can't figure out how despite instructions) and increasing the git buffer size so it doesn't use HTTP chunking. (doesn't help)
The Tomcat side shows an error indicating that it didn't receive the entire post, and the client side shows "The remote end hung up unexpectedly", so it seems to me like the IIS proxy is to blame here, and in fact, when using GIT via SSH, it works fine, but that's not practical in our environment due to the network configuration.
It seems like there's some hard limit on the post size being enforced, but I can't determine why that is, or how to enable IIS and the tomcat connector to work with chunking.
I'm one of the Atlassian Stash developers, and I'd like to try and help with this issue. To facilitate that, could you please open a ticket at support.atlassian.com? We can exchange a bit more information about what you've tried so far and about your environment and then I'll build a similar setup here to reproduce the issue and investigate possible fixes.
Once we've resolved the issue, I'll post the solution we come up with as another answer to this question so the community can benefit from it.
As part of the investigation taking place on Atlassian's side, it was discovered that this is overall a Mac->Windows HTTPS issue with large posts.
This problem does not manifest with HTTP, and has been identified by others as happening even with just a large post over HTTPS to a windows server.
Looks like the answer is "There's a problem with large posts over HTTPS using IIS when the client is a Mac".
It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs