problem about install upsource in ubuntu

Hi!
after install gui done. start the  service Upsource Frontend

throws Exception: SocketTimeoutException

Please help me!

* Starting Upsource Frontend

[2014-12-15 14:10:28,916]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:10:59,555]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:11:29,763]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:12:00,124]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:12:32,228]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:13:04,768]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:13:54,372]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:14:27,857]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...






[2014-12-15 14:17:39,786]   WARN - cs.server.settings.hub.HubSync - HUB synchronization error. java.net.SocketTimeoutException: Read timed out

com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

     at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)

     at com.sun.jersey.api.client.Client.handle(Client.java:648)

     at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)

     at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

     at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507)

     at jetbrains.jetpass.client.accounts.ServiceClient.get(ServiceClient.java:69)

     at jetbrains.jetpass.client.accounts.ServiceClient.getService(ServiceClient.java:54)

     at jetbrains.vcs.server.settings.hub.helpers.BaseHelper.getServiceFromHub(BaseHelper.java:37)

     at jetbrains.vcs.server.settings.hub.helpers.ResourceHelper.getFromHub(ResourceHelper.java:36)

     at jetbrains.vcs.server.settings.hub.helpers.BaseByOneHelper.syncResources(BaseByOneHelper.java:25)

     at jetbrains.vcs.server.settings.hub.HubConnector$4.execute(HubConnector.java:245)

     at jetbrains.vcs.server.settings.hub.HubConnector.runSync(HubConnector.java:371)

     at jetbrains.vcs.server.settings.hub.HubConnector.postResources(HubConnector.java:241)

     at jetbrains.vcs.server.settings.hub.HubSync$1.run(HubSync.java:62)

     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)

     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)

     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

     at java.lang.Thread.run(Thread.java:745)

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

     at java.net.SocketInputStream.socketRead0(Native Method)

     at java.net.SocketInputStream.read(SocketInputStream.java:152)

     at java.net.SocketInputStream.read(SocketInputStream.java:122)

     at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)

     at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)

     at java.io.BufferedInputStream.read(BufferedInputStream.java:334)

     at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)

     at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)

     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)

     at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)

     at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)

     at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)

     ... 20 more

[2014-12-15 14:18:13,873]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:18:46,030]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:21:26,856]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:22:03,501]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:22:42,727]   WARN - cs.server.settings.hub.HubSync - HUB synchronization error. java.net.SocketTimeoutException: Read timed out

com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out

     at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:149)

     at com.sun.jersey.api.client.Client.handle(Client.java:648)

     at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680)

     at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)

     at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:507)

     at jetbrains.jetpass.client.accounts.ServiceClient.get(ServiceClient.java:69)

     at jetbrains.jetpass.client.accounts.ServiceClient.getService(ServiceClient.java:54)

     at jetbrains.vcs.server.settings.hub.helpers.BaseHelper.getServiceFromHub(BaseHelper.java:37)

     at jetbrains.vcs.server.settings.hub.helpers.ResourceHelper.getFromHub(ResourceHelper.java:36)

     at jetbrains.vcs.server.settings.hub.helpers.BaseByOneHelper.syncResources(BaseByOneHelper.java:25)

     at jetbrains.vcs.server.settings.hub.HubConnector$4.execute(HubConnector.java:245)

     at jetbrains.vcs.server.settings.hub.HubConnector.runSync(HubConnector.java:371)

     at jetbrains.vcs.server.settings.hub.HubConnector.postResources(HubConnector.java:241)

     at jetbrains.vcs.server.settings.hub.HubSync$1.run(HubSync.java:62)

     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)

     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)

     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)

     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

     at java.lang.Thread.run(Thread.java:745)

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

     at java.net.SocketInputStream.socketRead0(Native Method)

     at java.net.SocketInputStream.read(SocketInputStream.java:152)

     at java.net.SocketInputStream.read(SocketInputStream.java:122)

     at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)

     at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)

     at java.io.BufferedInputStream.read(BufferedInputStream.java:334)

     at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)

     at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633)

     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1323)

     at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)

     at com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnectionClientHandler.java:240)

     at com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnectionClientHandler.java:147)

     ... 20 more

[2014-12-15 14:23:55,345]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:24:32,311]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:25:16,060]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

[2014-12-15 14:25:46,762]  DEBUG - rver.settings.hub.HubConnector - Updating 0 resources...

4 comments
Comment actions Permalink

Hi Danny

From the given output it's difficult to say what really happened, so when you have a chance please zip and post all entire contents of the following folder <Upsource_home_directory>\logs.

Thanks in advance.

0
Comment actions Permalink

Hi artem!
     think you for your re
     log files allready upload.
     please check it.



Attachment(s):
logs.tar.gz
0
Comment actions Permalink

Hi,

Ok, that's easy.
Logs says:

14:54:48.795 [[APP-WRAPPER] Proxy 1] ERROR o.a.c.service.CassandraDaemon - Fatal configuration error
org.apache.cassandra.exceptions.ConfigurationException: /127.0.0.1:10012 is in use by another process.  Change listen_address:storage_port in cassandra.yaml to values that do not conflict with other services

0
Comment actions Permalink

Danny,

 

As Evgeny mentioned, some process already uses 10012 port and it’s the cause of your issue. Could you please clarify what exact process is using it?

 

To identify it please run the following command and post the result here.

 

sudo netstat -tapen |grep :10012

0

Please sign in to leave a comment.