Selected server has no repositories

Bamboo使用 Linked Repositories 看 Bitbucket 代码库的时候出这个错。

解决方案是把 App Links 的项目互相改成直连的链接,不走代理,例如 http://127.0.0.1:7990/

这个之前查了好久,印象中一开始加nginx的时候没问题,好像加https的时候也没问题,突然有一天就不行了。
这次是白天试 rest api 时发现走代理没法用,但是换成端口请求却可以。

Selected server has no repositories by @sskaje: https://sskaje.me/2017/11/selected-server-repositories/

Running Atlassian Confluence/Bamboo/Bitbucket behind Nginx with SSL

It’s easy to set up a reverse proxy forwarding requests to Atlassian’s products.

If you look up posts on Atlassian’s official confluence, you’ll get something correct but confusing.

Here is my nginx configuration, for all products except Confluence:

I have haproxy in front of Nginx, if you don’t, let nginx listens to 0.0.0.0:443 and 0.0.0.0:80.

And, for built-in tomcat, make sure you have following lines in server.xml:

So bitbucket’s server.xml looks like

All other fields are all default values.

For Confluences, there’s something really stupid: ‘synchrony’.
According to official confluence, add lines below to nginx:

Other wise you’ll get function corrupted.

Running Atlassian Confluence/Bamboo/Bitbucket behind Nginx with SSL by @sskaje: https://sskaje.me/2017/01/running-atlassian-confluencebamboobitbucket-nginx-ssl/