Upsource refuses to start again after reboot/restart.

So i installed Hub in c:\Hub and the only thing i changed is the hostname.

Works fine, i can access it through the admin account just fine.

Then unpacked Upsource into c:\Upsource and started it with c:\upsource\bin\upsource start.

Browser opens and I get to the config, I change the Hostname and the Port and tell it to integrate into the Hub above. Works all nicely.

I can log into Upsource, add a Project, have it Analyze the code on a Git repository and stuff. Everything is peachy.

But if I stop Upsource through c:\upsource\bin\upsource stop, or reboot the System then Upsource will not start again.

I get this error in error.log.

[2015-09-08 16:10:12,828]  ERROR - es.impl.HubConfiguratorService - Could not register service(s) in Hub because and/or service-in-hub.secret properties not set or incorrect in conf/internal/ file. Please provide correct values for these properties. It may require to create service by hand, change its password or make it verified. Problem: Bundle service does not exists in Hub (http://hub.mydomain:8080/hub)
com.jetbrains.bundle.util.hub.UpdaterHubServiceException: Bundle service does not exists in Hub (http://hub.mydomain:8080/hub)
 at com.jetbrains.bundle.hub_client.util.BundleHubClient.getBundleHubAccountsClient(
 at com.jetbrains.bundle.util.hub.HubServiceUpdater.updateHubInfo(
 at com.jetbrains.bundle.util.hub.HubServiceUpdater.update(
 at com.jetbrains.bundle.Services.startService(
 at com.jetbrains.bundle.Services.startAllServices(
 at com.jetbrains.bundle.Services.start(
 at com.jetbrains.bundle.BundleMain.start(
 at com.jetbrains.bundle.BundleMain.start(
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
 at java.lang.reflect.Method.invoke(
 at com.jetbrains.bundle.bootstrap.Bundle$EntryPointProvider$1.invoke(
 at com.sun.proxy.$Proxy2.start(Unknown Source)
 at com.jetbrains.bundle.bootstrap.Bundle.start(
 at com.jetbrains.launcher.AppProxy$
 at com.jetbrains.launcher.AppProxy$
 at java.util.concurrent.ThreadPoolExecutor.runWorker(
 at java.util.concurrent.ThreadPoolExecutor$
Caused by: com.intellij.hub.auth.oauth2.consumer.OAuth2TokenLoadException: Can't load token: invalid_client (Service with id "f4120572-7884-400b-a80a-68ea05a24a26" was not found)
 at jetbrains.jetpass.client.oauth2.SimpleTokenLoader.loadAccessToken(
 at jetbrains.jetpass.client.oauth2.token.OAuth2TokenFlow.getTokenData(
 at jetbrains.jetpass.client.oauth2.token.OAuth2TokenFlow.getToken(
 at jetbrains.jetpass.client.oauth2.token.OAuth2TokenFlow.getHeader(
 at jetbrains.jetpass.client.BaseClient.prepare(
 at jetbrains.jetpass.client.accounts.ServiceClient.get(
 at jetbrains.jetpass.client.accounts.ServiceClient.getService(
 at com.jetbrains.bundle.hub_client.util.HubUtil.checkService(
 at com.jetbrains.bundle.hub_client.util.BundleHubClient.checkBundleService(
 at com.jetbrains.bundle.hub_client.util.BundleHubClient.getBundleHubAccountsClient(
 ... 22 more
[2015-09-08 16:10:12,831]  ERROR -                 bundle.startup - Error while starting JetBrains Upsource 2.0: Bundle service does not exists in Hub (http://hub.mydomain:8080/hub)

Just restarting Upsource made it stop working.

Any help would be apprechiated.


Comment actions Permalink

Hi Thomas.

Sorry for that inconvenience.

Looks like a bug that is described here -

Product update will be available shortly.

Comment actions Permalink


Please try this version -

Let me know if it helps.


Comment actions Permalink

Thanks. I will give it a try and report back.

Comment actions Permalink

This version resolves the problem for me.


Please sign in to leave a comment.