Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to install cloud plugin

Deniz Oğuz
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 26, 2015

I have developed my first cloud plugin but I could not install it. I have created the app using connect express. I am using https, enabled authentication and licensing. I could retrieve correct atlassian-connect.json file by copy/pasting the private token url into the browser. It also works in local dev. environment. Https working correctly as far as I could check from the browser. But I could not install this to my cloud instance. Only error message it gives is "The add-on failed to install. Please try again later or contact the add-on vendor." which is meaningless for add-on developer. I see following logs in my nodejs server, and no error messages:

31.200.8.248 - - [Sun, 26 Apr 2015 10:11:49 GMT] "GET /atlassian-connect.json HTTP/1.1" 200 718 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.5.17 (KHTML, like Gecko) Version/8.0.5 Safari/600.5.17"
54.85.255.243 - - [Sun, 26 Apr 2015 10:12:34 GMT] "GET /atlassian-connect.json HTTP/1.1" 200 718 "-" "Apache-HttpClient/4.3.5 (java 1.5)"
54.85.255.242 - - [Sun, 26 Apr 2015 10:16:48 GMT] "GET /atlassian-connect.json HTTP/1.1" 200 718 "-" "Marketplacebot (+https://developer.atlassian.com/static/connect/docs/developing/upgrades.html)"

How could I debug this problem?

4 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Volodymyr Krupach
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 26, 2015

I know that my local dev JIRA is not expected to work with hosted connect plugin but anyway tried your descriptor and got following exception:

2015-04-26 17:44:37,637 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.usermanagement.ConnectAddOnUserGroupProvisioningServiceImpl] Attempting to make user 'addon_com.deniz.jira.similarissues.cloud' a member of group 'atlassian-addons' (if not already a member).
2015-04-26 17:44:37,642 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.usermanagement.ConnectAddOnUserGroupProvisioningServiceImpl] Attempting to make user 'addon_com.deniz.jira.similarissues.cloud' a member of group 'jira-users' (if not already a member).
2015-04-26 17:44:37,642 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.usermanagement.ConnectAddOnUserGroupProvisioningServiceImpl] Attempting to make user 'addon_com.deniz.jira.similarissues.cloud' a member of group 'users' (if not already a member).
2015-04-26 17:44:37,642 UpmAsynchronousTaskManager:thread-4 ERROR admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.usermanagement.ConnectAddOnUserServiceImpl] Could not make user 'addon_com.deniz.jira.similarissues.cloud' a member of group 'users' because that group does not exist!
2015-04-26 17:44:37,642 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from default project role 'atlassian-addons-project-access'.
2015-04-26 17:44:37,645 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'DEMO' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,647 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'PRA' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,649 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'PRB' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,651 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'PRC' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,653 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'PRD' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,656 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'PRE' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,658 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'PRF' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,661 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'PRG' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,666 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'TEST' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,669 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [plugin.usermanagement.jira.JiraAddOnUserProvisioningService] Removed user 'addon_com.deniz.jira.similarissues.cloud' from project 'VKP' role 'atlassian-addons-project-access'
2015-04-26 17:44:37,672 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.applinks.DefaultConnectApplinkManager] Creating an application link for Connect add-on with key 'com.deniz.jira.similarissues.cloud'
2015-04-26 17:44:38,020 UpmAsynchronousTaskManager:thread-4 ERROR admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.installer.ConnectAddonManager] Error contacting remote application at https://similarissues.thestarware.com/installed?user_key=admin  [javax.net.ssl.SSLHandshakeException: General SSLEngine problem]
java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
	at com.google.common.base.Throwables.propagate(Throwables.java:156)
	at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient$6.apply(ApacheAsyncHttpClient.java:417)
	at com.atlassian.httpclient.apache.httpcomponents.ApacheAsyncHttpClient$6.apply(ApacheAsyncHttpClient.java:411)
	at com.atlassian.util.concurrent.Promises$Of$2.apply(Promises.java:286)
	at com.atlassian.util.concurrent.Promises$Of$2.apply(Promises.java:283)
	at com.atlassian.util.concurrent.Promises$2.onFailure(Promises.java:189)
	at com.google.common.util.concurrent.Futures$7.run(Futures.java:1100)
	at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)
	at com.google.common.util.concurrent.ExecutionList$RunnableExecutorPair.execute(ExecutionList.java:161)
	at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:134)
	at com.google.common.util.concurrent.AbstractFuture.setException(AbstractFuture.java:189)
	at com.google.common.util.concurrent.SettableFuture.setException(SettableFuture.java:68)
	at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$1$2.run(SettableFuturePromiseHttpPromiseAsyncClient.java:59)
	at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable$1.run(SettableFuturePromiseHttpPromiseAsyncClient.java:197)
	at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient.runInContext(SettableFuturePromiseHttpPromiseAsyncClient.java:90)
	at com.atlassian.httpclient.apache.httpcomponents.SettableFuturePromiseHttpPromiseAsyncClient$ThreadLocalDelegateRunnable.run(SettableFuturePromiseHttpPromiseAsyncClient.java:192)
	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:744)
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
	at sun.security.ssl.Handshaker.checkThrown(Handshaker.java:1290)
	at sun.security.ssl.SSLEngineImpl.checkTaskThrown(SSLEngineImpl.java:513)
	at sun.security.ssl.SSLEngineImpl.writeAppRecord(SSLEngineImpl.java:1177)
	at sun.security.ssl.SSLEngineImpl.wrap(SSLEngineImpl.java:1149)
	at javax.net.ssl.SSLEngine.wrap(SSLEngine.java:469)
	at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:254)
	at org.apache.http.nio.reactor.ssl.SSLIOSession.isAppInputReady(SSLIOSession.java:391)
	at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:119)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:159)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:338)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:316)
	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:277)
	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:105)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:584)
	... 1 more
Caused by: javax.net.ssl.SSLHandshakeException: General SSLEngine problem
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
	at sun.security.ssl.SSLEngineImpl.fatal(SSLEngineImpl.java:1683)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:278)
	at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:270)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1341)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:868)
	at sun.security.ssl.Handshaker$1.run(Handshaker.java:808)
	at sun.security.ssl.Handshaker$1.run(Handshaker.java:806)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.security.ssl.Handshaker$DelegatedTask.run(Handshaker.java:1227)
	at org.apache.http.nio.reactor.ssl.SSLIOSession.doRunTask(SSLIOSession.java:238)
	at org.apache.http.nio.reactor.ssl.SSLIOSession.doHandshake(SSLIOSession.java:276)
	... 9 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:385)
	at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
	at sun.security.validator.Validator.validate(Validator.java:260)
	at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:326)
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:283)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1328)
	... 17 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
	at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:196)
	at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:268)
	at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:380)
	... 23 more
2015-04-26 17:44:38,025 UpmAsynchronousTaskManager:thread-4 ERROR admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.installer.DefaultConnectAddOnInstaller] An exception occurred while installing the plugin '[com.deniz.jira.similarissues.cloud]. Uninstalling...
com.atlassian.upm.spi.PluginInstallException: Error contacting remote application [javax.net.ssl.SSLHandshakeException: General SSLEngine problem]
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.requestInstallCallback(ConnectAddonManager.java:497)
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.requestInstallCallback(ConnectAddonManager.java:474)
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.installConnectAddon(ConnectAddonManager.java:240)
	at com.atlassian.plugin.connect.plugin.installer.DefaultConnectAddOnInstaller.install(DefaultConnectAddOnInstaller.java:121)
	at com.atlassian.plugin.connect.plugin.installer.ConnectUPMInstallHandler.installPlugin(ConnectUPMInstallHandler.java:92)
	at com.atlassian.upm.core.install.DefaultPluginInstallationService.execute(DefaultPluginInstallationService.java:111)
	at com.atlassian.upm.core.install.DefaultPluginInstallationService.install(DefaultPluginInstallationService.java:87)
	at com.atlassian.upm.install.UpmPluginInstallationService.install(UpmPluginInstallationService.java:94)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.installFromFile(InstallTask.java:123)
	at com.atlassian.upm.core.rest.resources.install.InstallFromUriTask.executeTask(InstallFromUriTask.java:88)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:60)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:34)
	at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:78)
	at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:73)
	at com.atlassian.sal.core.executor.ThreadLocalDelegateCallable.call(ThreadLocalDelegateCallable.java:42)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	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:744)
2015-04-26 17:44:38,031 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.installer.ConnectAddonManager] Connect addon 'com.deniz.jira.similarissues.cloud' disabled in 4ms
2015-04-26 17:44:38,032 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.applinks.DefaultConnectApplinkManager] Removing application link for com.deniz.jira.similarissues.cloud
2015-04-26 17:44:38,064 UpmAsynchronousTaskManager:thread-4 INFO admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.installer.ConnectAddonManager] Connect addon 'com.deniz.jira.similarissues.cloud' uninstalled in 39ms
2015-04-26 17:44:38,064 UpmAsynchronousTaskManager:thread-4 ERROR admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [connect.plugin.installer.DefaultConnectAddOnInstaller] An exception occurred while installing the plugin '[com.deniz.jira.similarissues.cloud]. Restoring previous uninstalled-remnant settings...
com.atlassian.upm.spi.PluginInstallException: Error contacting remote application [javax.net.ssl.SSLHandshakeException: General SSLEngine problem]
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.requestInstallCallback(ConnectAddonManager.java:497)
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.requestInstallCallback(ConnectAddonManager.java:474)
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.installConnectAddon(ConnectAddonManager.java:240)
	at com.atlassian.plugin.connect.plugin.installer.DefaultConnectAddOnInstaller.install(DefaultConnectAddOnInstaller.java:121)
	at com.atlassian.plugin.connect.plugin.installer.ConnectUPMInstallHandler.installPlugin(ConnectUPMInstallHandler.java:92)
	at com.atlassian.upm.core.install.DefaultPluginInstallationService.execute(DefaultPluginInstallationService.java:111)
	at com.atlassian.upm.core.install.DefaultPluginInstallationService.install(DefaultPluginInstallationService.java:87)
	at com.atlassian.upm.install.UpmPluginInstallationService.install(UpmPluginInstallationService.java:94)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.installFromFile(InstallTask.java:123)
	at com.atlassian.upm.core.rest.resources.install.InstallFromUriTask.executeTask(InstallFromUriTask.java:88)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:60)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:34)
	at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:78)
	at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:73)
	at com.atlassian.sal.core.executor.ThreadLocalDelegateCallable.call(ThreadLocalDelegateCallable.java:42)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	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:744)
2015-04-26 17:44:38,077 UpmAsynchronousTaskManager:thread-4 WARN admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [upm.core.install.DefaultPluginInstallationService] Plugin installation failed: Error contacting remote application [javax.net.ssl.SSLHandshakeException: General SSLEngine problem]
2015-04-26 17:44:38,077 UpmAsynchronousTaskManager:thread-4 WARN admin 1046x3004x1 13xk5fn 192.168.1.10 /rest/plugins/1.0/ [upm.core.install.DefaultPluginInstallationService] com.atlassian.upm.spi.PluginInstallException: Error contacting remote application [javax.net.ssl.SSLHandshakeException: General SSLEngine problem]
com.atlassian.upm.spi.PluginInstallException: Error contacting remote application [javax.net.ssl.SSLHandshakeException: General SSLEngine problem]
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.requestInstallCallback(ConnectAddonManager.java:497)
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.requestInstallCallback(ConnectAddonManager.java:474)
	at com.atlassian.plugin.connect.plugin.installer.ConnectAddonManager.installConnectAddon(ConnectAddonManager.java:240)
	at com.atlassian.plugin.connect.plugin.installer.DefaultConnectAddOnInstaller.install(DefaultConnectAddOnInstaller.java:121)
	at com.atlassian.plugin.connect.plugin.installer.ConnectUPMInstallHandler.installPlugin(ConnectUPMInstallHandler.java:92)
	at com.atlassian.upm.core.install.DefaultPluginInstallationService.execute(DefaultPluginInstallationService.java:111)
	at com.atlassian.upm.core.install.DefaultPluginInstallationService.install(DefaultPluginInstallationService.java:87)
	at com.atlassian.upm.install.UpmPluginInstallationService.install(UpmPluginInstallationService.java:94)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.installFromFile(InstallTask.java:123)
	at com.atlassian.upm.core.rest.resources.install.InstallFromUriTask.executeTask(InstallFromUriTask.java:88)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:60)
	at com.atlassian.upm.core.rest.resources.install.InstallTask.call(InstallTask.java:34)
	at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:78)
	at com.atlassian.upm.core.rest.async.AsynchronousTaskManager$1.call(AsynchronousTaskManager.java:73)
	at com.atlassian.sal.core.executor.ThreadLocalDelegateCallable.call(ThreadLocalDelegateCallable.java:42)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	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:744)

Looks like your certificate is not in java default key-store.

 

For mine https://marketplace-cdn.atlassian.com/files/1.2.24-AC/artifact/descriptor/d06d6d05-4483-40db-a0a1-f951b8316bf5/atlassian-connect.json I get java.net.SocketTimeoutException.

Deniz Oğuz
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 26, 2015

Yes. Although it is accepted by browser it is not accepted by jira server. I have searched a lot and find following issue https://jira.atlassian.com/browse/CLOUD-6626. It seems that AdTrust or Comodo certificate is not in their keystore. It seems that I am getting a new certificate :(

2 votes
eero
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2015

Hi @Deniz Oguz [The Starware],

Just letting you know that it looks like the server you are using to host your addon is using server name identification (SNI, http://en.wikipedia.org/wiki/Server_Name_Indication). Unfortunately SNI does not currently work in Atlassian Cloud because of a bug in the http client we are using: https://ecosystem.atlassian.net/browse/AC-1519

We are working to fix it, and you can follow above ticket to get updates about our progress.

Cheers,

Eero

1 vote
Deniz Oğuz
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 26, 2015

Lessons learned:Do not use Comodo Essential certificates, they are not accepted by JIRA cloud instances. I have replaced certificate Comodo certificate with RapidSSL and everything is working now.

0 votes
Volodymyr Krupach
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 26, 2015

Do you have valid (no self signed) SSL certificate for your domain?

Also posting of the JSON descriptor will be helpful.

Deniz Oğuz
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 26, 2015

Thanks for your response. It is not self signed. If I copy & paste the descriptor URL browser successfully downloads it without any security warning. Clicking on the lock sign shows that certificate is ok. I have checked it with https://www.ssllabs.com and it also seems to work with Java clients. You can get descriptor with following link token should be still valid. https://marketplace.atlassian.com/files/1.0.6-AC/artifact/descriptor/bccc943b-e137-4c84-937e-9e6691f2633b/atlassian-connect.json?access-token=3c97f89e

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events