Yosemite upgrade causes Apple Push Notification for Websites to stop working

Originator:darshan.sawardekar
Number:rdar://18775334 Date Originated:October 26, 2014
Status:Duplicate Resolved:Duplicate
Product:Safari Product Version:8
Classification: Reproducible:Always
 
We have noticed an issue with Safari and the Apple Push Notification Service for Websites after upgrading to Yosemite.

Prior to upgrading to Yosemite Push notifications appear correctly on the Mac OS X Mavericks and are visible in the Notification Center.

However after upgrading to Yosemite we are unable to receive any push notifications. Further there is no indication or alert that informs the user if any errors occurred.

In order to fix this issue, we are asking users to "reset" their notification permissions for that website. i.e.:- Deny push notification from Safari Preferences and then Allow them again.

This toggling of the allow/deny switch is however a temporary fix. Our users are unlikely to notice this problem on their own. The only indication is a lack of notifications.

Please advice. Thanks!

Steps to Reproduce:
1. On OS X Mavericks, Visit 9to5mac.com
2. You will be prompted for permissions to receive push notifications. Click Allow.
3. You will soon start seeing notifications when new posts are made on 9to5mac in notification center.
4. Upgrade to OS X Yosemite.

Expected Results:
Notifications should be received by 9to5mac users who subscribed while they were on Mavericks, even after they upgrade to Yosemite.

Actual Results:
Notifications are no longer received, even after new posts on 9to5mac.com

A Temporary Workaround is to Deny & Allow Notifications for 9to5mac.com from Safari Preferences.

Comments

A workaround that was found on Apple Discussion forums is below. After I did this, notification preferences stick through a reboot/logout.

I followed the instructions from this thread (supposedly from Apple Engineering) https://discussions.apple.com/thread/6615967

  1. Open the Library folder in your Home folder.
  2. In the Library folder, open the Application Support folder.
  3. Locate the folder named NotificationCenter. Drag this folder to the desktop.
  4. Next, open the Terminal application. Copy and paste each line of these commands into the Terminal window, in order. Press return after each line:

cd getconf DARWIN_USER_DIR

rm -rf com.apple.notificationcenter

killall usernoted; killall NotificationCenter

  1. Close the Terminal app.
  2. Restart your computer.

The notification preference changes won't stick until you restart a 2nd time after this.

By netnothing at Oct. 30, 2014, 1:21 p.m. (reply...)

Marked as duplicate of 18710868

By darshan.sawardekar at Oct. 30, 2014, 5:49 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!