Forums

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

Server hangup while accessing from the URL

Mohamed Medhat September 28, 2019

I installed JIRA server on a google cloud ubunto 16.04 machine, and connected to via SSH key through localhost:8080 and it works fine, the problem is while connecting to it using the main URL which is jira.eye-ltd.com it always gives me SERVER HANGUP and nothing more, when i check the log i can see this error 

org.apache.http.conn.ConnectTimeoutException: Connect to jira.eye-ltd.com:80 [jira.eye-ltd.com/35.202.68.41] failed: connect timed out

Caused by: java.net.SocketTimeoutException: connect timed out

What could be the problem? and how to solve it?

 

3 answers

0 votes
Vickey Palzor Lepcha
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.
October 1, 2019

Were you ever able to access JIRA using the ip address and port of the server where JIRA is running ( most probably 8080) ?

If this is also not accessible - you'll need to fix this first.

Mohamed Medhat October 1, 2019

@Vickey Palzor Lepcha I tried to open http://35.202.68.41:8080/ in the browser but the site can't be reached, so what should I do to fix this?

Vickey Palzor Lepcha
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.
October 1, 2019

I think you will have to get back to the basics of application. I don't think the process is even running at the moment.

Can you check your java processes that are running and see if JIRA is running or not.

0 votes
Bastian Stehmann
Community Champion
September 28, 2019

Hi @Mohamed Medhat ,

I think jira can reach itself via the public url.

Can you check, if you can reach that url from the server itself.

Mohamed Medhat September 30, 2019

Hi Bastian,

 

Thanks for your reply,

I need to know what do you mean by the server itself, do you mean the server ip? I tried to reach it by the server IP but didn't reach it as well, they both give me Server hangup.

 

Also do you mean by the public URL jira.eye-ltd.com? because that's the one that is not working.

 

Thanks

0 votes
Mohamed Medhat September 28, 2019

After few hours of searching and trying several things, now the error changed to be 

org.apache.http.conn.HttpHostConnectException: Connect to jira.eye-ltd.com:80 [jira.eye-ltd.com/35.202.68.41] failed: Connection refused (Connection refused)

at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:373)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at com.atlassian.troubleshooting.jira.healthcheck.support.GadgetFeedUrlHealthCheck.check(GadgetFeedUrlHealthCheck.java:56)
at com.atlassian.troubleshooting.healthcheck.impl.PluginSuppliedSupportHealthCheck.check(PluginSuppliedSupportHealthCheck.java:49)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: Connection refused (Connection refused)
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)

Hope anyone can help :)

Thanks

Suggest an answer

Log in or Sign up to answer