I'm getting 503 error when trying to lock bitbucket with mvc/maintenance/lock call. My bitbucket instance is running behind apache httpd server. Any idea how to fix it?
The command and error messages:
/usr/bin/curl -L -v -f -u xxx:xxx https://bitbucket.xxx.com/mvc/maintenance/lock
* About to connect() to bitbucket.xxx.com port 443 (#0)
* Trying x.x.x.x ...
* Connected to bitbucket.xxx.com (x.x.x.x) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/pki/tls/certs/ca-bundle.crt
CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* start date: Nov 07 18:10:00 2018 GMT
* expire date: Nov 06 18:10:00 2021 GMT
* common name: bitbucket.xxx.com
* Server auth using Basic with user 'xxx'
> GET /mvc/maintenance/lock HTTP/1.1
> Authorization: Basic SHVkc29uOkh1ZHMwbjEy
> User-Agent: curl/7.29.0
> Host: bitbucket.xxx.com
> Accept: */*
>
* The requested URL returned error: 503
* Closing connection 0
curl: (22) The requested URL returned error: 503