Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-17198

Enable Smack support for SASL PLAIN when configuring an IM server

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Cannot Reproduce
    • None
    • IM
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Problem

      When using an IM Server that supports SASL PLAIN only (e.g. Cisco Unified Presence Server) Bamboo fails with the following SASLErrorException:

      2016-01-28 17:02:48,992 INFO [http-nio-8085-exec-16] [BambooSmackClient] Connecting to InstantMessagingServerDefinitionImpl
      {name='Default', host='imserv.host.net', port=5222, username='bamboo@host.net', resource='bamboo', secureConnectionRequired=false, enforceLegacySsl=false}
      2016-01-28 17:02:49,102 INFO [http-nio-8085-exec-16] [ConfigureInstantMessagingServer] Cannot connect to imserv.host.net as user <bamboo@host.net>
      org.jivesoftware.smack.sasl.SASLErrorException: SASLError using PLAIN: not-authorized
      at org.jivesoftware.smack.SASLAuthentication.authenticationFailed(SASLAuthentication.java:365)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.parsePackets(XMPPTCPConnection.java:1040)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader.access$300(XMPPTCPConnection.java:944)
      at org.jivesoftware.smack.tcp.XMPPTCPConnection$PacketReader$1.run(XMPPTCPConnection.java:959)
      at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jgiles@atlassian.com James Giles IV (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: