Forums

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

How to solve ERR_CONNECTION_REFUSED?

Ismaine Ayouaz
Contributor
April 8, 2018

Hello,

I am getting ERR_CONNECTION_REFUSED on Centos 7.

After creating the database, the user etc, I was able to successfully connect to the database. I installed confluence with the installer (bin file) and went to the webpage to setup my licence and prepare the database. I entered my database credentials, I successfully connected the database and click next. I had a message saying that confluence was configuring the database and it could take a while. After couple of minute, the webpage went to "

This site can’t be reached

vpsxxxxx.vps.ovh.ca refused to connect.

 

  • Search Google for "name of the server 8090"

    ERR_CONNECTION_REFUSED"

I do not know what to do. please can I get some help

 

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2018

This is usually a browser error, rather than server.

Could you try clearing cookies and cache, and restarting the browser?  (I've seen this fix Chrome connections to web applications)

Ismaine Ayouaz
Contributor
April 8, 2018

thanks for the reply. it does not work. I tried connecting on three different web browsers. same results

Ismaine Ayouaz
Contributor
April 8, 2018

here what I got after rebooting the server

 

http://xxx.vps.ovh.ca:8090/bootstrap/selectsetupstep.action

 

System Error
A system error has occurred — our apologies!

For immediate troubleshooting, consult our knowledge base for a solution.

If you would like to receive support from Atlassian's support team, ask your Confluence administrator to create a support issue on Atlassian's support system with the following information:

a description of your problem and what you were doing at the time it occurred
a copy of the error and system information found below
a copy of the application logs (if possible).
Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.
Thank you!



Ismaine Ayouaz
Contributor
April 8, 2018

Cause

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set
    at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 8, 2018

Ahh, that old favourite.  It's usually an incompatible JVM being installed on the machine being picked up incorrectly or that the wrong user has been used to start Confluence (or the right one after a previous start by the wrong one)

But the full list is at https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html

Ismaine Ayouaz
Contributor
April 8, 2018

thank you. I just don't understand. nothing in this article helps.

 I have to deal whit linux centos. it is disappointing that Atlassian does not offer a comprehensive guide to install their products and for clients who paid for their products.

Like Ryan likes this
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2018

That article gives a list of the most of the reasons

I'm afraid we can't help you with the error you have because 99% of the time, it's going to be caused by an item on that list.  All we would do is take you through the same list of potential causes.  The reason you are having it is likely to be because you've got something wrong when following the comprehensive installation guide to installing confluence at https://confluence.atlassian.com/doc/confluence-installation-guide-135681.html

Ismaine Ayouaz
Contributor
April 12, 2018

could it be a memory issue? I have a vps with 2gb of ram. I will be the only user !

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2018

Yes it could be memory, as described in the docs we've pointed you to (it might not be memory, but we can't know until you have gone through the docs)

Ismaine Ayouaz
Contributor
April 16, 2018

I tried everything I could but the memory. I will keep you posted

Ismaine Ayouaz
Contributor
April 18, 2018

resolved !

 

I posted a step by step procedure to use confluence on centos. I guess two gb of memory was not enough

 

https://community.atlassian.com/t5/Confluence-discussions/how-to-install-confluence-on-centos-7/m-p/777694#M1724

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events