Traditionally, our company has accessed bitbucket repositories using SSH such as
git ls-remote --heads ssh://stash.ondomain.com:7999/sqa/ratts.git
and this command is successful.
We are now implementing a new workflow that uses HTTP to access the repositories such as
git ls-remote --heads http://stash.ondomain.com:7990/scm/sqa/ratts.git
and this command fails with error
fatal: unable to access 'http://stash.ondomain.com:7990/scm/sqa/ratts.git/': The requested URL returned error: 500
debug mode for the bitbucket log revealed this message
DEBUG [http-scmrequest-handler:thread-10] <user> @919999750x162357408x0 10.148.18.231 "GET /scm/sqa/ratts.git/info/refs HTTP/1.1" c.a.s.i.s.g.p.h.GitSmartExitHandler SQA/ratts[53]: Read request from 10.148.18.231 succeeded, but the following was written to stderr:
error: bogus format in GIT_CONFIG_PARAMETERS
fatal: unable to parse command-line config
I haven’t been successful resolving this error and need help.
The Bitbucket version is 7.21.0 (and yes, we are absolutely on an upgrade path!)