Community
Participate
Working Groups
Created attachment 276640 [details] Screenshot of push error When connected to a mirror repository of BitBucket Data Center as the origin repo, pushing commits should redirect the push to the primary instance of the data center. Works well with standard git version >=2.15.0 from CLI. With JGit/EGit the push fails with the error message shown in the attached screenshot.
Please provide more info. We would need to know what you git config looks like, and we would need to have a log of the HTTP interactions, including server responses. Need to know if the server sends back redirects, and if so, what's the original URL and what is the new one. Also, does this happen on the GET or on the POST? Do you have any http.* configuration in the git config (including your user config)? Any "insteadOf" or "pushinsteadOf" configs? What are the remote configs? Any proxies involved? Does it work if you simply set the push URL to the correct original primary instance?