Uploaded image for project: 'HipChat'
  1. HipChat
  2. HCPUB-1685

Adding users from external directory fails when using evaluation license

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • None
    • HCS 2.0.4
    • Admin issues
    • None
    • Severity 1 - Critical

    Description

      Summary

      When using an evaluation license for HipChat Server v2.0.4, adding users from an external user directory fails. The following error is thrown in the /var/log/hipchat/atlassian-crowd.log file:

      2016-09-19 21:00:14,638 hipchat-httpclient-callbacks:thread-219 ERROR [hipchat.sync.crowd.CrowdSyncManager] Failed to create user: HipChatUser{uid=null, external_id={hcs}test.user, email=test.user@exampleserver.com, name=Kerianne Menon, mention_name=null, title=null, timezone=null, is_deleted=false, group_admin=false, roles=[]}
      2016-09-19 21:00:14,638 hipchat-httpclient-callbacks:thread-219 ERROR [hipchat.sync.crowd.CrowdSyncManager] Got HTTP error 400 (Bad Request), with body
      {
        "error": {
          "code": 400,
          "message": "Unable to create user.  You must purchase more licenses in order to add additional users",
          "type": "Bad Request"
        }
      }
      
      
      

      Environment

      • HipChat Server v2.0.4
      • Connected to an external user directory
      • Evaluation license in use

      Steps to Reproduce

      1. Install HipChat Server
      2. Apply an evaluation license
      3. Upgrade to v2.0.4
      4. Integrate with an external user directory containing users that do not currently exist in HipChat Server
      5. Synchronize the directory

      Expected Results

      Users will be added to HipChat Server successfully.

      Actual Results

      The below exception is thrown in the altassian-crowd.log file:

      2016-09-19 21:00:14,638 hipchat-httpclient-callbacks:thread-219 ERROR [hipchat.sync.crowd.CrowdSyncManager] Failed to create user: HipChatUser{uid=null, external_id={hcs}test.user, email=test.user@exampleserver.com, name=Kerianne Menon, mention_name=null, title=null, timezone=null, is_deleted=false, group_admin=false, roles=[]}
       2016-09-19 21:00:14,638 hipchat-httpclient-callbacks:thread-219 ERROR [hipchat.sync.crowd.CrowdSyncManager] Got HTTP error 400 (Bad Request), with body
       {
         "error": {
           "code": 400,
           "message": "Unable to create user.  You must purchase more licenses in order to add additional users",
           "type": "Bad Request"
         }
       }
      

      Workaround

      No workarounds have been identified as this time.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              scovey Shanye
              Archiver:
              mandreacchio Michael Andreacchio

              Dates

                Created:
                Updated:
                Resolved:
                Archived: