Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bamboo - User & Groups refuses to load with nginx - Error: An unexpected error has occured

Raymond feliz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 1, 2019

Bamboo version 6.8.0 build 60803 - 30 Jan 19

Currently im trying to stand-up Bamboo, the whole site has a proper SSL cert and everything works so far from what ive tested, except for when I try to load the user & groups section after connecting to my domain controller. 

 

Has anyone seen this and possibly resolved this? Or have an example of a nginx config? I tried https://confluence.atlassian.com/bamkb/securing-bamboo-behind-nginx-using-ssl-829075298.html and sadly it didnt work for me.

  • I can log into the app with domain users fine
  • I get the pop-up below if I try to look at the user & groups section under admin.

image.png

Its not a pretty config because I started changing some values to try and get it to work.

# Upstreams
upstream bamboo.server.com {
server 127.0.0.1:8085;
}

#HTTP

server {
listen 80;
server_name bamboo.server.com;
return 301 https://$host$request_uri;
error_log /var/log/nginx/data.access.log;
client_max_body_size 2000M;
}

# HTTPS Server
server {
listen 443;
server_name bamboo.server.com;
client_max_body_size 2000M;
error_log /var/log/nginx/data.access.log;

ssl on;
ssl_certificate /etc/ssl/certs/ServerCertificate.crt;
ssl_certificate_key /etc/ssl/private/bamboo.server.key;
ssl_dhparam /etc/ssl/certs/dhparam.pem;
##
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
ssl_session_timeout 5m;
##
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # don’t use SSLv3 ref: POODLE

location / {
proxy_pass http://bamboo.server.com;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $http_host;

proxy_set_header X-Forwarded-Host $host;

proxy_set_header X-Forwarded-Server $host;

proxy_set_header X-Forwarded-Proto $scheme;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_set_header X-Real-IP $remote_addr;

header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_redirect off;
}
}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events