The following code generates a java.net.MalformedURLException: AddressFromURIString("akka.tcp://Example@node_1:2552”)
Looking at the underlying implementation of AddressFromURIString, the exception derives from the use of java.net.URI to parse this string. Which in turn, correctly throws an exception according to RFC 2396 (because URI hosts may not contain underscore characters). However, it is currently perfectly permissible to create an instance of akka.actor.Address using a DNS hostname (which may contain underscores). So, at first blush, it would appear that we need something like AddressFromDNSString (or similar)? For myself, I’m hitting this problem whilst building Akka clusters using docker-compose with the scale command. In this use case, I have to expect the presence of underscores since Docker libnetworking defines Docker containers based on DNS names. Any help or advice here greatly appreciated. Many thanks, Carl. -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.