Hello!
I ran a problem that push notifications don't come from our Jira Core instance to the Jira Server mobile App (tested in Android version).
Short description of the instance and a few of my ideas about how to solve this out (with no success):
1. Jira Core Server 8.13.2 (the latest version that supports by Jira Mobile Plugin at 12/19/2020);
2. The instance works behind NGINX proxy for access over SSL;
3. Administration -> System -> Jira mobile app -> Push notifications:
4. Administration -> System -> Security -> Whitelist:
Notifications in mobile app updates only after "pull-down gesture" in the Notifications menu or when I switching to this menu from any other. That means the connection with the instance works as it should. But push-notifications still don't come.
I've tried to mention others and others have tried to mention me; tried to assign someone to a task and vice versa accordingly... At the same time, email notifications work fine, but push-notifications don't.
I have no idea what to do or what I doing wrong. If someone has ideas about how to solve this trouble, please share.
UPD1 (maybe this will help and give you more info)
curl --head localhost:8080/server-info
HTTP/1.1 200
X-AREQUESTID: 324x1824x1
Referrer-Policy: strict-origin-when-cross-origin
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Content-Security-Policy: frame-ancestors 'self'
mobile-plugin-enabled: true
push-notification-enabled: true
instance-name: Jira Server
jira-base-url: https://jira.domain.com
is-data-center: false
new-create-metadata-api: true
Set-Cookie: atlassian.xsrf.token=BVBY-A751-RP08-4IHE_95b432b5e8e9c5c38aebed751b619b55c9454358_lout; Path=/; Secure
X-AUSERNAME: anonymous
Content-Type: text/html;charset=UTF-8
Content-Length: 0
Date: Sun, 20 Dec 2020 04:24:55 GMT
curl --head https://jira.domain.com/server-info
HTTP/2 200
server: nginx/1.14.0
date: Sun, 20 Dec 2020 04:24:58 GMT
content-type: text/html;charset=UTF-8
content-length: 0
x-arequestid: 324x1825x1
referrer-policy: strict-origin-when-cross-origin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
content-security-policy: frame-ancestors 'self'
mobile-plugin-enabled: true
push-notification-enabled: true
instance-name: Jira Server
jira-base-url: https://jira.domain.com
is-data-center: false
new-create-metadata-api: true
set-cookie: atlassian.xsrf.token=BVBY-A751-RP08-4IHE_327956be26a28288410a2c8443202518d85063f8_lout; Path=/; Secure
x-ausername: anonymous
strict-transport-security: max-age=15768000
content-security-policy-report-only: default-src https:; script-src https: 'unsafe-eval' 'unsafe-inline'; style-src https: 'unsafe-inline'; img-src https: data:; font-src https: data:; report-uri /csp-report
UPD2
I've tried to disable reverse proxy and start Jira directly on IP:Port without a webserver. Of course, I changed jira-base-url to http://123.45.67.89:8080. Push notifications still don't work.
Another thing to check is adding the firewalling for 'https://mobile-server-push-notification.atlassian.com' as per this: Push notifications service...
Note that this domain can resolve to multiple IPs so appropriate rules need to be added to facilitate communication to wherever this domain resolves to in order to ensure consistent push notification delivery.
Failure to do so could result in error logging such as:
Create push notification endpoint is unsuccessful with error message: java.lang.RuntimeException: java.net.ConnectException: Timeout connecting to [mobile-server-push-notification.atlassian.com/13.227.252.63:443
An update for the Mobile Plugin for Jira was just released this week, v3.2.3, that fixed an issue for us. Notifications had never worked for us previously due to this error we always got:
2020-11-06 08:37:17,184-0600 http-nio-8080-exec-1 ERROR 517x2281095x1 1xcizzh 68.47.110.197,0:0:0:0:0:0:0:1 /rest/nativemobile/1.0/push-notification/registration [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Create push notification endpoint is unsuccessful with error message: Invalid license
After updating to that latest plugin version, it is at least working properly now for us on iOS. Unsure as of yet about Android, but worth a shot in your case.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.