Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bitbucket Server doesn't accept Apache Reverse Proxy localhost:7990 requests

Michael Husted August 31, 2018

Hello! My Bitbucket server works wonderfully, however every few hours it, well, stops working. The service is still up, but it won't accept any requests.

[Sat Sep 01 01:27:58.336160 2018] [proxy:error] [pid 4575] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:7990 (localhost) failed
[Sat Sep 01 01:27:58.337300 2018] [proxy_http:error] [pid 4575] [client 24.250.42.16:51376] AH01114: HTTP: failed to make connection to backend: localhost
[Sat Sep 01 01:27:58.677501 2018] [proxy:error] [pid 4379] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:7990 (localhost) failed
[Sat Sep 01 01:27:58.677583 2018] [proxy_http:error] [pid 4379] [client 24.250.42.16:51383] AH01114: HTTP: failed to make connection to backend: localhost

 I've no idea why this is. Bitbucket is online (service atlbitbucket status) and it was working a few hours ago. I haven't done anything. Any help would be appreciated :^)

4 answers

0 votes
John van der Loo
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 12, 2018

@Michael Husted are you able to share your Apache's proxy config? I used to run my Bitbucket instance reverse proxied through Apache for a few years, then switched to nginx for a few years, so hopefully I'll be able to suggest something useful for you.

0 votes
Michael Husted September 9, 2018

Still no answers? :/

Andrew Wright
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!
September 11, 2018

I am scouring google, atlassian communities, billy bobs IT advice forums, and this issue is making me crazy....  I have reverse proxied atlassian crap with apache for YEARS what is so different with bitbucket all of a sudden ?  (aside from our good friend bitbucket.properties) 

jdbc.driver=org.postgresql.Driver
jdbc.url=jdbc:postgresql://****del***
jdbc.user=bb_user
jdbc.password=*****del***
server.port=7990

server.secure=true
server.scheme=https
server.proxy-port=443
#server.redirect-port=443
server.proxy-name=code.noone.nope
server.context-path=/bbucket

server.additional-connector.1.port=7995

#server.connection-timeout=20000
#server.proxy-port=443
#server.proxy-name=code.attempt2.meh
#server.scheme=https
#server.secure=true
#server.context-path=/bbucket
#server.compression.mime-types=text/html,text/xml,text/plain,text/css,application/json,application/javascript,application/x-javascript
#server.useBodyEncodingForURI=true
#server.compression.enabled=true

Michael Husted September 11, 2018

Same!

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 2, 2018

Hi Michael,

How much memory do you have on this machine?

Are you able to access Bitbucket Server by bypassing the reverse proxy?

Cheers,
Christian

Premier Support Engineer

Atlassian

Michael Husted September 2, 2018

I have 3GB of RAM, and I'm hosting a few .NET apps and my website, along with Bamboo. I cannot access Bitbucket by going to the public-facing IP; it gives me a Cannot Connect error.

Michael Husted September 3, 2018

Does BB Server have some sort of auto-hibernate feature?

0 votes
Michael Husted August 31, 2018

Bamboo does this as well.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events