typesafehub / conductr-cli

CLI for Lightbend ConductR
Other
16 stars 21 forks source link

Improved error reporting for OS X reverser dns lookup #496

Closed huntc closed 7 years ago

huntc commented 7 years ago

Less scary.

huntc commented 7 years ago

Sample output:

huntc$ sandbox run 2.1.0 --no-default-features
Error: 
    Unfortunately, because of a known Java 8 issue on macOS,
    hostname lookups on your machine will take more than 5 seconds.

    This will prevent ConductR from starting.

    Fortunately, there is an easy, quick fix. Just add 'ChristohersMBP2.lan' to your /etc/hosts file. e.g.:

        127.0.0.1   localhost ChristohersMBP2.lan
        ::1         localhost ChristohersMBP2.lan

    Note that you will need to use sudo to edit the /etc/hosts file.
    Use your favorite editor to do this e.g. 'sudo vi /etc/hosts'

    To learn more about the Java 8 issue: http://stackoverflow.com/questions/39636792/jvm-takes-a-long-time-to-resolve-ip-address-for-localhost

huntc$