Error Sending HipChat Notification

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

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

Diagnosis

Diagnostic Steps

  1. Clear Confluence plugins cache.
  2. Restart HipChat Server.
  3. Delete and recreate the HipChat integration link.

Cause

HipChat Server is probably returning 500 status error to Confluence as HipChat Server beta build may not fully support HipChat Integration with Confluence properly.

Resolution

  1. Update Confluence HipChat Plugin to the latest version.
  2. Shutdown HipChat Server.
  3. Upgrade HipChat Server to the latest build version.
  4. Restart HipChat Server.
  5. Delete and recreate HipChat Integration link via Confluence Administration Console.
Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.