Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16304

[GSS](7.2.z) WFCORE-4326 - EAP 6.4 client calling EAP 7.x legacy remoting fails with server presented no authentication mechanisms when using anonymous

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.2.1.CR1, 7.2.1.GA
    • 7.2.0.GA
    • Security
    • None

      EAP 6.4 client calling EAP 7.x legacy remoting fails with server presented no authentication mechanisms when using anonymous

      client:

      20:20:22,298 DEBUG [org.jboss.remoting.remote.client] Client 
      authentication failed for mechanism DIGEST-MD5: 
      javax.security.sasl.SaslException: DIGEST-MD5: Cannot perform callback 
      to acquire realm, authentication ID or password [Caused by 
      javax.security.auth.callback.UnsupportedCallbackException]
      20:20:22,306 DEBUG [org.jboss.remoting.remote.connection] JBREM000200: 
      Remote connection failed: javax.security.sasl.SaslException: 
      Authentication failed: the server presented no authentication mechanisms
      20:20:22,312 WARN 
      [org.jboss.ejb.client.remoting.ConfigBasedEJBClientContextSelector] 
      Could not register a EJB receiver for connection to 192.168.1.72:7105: 
      javax.security.sasl.SaslException: Authentication failed: the server 
      presented no authentication mechanisms
           at 
      org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:414) 
      [jboss-cli-client.jar:7.5.21.Final-redhat-1]
           at 
      org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(ClientConnectionOpenListener.java:244) 
      [jboss-cli-client.jar:7.5.21.Final-redhat-1]
           at 
      org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:72) 
      [jboss-cli-client.jar:7.5.21.Final-redhat-1]
           at 
      org.xnio.channels.TranslatingSuspendableChannel.handleReadable(TranslatingSuspendableChannel.java:189) 
      [jboss-cli-client.jar:7.5.21.Final-redhat-1]
      

      server side:

      It looks like the server is not allowing ANONYMOUS ?

      2019-01-24 20:20:22,337 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Initialized connection from /192.168.1.72:61389 to 
      /192.168.1.72:7105 with options 
      {org.jboss.remoting3.RemotingOptions.SASL_PROTOCOL=>remote,org.xnio.Options.TCP_NODELAY=>true,org.xnio.Options.SASL_POLICY_NOANONYMOUS=>false,org.xnio.Options.REUSE_ADDRESSES=>true,org.xnio.Options.SASL_MECHANISMS=>[PLAIN, 
      ANONYMOUS],org.xnio.Options.SSL_STARTTLS=>true,org.xnio.Options.SSL_ENABLED=>true}
      2019-01-24 20:20:22,338 TRACE [org.jboss.remoting.remote] (default 
      I/O-13) Accepted connection from /192.168.1.72:61389 to 
      192.168.1.72/192.168.1.72:7105
      2019-01-24 20:20:22,338 TRACE [org.jboss.remoting.remote] (default 
      I/O-13) Setting read listener to 
      org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial@64bdccbc
      2019-01-24 20:20:22,338 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Sent 19 bytes
      2019-01-24 20:20:22,339 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Flushed channel
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) No buffers in queue for message header
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Allocated fresh buffers
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Received 79 bytes
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Received message java.nio.HeapByteBuffer[pos=0 lim=75 
      cap=8192]
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Received java.nio.HeapByteBuffer[pos=0 lim=75 cap=8192]
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capabilities request
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: version 1
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote endpoint name 
      "config-based-ejb-client-endpoint"
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: message close protocol 
      supported
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote version is 
      "3.3.12.Final-redhat-2"
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote channels in is "40"
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote channels out is "40"
      2019-01-24 20:20:22,340 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) No EXTERNAL mechanism due to lack of SSL
      2019-01-24 20:20:22,341 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Added mechanism DIGEST-MD5
      2019-01-24 20:20:22,341 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Sent 72 bytes
      2019-01-24 20:20:22,341 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Flushed channel
      2019-01-24 20:20:22,343 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) No buffers in queue for message header
      2019-01-24 20:20:22,343 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Allocated fresh buffers
      2019-01-24 20:20:22,343 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Received 5 bytes
      2019-01-24 20:20:22,343 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Received message java.nio.HeapByteBuffer[pos=0 lim=1 
      cap=8192]
      2019-01-24 20:20:22,343 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Received java.nio.HeapByteBuffer[pos=0 lim=1 cap=8192]
      2019-01-24 20:20:22,343 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received STARTTLS request
      2019-01-24 20:20:22,343 TRACE [org.jboss.remoting.remote] (default 
      I/O-13) Setting read listener to 
      org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial@66386f76
      ...
      2019-01-24 20:20:22,371 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Received message java.nio.HeapByteBuffer[pos=0 lim=75 
      cap=8192]
      2019-01-24 20:20:22,371 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Received java.nio.HeapByteBuffer[pos=0 lim=75 cap=8192]
      2019-01-24 20:20:22,371 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capabilities request
      2019-01-24 20:20:22,371 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: version 1
      2019-01-24 20:20:22,371 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote endpoint name 
      "config-based-ejb-client-endpoint"
      2019-01-24 20:20:22,371 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: message close protocol 
      supported
      2019-01-24 20:20:22,371 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote version is 
      "3.3.12.Final-redhat-2"
      2019-01-24 20:20:22,371 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote channels in is "40"
      2019-01-24 20:20:22,372 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote channels out is "40"
      2019-01-24 20:20:22,372 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) No EXTERNAL mechanism due to unverified SSL peer
      2019-01-24 20:20:22,372 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Added mechanism DIGEST-MD5
      2019-01-24 20:20:22,372 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Sent 70 bytes
      2019-01-24 20:20:22,373 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Flushed channel
      2019-01-24 20:20:22,376 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) No buffers in queue for message header
      2019-01-24 20:20:22,376 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Allocated fresh buffers
      2019-01-24 20:20:22,377 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Received 16 bytes
      2019-01-24 20:20:22,377 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Received message java.nio.HeapByteBuffer[pos=0 lim=12 
      cap=8192]
      2019-01-24 20:20:22,377 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Received java.nio.HeapByteBuffer[pos=0 lim=12 cap=8192]
      2019-01-24 20:20:22,377 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received authentication request
      2019-01-24 20:20:22,377 TRACE [org.jboss.remoting.endpoint] (default 
      I/O-13) Allocated tick to 8 of endpoint "bmaxwell-2" <66ce656a> (opened 
      org.jboss.remoting3.EndpointImpl$TrackingExecutor@5323e2ec)
      2019-01-24 20:20:22,378 TRACE [org.jboss.remoting.remote.server] 
      (default task-2) Server sending authentication challenge
      2019-01-24 20:20:22,378 TRACE [org.jboss.remoting.remote] (default 
      task-2) Setting read listener to 
      org.jboss.remoting3.remote.ServerConnectionOpenListener$Authentication@17ac004f
      2019-01-24 20:20:22,378 TRACE [org.jboss.remoting.endpoint] (default 
      task-2) Resource closed count 00000007 of endpoint "bmaxwell-2" 
      <66ce656a> (closed 
      org.jboss.remoting3.EndpointImpl$TrackingExecutor@5323e2ec)
      ...
      2019-01-24 20:20:22,381 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capabilities request (cancelling 
      authentication)
      2019-01-24 20:20:22,381 TRACE [org.jboss.remoting.remote] (default 
      I/O-13) Setting read listener to 
      org.jboss.remoting3.remote.ServerConnectionOpenListener$Initial@a0deca4
      2019-01-24 20:20:22,382 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: version 1
      2019-01-24 20:20:22,382 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote endpoint name 
      "config-based-ejb-client-endpoint"
      2019-01-24 20:20:22,382 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: message close protocol 
      supported
      2019-01-24 20:20:22,382 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote version is 
      "3.3.12.Final-redhat-2"
      2019-01-24 20:20:22,382 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote channels in is "40"
      2019-01-24 20:20:22,382 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Server received capability: remote channels out is "40"
      2019-01-24 20:20:22,382 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) No EXTERNAL mechanism due to unverified SSL peer
      2019-01-24 20:20:22,382 TRACE [org.jboss.remoting.remote.server] 
      (default I/O-13) Added mechanism DIGEST-MD5
      2019-01-24 20:20:22,383 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Sent 70 bytes
      2019-01-24 20:20:22,383 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Flushed channel
      2019-01-24 20:20:22,385 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) No buffers in queue for message header
      2019-01-24 20:20:22,385 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Allocated fresh buffers
      2019-01-24 20:20:22,385 TRACE [org.jboss.remoting.remote.connection] 
      (default I/O-13) Received EOF
      2019-01-24 20:20:22,385 TRACE [org.jboss.remoting.remote] (default 
      I/O-13) Received connection end-of-stream
      

        1. client.zip
          20 kB
        2. eap64-overlay.zip
          14 kB
        3. eap71-overlay.zip
          16 kB

              rhn-support-ivassile Ilia Vassilev
              rhn-support-bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: