Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1782

UndertowXnioSsl handleEvent throws IllegalArgumentException "Contains non-LDH ASCII"

    Details

      Description

      The exception can be seen when using EJB over SSL in WildFly as explained in WFLY-13748.

      2020-07-31 08:46:47,731 INFO [org.wildfly.naming] [RegistrationStateChangeNotification-pool-27-thread-1] WildFly Naming version 1.0.12.Final
      2020-07-31 08:46:47,786 INFO [org.wildfly.security] [RegistrationStateChangeNotification-pool-27-thread-1] ELY00001: WildFly Elytron version 1.11.4.Final
      2020-07-31 08:46:47,826 INFO [org.xnio] [RegistrationStateChangeNotification-pool-27-thread-1] XNIO version 3.7.7.Final
      2020-07-31 08:46:47,837 INFO [org.xnio.nio] [RegistrationStateChangeNotification-pool-27-thread-1] XNIO NIO Implementation Version 3.7.7.Final
      2020-07-31 08:46:47,868 INFO [org.jboss.threads] [RegistrationStateChangeNotification-pool-27-thread-1] JBoss Threads version 2.3.3.Final
      2020-07-31 08:46:48,004 INFO [org.jboss.remoting] [RegistrationStateChangeNotification-pool-27-thread-1] JBoss Remoting version 5.0.17.Final
      2020-07-31 08:46:48,045 INFO [org.jboss.ejb.client] [RegistrationStateChangeNotification-pool-27-thread-1] JBoss EJB Client version 4.0.30.Final
      2020-07-31 08:46:48,206 ERROR [com.application.lifecycle.internal.dataservice.ServiceImpl] [RegistrationStateChangeNotification-pool-27-thread-1] RemoteException while accessing ServiceRemote on cluster: Error; nested exception is:
      java.io.IOException: java.lang.IllegalArgumentException: Contains non-LDH ASCII characters
      java.rmi.RemoteException: Error; nested exception is:
      java.io.IOException: java.lang.IllegalArgumentException: Contains non-LDH ASCII characters
      at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:219)
      at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125)
      at com.sun.proxy.$Proxy12.register(Unknown Source)
      at com.application.lifecycle.internal.dataservice.ServiceImpl$1.exec(ServiceImpl.java:41)
      at com.application.lifecycle.internal.dataservice.ServiceImpl$1.exec(ServiceImpl.java:38)
      at com.service.remoteservice.AbstractStatelessRemoteServiceProxy.exec(AbstractStatelessRemoteServiceProxy.java:128)
      at com.application.lifecycle.internal.dataservice.ServiceImpl.register(ServiceImpl.java:38)
      at com.application.lifecycle.internal.model.BusinessTierClusterModelImpl.register(BusinessTierClusterModelImpl.java:94)
      at com.application.lifecycle.internal.action.RegisterAction.execute(RegisterAction.java:51)
      at com.af.app.action.DefaultActionManager.executeRequest(DefaultActionManager.java:176)
      at com.service.message.DelegatingMessageReceiver.delegate(DelegatingMessageReceiver.java:68)
      at com.service.message.DelegatingMessageReceiver.receive(DelegatingMessageReceiver.java:50)
      at com.af.app.message.DefaultMessageReceiver.execute(DefaultMessageReceiver.java:65)
      at com.af.app.action.DefaultActionManager.executeRequest(DefaultActionManager.java:176)
      at com.af.app.message.DefaultMessageReceiver.onMessage(DefaultMessageReceiver.java:154)
      at com.af.app.impl.LocalMessageSenderImpl$SenderRunnable.run(LocalMessageSenderImpl.java:189)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.io.IOException: java.lang.IllegalArgumentException: Contains non-LDH ASCII characters
      at io.undertow.protocols.ssl.UndertowXnioSsl$StreamConnectionChannelListener.handleEvent(UndertowXnioSsl.java:450)
      at io.undertow.protocols.ssl.UndertowXnioSsl$StreamConnectionChannelListener.handleEvent(UndertowXnioSsl.java:416)
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      at org.xnio.nio.WorkerThread$ConnectHandle.handleReady(WorkerThread.java:333)
      at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
      Caused by: java.lang.IllegalArgumentException: Contains non-LDH ASCII characters
      at java.net.IDN.toASCIIInternal(IDN.java:296)
      at java.net.IDN.toASCII(IDN.java:122)
      at javax.net.ssl.SNIHostName.<init>(SNIHostName.java:99)
      at io.undertow.protocols.ssl.UndertowXnioSsl$StreamConnectionChannelListener.handleEvent(UndertowXnioSsl.java:434)
      .. 4 more
      2020-07-31 08:46:48,208 WARN [com.application.lifecycle.internal.action.RegisterAction] [RegistrationStateChangeNotification-pool-27-thread-1] Failed to register with business tier. Retrying in 10 seconds.
      com.Exception: RemoteException while accessing ServiceRemote on cluster
      at com.service.remoteservice.AbstractStatelessRemoteServiceProxy.handleRemoteException(AbstractStatelessRemoteServiceProxy.java:112)
      at com.service.remoteservice.AbstractStatelessRemoteServiceProxy.exec(AbstractStatelessRemoteServiceProxy.java:130)
      at com.application.lifecycle.internal.dataservice.ServiceImpl.register(ServiceImpl.java:38)
      at com.application.lifecycle.internal.model.BusinessTierClusterModelImpl.register(BusinessTierClusterModelImpl.java:94)
      at com.application.lifecycle.internal.action.RegisterAction.execute(RegisterAction.java:51)
      at com.af.app.action.DefaultActionManager.executeRequest(DefaultActionManager.java:176)
      at com.service.message.DelegatingMessageReceiver.delegate(DelegatingMessageReceiver.java:68)
      at com.service.message.DelegatingMessageReceiver.receive(DelegatingMessageReceiver.java:50)
      at com.af.app.message.DefaultMessageReceiver.execute(DefaultMessageReceiver.java:65)
      at com.af.app.action.DefaultActionManager.executeRequest(DefaultActionManager.java:176)
      at com.af.app.message.DefaultMessageReceiver.onMessage(DefaultMessageReceiver.java:154)
      at com.af.app.impl.LocalMessageSenderImpl$SenderRunnable.run(LocalMessageSenderImpl.java:189)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      Caused by: java.rmi.RemoteException: Error; nested exception is:
      java.io.IOException: java.lang.IllegalArgumentException: Contains non-LDH ASCII characters
      at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:219)
      at org.jboss.ejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:125)
      at com.sun.proxy.$Proxy12.register(Unknown Source)
      at com.application.lifecycle.internal.dataservice.ServiceImpl$1.exec(ServiceImpl.java:41)
      at com.application.lifecycle.internal.dataservice.ServiceImpl$1.exec(ServiceImpl.java:38)
      at com.service.remoteservice.AbstractStatelessRemoteServiceProxy.exec(AbstractStatelessRemoteServiceProxy.java:128)
      .. 13 more
      Caused by: java.io.IOException: java.lang.IllegalArgumentException: Contains non-LDH ASCII characters
      at io.undertow.protocols.ssl.UndertowXnioSsl$StreamConnectionChannelListener.handleEvent(UndertowXnioSsl.java:450)
      at io.undertow.protocols.ssl.UndertowXnioSsl$StreamConnectionChannelListener.handleEvent(UndertowXnioSsl.java:416)
      at org.xnio.ChannelListeners.invokeChannelListener(ChannelListeners.java:92)
      at org.xnio.nio.WorkerThread$ConnectHandle.handleReady(WorkerThread.java:333)
      at org.xnio.nio.WorkerThread.run(WorkerThread.java:591)
      Caused by: java.lang.IllegalArgumentException: Contains non-LDH ASCII characters
      at java.net.IDN.toASCIIInternal(IDN.java:296)
      at java.net.IDN.toASCII(IDN.java:122)
      at javax.net.ssl.SNIHostName.<init>(SNIHostName.java:99)
      at io.undertow.protocols.ssl.UndertowXnioSsl$StreamConnectionChannelListener.handleEvent(UndertowXnioSsl.java:434)
      .. 4 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  flavia.rainone Flavia Rainone
                  Reporter:
                  flavia.rainone Flavia Rainone
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: