Error Sending HipChat Notification
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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
Restart HipChat Server.
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.
Solution
Resolution
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.
Was this helpful?