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

Bitbucket 504 errors due to improper data encoding #7282

Open
des2013 opened this issue Apr 19, 2024 · 0 comments
Open

Bitbucket 504 errors due to improper data encoding #7282

des2013 opened this issue Apr 19, 2024 · 0 comments
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers

Comments

@des2013
Copy link

des2013 commented Apr 19, 2024

Apache NetBeans version

Apache NetBeans 21

What happened

Posting a large batch of changes to a Bitbucket repo via http connection, the IDE receives an nginx 504 error. Smaller posts to other repos are successful. Other users making smaller posts to all repos are successful. BB support quotes this from git info:
"Maximum size in bytes of the buffer used by smart HTTP transports when POSTing data to the remote system.
For requests larger than this buffer size, HTTP/1.1 and Transfer-Encoding: chunked is used to avoid creating a massive pack file locally. Default is 1 MiB, which is sufficient for most requests." Implying that Netbeans may have incorrectly implemented the git command stream to Bitbucket, thus causing the timeout error.

Language / Project Type / NetBeans Component

PHP project

How to reproduce

Create three test folders within a project. Each folder contains 1486 folders and 2829 files. Each folder is a different version of a commonly available AWS SDK. Start a commit to your remote repo on Bitbucket. Process runs for 60? seconds then reports failure. Output text reveals a 504 nginx error in html markup.

Did this work correctly in an earlier version?

Apache NetBeans 20

Operating System

Windows 11

JDK

Java: 20.0.2; Java HotSpot(TM) 64-Bit Server VM 20.0.2+9-78

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

Important to realize 1) this is an existing setup that has been working for many months without any problems, 2) other smaller commits are successful for all users, 3) the failing commit is the only one with multiple copies of the huge folder being moved/added/renamed resulting in thousands of Add and Delete commands to BB git server.

Are you willing to submit a pull request?

No

@des2013 des2013 added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bug report or fix needs:triage Requires attention from one of the committers
Projects
None yet
Development

No branches or pull requests

1 participant