Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,364,056
Community Members
 
Community Events
168
Community Groups

Bamboo App Links Always Show Network Error

On a new installation of Bamboo any App Links I create(Jira,Conflunce,Bitbucket) show a "NETWORK ERROR" App links from the reciprocating app all show normal. I'm using Crowd with the legacy style Crowd SSO for all of the apps and am running behind a reverse proxy. The same server.xml configuration for reverse proxy is used on all of the applications and everything is behind a single domain.

 

2020-09-01 21:38:38,414 DEBUG [http-nio-8085-exec-22] [AuthenticatorAccessor] Looking for interface com.atlassian.applinks.api.auth.types.TwoLeggedOAuthWithImpersonationAuthenticationProvider for application link Bitbucket
2020-09-01 21:38:38,461 DEBUG [http-nio-8085-exec-22] [ApplicationLinkProperties] Getting provider config; key: com.atlassian.applinks.api.auth.types.OAuthAuthenticationProvider
2020-09-01 21:38:38,653 WARN [http-nio-8085-exec-22] [DefaultApplinkStatusService] Network error while attempting to retrieve status of Application Link '83152e97-2cbc-3ac1-84be-64ead07049c8'
2020-09-01 21:38:38,653 DEBUG [http-nio-8085-exec-22] [DefaultApplinkStatusService] '83152e97-2cbc-3ac1-84be-64ead07049c8' error type: UNEXPECTED_RESPONSE
2020-09-01 21:38:38,653 DEBUG [http-nio-8085-exec-22] [DefaultApplinkStatusService] '83152e97-2cbc-3ac1-84be-64ead07049c8' response status: 200: OK
2020-09-01 21:38:38,653 DEBUG [http-nio-8085-exec-22] [DefaultApplinkStatusService] '83152e97-2cbc-3ac1-84be-64ead07049c8' response content type: application/json
2020-09-01 21:38:38,653 DEBUG [http-nio-8085-exec-22] [DefaultApplinkStatusService] '83152e97-2cbc-3ac1-84be-64ead07049c8' response contents

{"consumers":[{"key":"Bamboo:1487406430","name":"Bamboo","description":"Atlassian Bamboo at https://example.com/bamboo ","signatureMethod":"RSA_SHA1","publicKey":"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAziqCgjAir6AUc449972A2700Y2+O7AyDSUq38t2kOiIyVZWR1yrWxTTOgSiBiZKkCtu1Df7GyAio0R34VhimZjGlJOsfCHl6SUGzLqp2A1aklnqV0LY8HYCMix3/Uv41rowGLOFW6O07jp0h89T+QkfeKwBUMHtRRnBo79HCquSWcDN6QfUyilni4P0MY4g/QNMAQOqwMZLpvruYglwxiQbDvFvfD77fZUcdN+Y0ikH8IDbZYoExWOjb2bXsbeskzG6dLYetF7W9tAdmA0uR1mQ4R (...)

2020-09-01 21:38:38,653 DEBUG [http-nio-8085-exec-22] [DefaultApplinkStatusService] Network error trace for '83152e97-2cbc-3ac1-84be-64ead07049c8'
com.atlassian.applinks.internal.status.remote.ResponseApplinkStatusException
at com.atlassian.applinks.internal.status.error.NetworkErrorTranslator$ResponseContentMatcher.createMatchingError(NetworkErrorTranslator.java:249)
at com.atlassian.applinks.internal.status.error.NetworkErrorTranslator.toApplinkErrorException(NetworkErrorTranslator.java:82)
at com.atlassian.applinks.internal.status.oauth.remote.DefaultRemoteOAuthStatusService.fetchOAuthStatus(DefaultRemoteOAuthStatusService.java:86)
at com.atlassian.applinks.core.DefaultApplinkStatusService.getApplinkStatus(DefaultApplinkStatusService.java:96)
at com.atlassian.applinks.internal.rest.status.ApplinkStatusResource.getStatus(ApplinkStatusResource.java:105)
at sun.reflect.GeneratedMethodAccessor800.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

skipping a bunch of lines

Caused by: com.atlassian.applinks.internal.common.net.ResponseContentException
at com.atlassian.applinks.internal.status.oauth.remote.ApplinkAuthenticationOAuthFetchStrategy$ApplinkAuthenticationOAuthStatusHandler.handle(ApplinkAuthenticationOAuthFetchStrategy.java:168)
at com.atlassian.applinks.internal.status.oauth.remote.ApplinkAuthenticationOAuthFetchStrategy$ApplinkAuthentication2LoiOAuthStatusHandler.handle(ApplinkAuthenticationOAuthFetchStrategy.java:239)
at com.atlassian.applinks.internal.status.oauth.remote.ApplinkAuthenticationOAuthFetchStrategy$ApplinkAuthentication2LoiOAuthStatusHandler.handle(ApplinkAuthenticationOAuthFetchStrategy.java:212)
at com.atlassian.applinks.oauth.auth.OAuthApplinksResponseHandler$1.handle(OAuthApplinksResponseHandler.java:122)
at com.atlassian.applinks.oauth.auth.OAuthApplinksResponseHandler.handle(OAuthApplinksResponseHandler.java:78)
at com.atlassian.plugins.rest.module.jersey.JerseyRequest$2.handle(JerseyRequest.java:134)
at com.atlassian.sal.core.net.HttpClientRequest.executeAndReturn(HttpClientRequest.java:102)
at com.atlassian.plugins.rest.module.jersey.JerseyRequest.executeAndReturn(JerseyRequest.java:131)
at com.atlassian.applinks.core.auth.ApplicationLinkRequestAdaptor.execute(ApplicationLinkRequestAdaptor.java:61)
at com.atlassian.applinks.oauth.auth.OAuthRequest.execute(OAuthRequest.java:58)
at com.atlassian.applinks.internal.rest.client.DefaultAuthorisationUriAwareRequest.execute(DefaultAuthorisationUriAwareRequest.java:142)
at com.atlassian.applinks.internal.status.oauth.remote.ApplinkAuthenticationOAuthFetchStrategy.fetch(ApplinkAuthenticationOAuthFetchStrategy.java:73)
at com.atlassian.applinks.internal.status.oauth.remote.DefaultRemoteOAuthStatusService.fetchInternal(DefaultRemoteOAuthStatusService.java:97)
at com.atlassian.applinks.internal.status.oauth.remote.DefaultRemoteOAuthStatusService.fetchOAuthStatus(DefaultRemoteOAuthStatusService.java:84)
... 220 more
Caused by: java.lang.NullPointerException
at com.atlassian.plugins.rest.module.jersey.JerseyEntityHandler.unmarshall(JerseyEntityHandler.java:203)
at com.atlassian.plugins.rest.module.jersey.JerseyResponse.getEntity(JerseyResponse.java:41)
at com.atlassian.applinks.internal.status.oauth.remote.ApplinkAuthenticationOAuthFetchStrategy$ApplinkAuthenticationOAuthStatusHandler.handle(ApplinkAuthenticationOAuthFetchStrategy.java:160)
... 233 more

1 answer

0 votes

Hi! 

I hope you made checks via curl , trctraceroute etc with network engineer

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events