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

Don't auth bitbucket

Oleg Aksenov March 23, 2018

Good afternoon, I configured jira + confluence + bitbucket on the server(server license), debian + postgresql + apache.Configured context path and everything worked, made a strapping account, the next morning I can't log in to bitbucket.Although jira and confluence write that you had before, please help with this problem?

These are my apache2 settings on my apps:

<VirtualHost *:80>
ServerName domain

# Put this after the other LoadModule directives
LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so
LoadModule proxy_wstunnel_module /usr/lib/apache2/modules/mod_proxy_wstunnel.so
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so



ProxyRequests Off
ProxyPreserveHost Off
ProxyVia Off

<Proxy *>
Require all granted
</Proxy>

ProxyPass /synchrony http://<domain>:8091/synchrony

<Location /synchrony>
Require all granted
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule .* ws://domain:8091%{REQUEST_URI} [P]
</Location>

ProxyPass /jira http://domain:8080/jira
ProxyPassReverse /jira http://domain:8080/jira

ProxyPass /bitbucket http://domain:7990/bitbucket connectiontimeout=5 timeout=300
ProxyPassReverse /bitbucket http://domain:7990/bitbucket

ProxyPass /confluence http://domain:8090/confluence
ProxyPassReverse /confluence http://domain:8090/confluence

<Location /confluence>
Require all granted
</Location>

</VirtualHost>

 These are my bitbucket settings:

server.context-path=/bitbucket
server.port=7990
server.secure=true
server.scheme=http
server.proxy-port=80
server.redirect-port=80
server.proxy-name=site.ru
#>*******************************************************
jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc:postgresql://localhost:5432/bit
jdbc.user=********
jdbc.password=****************

When you try to login, there is not even an error, just the page is updated and everything.

 

1 answer

1 accepted

0 votes
Answer accepted
Oleg Aksenov March 23, 2018

I solved the problem was in the meaning of:

server.secure=true 

need to was false :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events