Error Sending HipChat Notification
問題
Notification is not received in self-hosted HipChat Server room when the following operations are performed:
- Page is created.
- Page is edited.
- Blog post is created.
The following appears in the atlassian-confluence.log
2015-03-24 15:33:20,790 ERROR [http-bio-8080-exec-8] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 3 - com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: georg.rath | action: doeditpage | page: 12779524
2015-03-24 15:33:20,797 WARN [http-bio-8080-exec-8] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] sendMessages Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: georg.rath | action: doeditpage | page: 12779524
2015-03-24 15:33:20,808 WARN [http-bio-8080-exec-8] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.page.PageUpdateEvent@6c711000[originalPage=page: HipChat Test Page v.1 (12779525),updateTrigger=UNKNOWN,page=page: HipChat Test Page v.2 (12779524),suppressNotifications=false,timestamp=1427207590746] took 10060 ms (warning threshold is 5000 ms)
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: georg.rath | action: doeditpage | page: 12779524
2015-03-24 15:33:52,227 ERROR [http-bio-8080-exec-5] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 5 - An internal error occurred. Please try again later.
-- referer: http://localhost:8090/plugins/servlet/hipchat/configure | url: /rest/hipchat/spacetoroom/1.0/config/ISD/5/BlogCreate | userName: admin
2015-03-24 15:33:52,234 WARN [http-bio-8080-exec-5] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] spaceToRoomLinked Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/plugins/servlet/hipchat/configure | url: /rest/hipchat/spacetoroom/1.0/config/ISD/5/BlogCreate | userName: admin
2015-03-24 15:34:09,679 ERROR [http-bio-8080-exec-20] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 5 - An internal error occurred. Please try again later.
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: admin | action: doeditpage | page: 12779524
2015-03-24 15:34:09,686 WARN [http-bio-8080-exec-20] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] sendMessages Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: admin | action: doeditpage | page: 12779524
2015-03-24 15:34:09,733 ERROR [http-bio-8080-exec-20] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 3 - An internal error occurred. Please try again later.
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: admin | action: doeditpage | page: 12779524
2015-03-24 15:34:09,738 WARN [http-bio-8080-exec-20] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] sendMessages Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: admin | action: doeditpage | page: 12779524
2015-03-24 15:38:00,543 INFO [http-bio-8080-exec-25] [atlassian.plugin.manager.DefaultPluginManager] notifyPluginDisabled Disabling com.atlassian.hipchat.plugins.core
2015-03-24 15:40:48,041 INFO [http-bio-8080-exec-11] [atlassian.plugin.manager.DefaultPluginManager] disableDependentPlugins Found dependent enabled plugins for uninstalled plugin 'com.atlassian.hipchat.plugins.core': []. Disabling...
2015-03-24 15:43:00,392 ERROR [http-bio-8080-exec-21] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 5 - An internal error occurred. Please try again later.
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: admin | action: doeditpage | page: 12779524
2015-03-24 15:43:00,401 WARN [http-bio-8080-exec-21] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] sendMessages Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: admin | action: doeditpage | page: 12779524
2015-03-24 15:43:00,463 ERROR [http-bio-8080-exec-21] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 3 - An internal error occurred. Please try again later.
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: admin | action: doeditpage | page: 12779524
2015-03-24 15:43:00,470 WARN [http-bio-8080-exec-21] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] sendMessages Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/pages/editpage.action?pageId=12779524 | url: /pages/doeditpage.action | userName: admin | action: doeditpage | page: 12779524
2015-03-24 15:44:16,521 ERROR [http-bio-8080-exec-20] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 18 - An internal error occurred. Please try again later.
-- referer: http://localhost:8090/plugins/servlet/hipchat/configure | url: /rest/hipchat/spacetoroom/1.0/config/ISD/18/BlogCreate | userName: admin
2015-03-24 15:44:16,526 WARN [http-bio-8080-exec-20] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] spaceToRoomLinked Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/plugins/servlet/hipchat/configure | url: /rest/hipchat/spacetoroom/1.0/config/ISD/18/BlogCreate | userName: admin
2015-03-24 15:44:44,130 ERROR [http-bio-8080-exec-14] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 18 - An internal error occurred. Please try again later.
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ISD&fromPageId=328411 | url: /pages/docreatepage.action | userName: admin | action: docreatepage
2015-03-24 15:44:44,136 WARN [http-bio-8080-exec-14] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] sendMessages Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ISD&fromPageId=328411 | url: /pages/docreatepage.action | userName: admin | action: docreatepage
2015-03-24 15:44:44,183 ERROR [http-bio-8080-exec-14] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 5 - An internal error occurred. Please try again later.
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ISD&fromPageId=328411 | url: /pages/docreatepage.action | userName: admin | action: docreatepage
2015-03-24 15:44:44,188 WARN [http-bio-8080-exec-14] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] sendMessages Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ISD&fromPageId=328411 | url: /pages/docreatepage.action | userName: admin | action: docreatepage
2015-03-24 15:44:54,210 ERROR [http-bio-8080-exec-14] [hipchat.api.notification.DefaultHipChatNotificationService] doNotify Error sending notification to 3 - com.sun.jersey.api.client.ClientHandlerException: java.net.SocketTimeoutException: Read timed out
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ISD&fromPageId=328411 | url: /pages/docreatepage.action | userName: admin | action: docreatepage
2015-03-24 15:44:54,218 WARN [http-bio-8080-exec-14] [hipchat.spacetoroom.service.SpaceToRoomNotificationService] sendMessages Unable to send HipChat Notification. Reason:
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ISD&fromPageId=328411 | url: /pages/docreatepage.action | userName: admin | action: docreatepage
2015-03-24 15:44:54,229 WARN [http-bio-8080-exec-14] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.page.PageCreateEvent@229eaab6[context={spaceKey=ISD, shared-drafts=false, fromPageId=328411},page=page: HipChat Test Page 2 v.1 (12779529),suppressNotifications=false,timestamp=1427208284018] took 10210 ms (warning threshold is 5000 ms)
-- referer: http://localhost:8090/pages/createpage.action?spaceKey=ISD&fromPageId=328411 | url: /pages/docreatepage.action | userName: admin | action: docreatepage
診断
Diagnostic Steps
- Clear Confluence plugins cache.
- Restart HipChat Server.
- Delete and recreate the HipChat integration link.
原因
HipChat Server is probably returning 500 status error to Confluence as HipChat Server beta build may not fully support HipChat Integration with Confluence properly.
ソリューション
- Update Confluence HipChat Plugin to the latest version.
- Shutdown HipChat Server.
- Upgrade HipChat Server to the latest build version.
- Restart HipChat Server.
- Delete and recreate HipChat Integration link via Confluence Administration Console.
最終更新日 2018 年 11 月 2 日
Powered by Confluence and Scroll Viewport.