Jira application link failed

xuhanlan July 9, 2019

After I add a application link to a newly installed confluence, a error messege appeared onthe applink page:

微信图片_20190710104420.png

and when I closed that error all the applinks that configured ealier is gone. 

1 answer

0 votes
Rambabu Patina _Appfire_
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.
July 9, 2019

Hi @xuhanlan , Welcome to the community.

It seems to be an issue with proxying, base URLs and a bad entry in /etc/hosts.

Could you please provide additional log information that can help us troubleshoot the problem.

However, there is an application links troubleshooting article is available you may check it.

Thanks,
Ram.

xuhanlan July 9, 2019

Yes, of course,  the log information:微信图片_20190710143318.png

xuhanlan August 26, 2019

Sorry, but we still can't find the cause of this problem, the new log info:

2019-08-27 10:58:47,685 http-nio-8080-exec-609 ERROR wrptq 658x10290270x1 17scnnl 10.90.67.55,0:0:0:0:0:0:0:1 /rest/applinks/3.0/applinks [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: java.lang.IllegalArgumentException: Schema specific part is opaque
com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalArgumentException: Schema specific part is opaque
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203)
at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4830)
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader.downloadInternal(AppLinksManifestDownloader.java:106)
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader.downloadNoEvent(AppLinksManifestDownloader.java:100)
at com.atlassian.applinks.internal.capabilities.DefaultRemoteCapabilitiesService.updateAndGet(DefaultRemoteCapabilitiesService.java:292)
at com.atlassian.applinks.internal.capabilities.DefaultRemoteCapabilitiesService.getCapabilitiesUnrestricted(DefaultRemoteCapabilitiesService.java:257)
at com.atlassian.applinks.internal.capabilities.DefaultRemoteCapabilitiesService.getCapabilities(DefaultRemoteCapabilitiesService.java:141)
at com.atlassian.applinks.internal.rest.applink.data.RemoteCapabilitiesDataProvider.provide(RemoteCapabilitiesDataProvider.java:40)
at com.atlassian.applinks.internal.rest.applink.ApplicationLinkV3Resource.getData(ApplicationLinkV3Resource.java:143)
at com.atlassian.applinks.internal.rest.applink.ApplicationLinkV3Resource.getAll(ApplicationLinkV3Resource.java:88)
... 2 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
... 3 filtered
at com.atlassian.applinks.internal.rest.interceptor.NoCacheHeaderInterceptor.intercept(NoCacheHeaderInterceptor.java:13)
... 1 filtered
at com.atlassian.applinks.internal.common.rest.interceptor.RestRepresentationInterceptor.intercept(RestRepresentationInterceptor.java:31)
... 1 filtered
at com.atlassian.applinks.internal.rest.interceptor.ServiceExceptionInterceptor.intercept(ServiceExceptionInterceptor.java:28)
... 14 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter$JerseyOsgiServletContainer.doFilter(RestDelegatingServletFilter.java:154)
... 1 filtered
at com.atlassian.plugins.rest.module.RestDelegatingServletFilter.doFilter(RestDelegatingServletFilter.java:68)
... 41 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 53 filtered
at com.atlassian.jira.security.JiraSecurityFilter.lambda$doFilter$0(JiraSecurityFilter.java:66)
... 1 filtered
at com.atlassian.jira.security.JiraSecurityFilter.doFilter(JiraSecurityFilter.java:64)
... 16 filtered
at com.atlassian.plugins.rest.module.servlet.RestSeraphFilter.doFilter(RestSeraphFilter.java:37)
... 19 filtered
at com.atlassian.jira.servermetrics.CorrelationIdPopulatorFilter.doFilter(CorrelationIdPopulatorFilter.java:30)
... 10 filtered
at com.atlassian.web.servlet.plugin.request.RedirectInterceptingFilter.doFilter(RedirectInterceptingFilter.java:21)
... 4 filtered
at com.atlassian.web.servlet.plugin.LocationCleanerFilter.doFilter(LocationCleanerFilter.java:36)
... 26 filtered
at com.atlassian.jira.servermetrics.MetricsCollectorFilter.doFilter(MetricsCollectorFilter.java:25)
... 23 filtered
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: Schema specific part is opaque
at com.sun.jersey.api.uri.UriBuilderImpl.checkSsp(UriBuilderImpl.java:529)
at com.sun.jersey.api.uri.UriBuilderImpl.path(UriBuilderImpl.java:273)
at com.atlassian.plugins.rest.module.util.ResourceInvokable.getURI(ResourceInvokable.java:46)
at com.atlassian.plugins.rest.module.util.ResourcePathUrlInvokable.invoke(ResourcePathUrlInvokable.java:15)
at com.atlassian.applinks.core.rest.ManifestResource$$EnhancerByCGLIB$$23a539ea.getManifest(<generated>)
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader.doDownload(AppLinksManifestDownloader.java:161)
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader.access$000(AppLinksManifestDownloader.java:50)
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader$1$1.<init>(AppLinksManifestDownloader.java:127)
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader$1.load(AppLinksManifestDownloader.java:121)
at com.atlassian.applinks.core.manifest.AppLinksManifestDownloader$1.load(AppLinksManifestDownloader.java:118)
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
... 245 more

 and in the /etc/hosts : 

10.90.30.50 crowd-pv.saicmotor.com
10.90.30.46 servicedesk-pv.saicmotor.com
10.90.30.45 confluence-pv.saicmotor.com
10.90.30.44 hipchat-pv.saicmotor.com
10.90.30.43 bitbucket-pv.saicmotor.com
10.90.30.42 fisheye-pv.saicmotor.com
10.90.30.41 bamboo-pv.saicmotor.com
10.90.30.47 jira-pv jira-pv.saicmotor.com
10.94.34.190 confluence.roewe.com.cn
47.101.4.195 gerrit102.zebred.com
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 SSAVL4022
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 SSAVL4022
Lee Elcocks
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 3, 2019

I am Also getting this error...Did you manage to fix this ?

sales
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 11, 2019

Yes, This because we add a wrong URI( protocal part) when create an application. We correct the URI on confluence DB, then  it works.

申奥 陆
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 6, 2021

hello,how to correct the URI on confluence DB? which table on confluence DB?

Jessie Horton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 8, 2021

We had the same issue. Had to fix some bad links in the propertystring table. Ours were missing the // for the URL. After updating the links and restarting I was able to get to the Application Links section and properly update the links.

Suggest an answer

Log in or Sign up to answer