Unable to Make Video Calls with Error "Sorry, you're not allowed to join this call" When Hipchat Server Has Invalid Server Time
Platform Notice: Server and Data Center Only. This article only applies to Atlassian products on the server and data center platforms.
When trying to join a video call, users see the following error:
Running the Hipchat video checks on the server shows the expected results:
admin@hipchat:~$ hipchat video --checkkeyserver Successfully communicated with https://video.hipchatserver.com
admin@hipchat:~$ hipchat video --checkpublickey The keyserver has your key
- Users are able to use video at https://apprtc.appspot.com/ without any issues.
Running the date command to confirm if the the server time is in sync with the time of the machine hosting the instance will show that there is inconsistency between them
The JWT tokens that are generated on the Hipchat Server have a not valid before and not valid after time range that the hipchat.me video service checks. If the Hipchat Server's time is more than 10 minutes out of sync with hipchat.me, the JWT tokens will be outside the acceptable time range and will be regarded as invalid.
Usually, correcting the time on the Hipchat Server instance will resolve the issue. Restarting the NTP daemon in Hipchat Server command line interface will force a time sync when the service is restarted:
sudo dont-blame-hipchat -c "service ntp restart"
NTP requires outbound connectivity to the NTP servers (0.atlassian.pool.ntp.org and 1.atlassian.pool.ntp.org by default)